Explorar o código

feat(cas): add generic Config parameter to allow more flexible configuration on CAS

Ahmet DEMIR %!s(int64=4) %!d(string=hai) anos
pai
achega
26d7b70957
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      cas/apiv1/options.go

+ 3 - 0
cas/apiv1/options.go

@@ -61,6 +61,9 @@ type Options struct {
 	CaPool     string `json:"-"`
 	CaPoolTier string `json:"-"`
 	GCSBucket  string `json:"-"`
+
+	// Generic structure to configure any CAS
+	Config map[string]interface{} `json:"config,omitempty"`
 }
 
 // CertificateIssuer contains the properties used to use the StepCAS certificate