1
0
mirror of https://github.com/rancher/types.git synced 2025-04-28 10:33:18 +00:00

Adds options to global DNS

This commit is contained in:
Caleb Bron 2020-11-20 16:56:42 -07:00
parent 1df760cc00
commit 7660e77e53

View File

@ -52,18 +52,20 @@ type GlobalDNSProviderSpec struct {
}
type Route53ProviderConfig struct {
AccessKey string `json:"accessKey" norman:"notnullable,required,minLength=1"`
SecretKey string `json:"secretKey" norman:"notnullable,required,minLength=1,type=password"`
CredentialsPath string `json:"credentialsPath" norman:"default=/.aws"`
RoleArn string `json:"roleArn,omitempty"`
Region string `json:"region" norman:"default=us-east-1"`
ZoneType string `json:"zoneType" norman:"default=public"`
AccessKey string `json:"accessKey" norman:"notnullable,required,minLength=1"`
SecretKey string `json:"secretKey" norman:"notnullable,required,minLength=1,type=password"`
CredentialsPath string `json:"credentialsPath" norman:"default=/.aws"`
RoleArn string `json:"roleArn,omitempty"`
Region string `json:"region" norman:"default=us-east-1"`
ZoneType string `json:"zoneType" norman:"default=public"`
AdditionalOptions map[string]string `json:"additionalOptions,omitempty"`
}
type CloudflareProviderConfig struct {
APIKey string `json:"apiKey" norman:"notnullable,required,minLength=1,type=password"`
APIEmail string `json:"apiEmail" norman:"notnullable,required,minLength=1"`
ProxySetting *bool `json:"proxySetting" norman:"default=true"`
APIKey string `json:"apiKey" norman:"notnullable,required,minLength=1,type=password"`
APIEmail string `json:"apiEmail" norman:"notnullable,required,minLength=1"`
ProxySetting *bool `json:"proxySetting" norman:"default=true"`
AdditionalOptions map[string]string `json:"additionalOptions,omitempty"`
}
type UpdateGlobalDNSTargetsInput struct {
@ -71,6 +73,7 @@ type UpdateGlobalDNSTargetsInput struct {
}
type AlidnsProviderConfig struct {
AccessKey string `json:"accessKey" norman:"notnullable,required,minLength=1"`
SecretKey string `json:"secretKey" norman:"notnullable,required,minLength=1,type=password"`
AccessKey string `json:"accessKey" norman:"notnullable,required,minLength=1"`
SecretKey string `json:"secretKey" norman:"notnullable,required,minLength=1,type=password"`
AdditionalOptions map[string]string `json:"additionalOptions,omitempty"`
}