Просмотр исходного кода

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

Ahmet DEMIR 4 лет назад
Родитель
Сommit
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