4
0
Эх сурвалжийг харах

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

Ahmet DEMIR 4 жил өмнө
parent
commit
26d7b70957
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  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