Documentation ¶
Index ¶
- Constants
- Variables
- func Convert_config_ACME_To_v1alpha1_ACME(in *config.ACME, out *ACME, s conversion.Scope) error
- func Convert_config_CloudDNS_To_v1alpha1_CloudDNS(in *config.CloudDNS, out *CloudDNS, s conversion.Scope) error
- func Convert_config_ConfigurationSpec_To_v1alpha1_ConfigurationSpec(in *config.ConfigurationSpec, out *ConfigurationSpec, s conversion.Scope) error
- func Convert_config_Configuration_To_v1alpha1_Configuration(in *config.Configuration, out *Configuration, s conversion.Scope) error
- func Convert_config_DNSProviders_To_v1alpha1_DNSProviders(in *config.DNSProviders, out *DNSProviders, s conversion.Scope) error
- func Convert_config_Route53_To_v1alpha1_Route53(in *config.Route53, out *Route53, s conversion.Scope) error
- func Convert_v1alpha1_ACME_To_config_ACME(in *ACME, out *config.ACME, s conversion.Scope) error
- func Convert_v1alpha1_CloudDNS_To_config_CloudDNS(in *CloudDNS, out *config.CloudDNS, s conversion.Scope) error
- func Convert_v1alpha1_ConfigurationSpec_To_config_ConfigurationSpec(in *ConfigurationSpec, out *config.ConfigurationSpec, s conversion.Scope) error
- func Convert_v1alpha1_Configuration_To_config_Configuration(in *Configuration, out *config.Configuration, s conversion.Scope) error
- func Convert_v1alpha1_DNSProviders_To_config_DNSProviders(in *DNSProviders, out *config.DNSProviders, s conversion.Scope) error
- func Convert_v1alpha1_Route53_To_config_Route53(in *Route53, out *config.Route53, s conversion.Scope) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type ACME
- type CloudDNS
- type Configuration
- type ConfigurationSpec
- type DNSProvider
- type DNSProviderConfig
- type DNSProviders
- type Route53
Constants ¶
const GroupName = "certificate-service.extensions.config.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var (
// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_config_ACME_To_v1alpha1_ACME ¶
Convert_config_ACME_To_v1alpha1_ACME is an autogenerated conversion function.
func Convert_config_CloudDNS_To_v1alpha1_CloudDNS ¶
func Convert_config_CloudDNS_To_v1alpha1_CloudDNS(in *config.CloudDNS, out *CloudDNS, s conversion.Scope) error
Convert_config_CloudDNS_To_v1alpha1_CloudDNS is an autogenerated conversion function.
func Convert_config_ConfigurationSpec_To_v1alpha1_ConfigurationSpec ¶
func Convert_config_ConfigurationSpec_To_v1alpha1_ConfigurationSpec(in *config.ConfigurationSpec, out *ConfigurationSpec, s conversion.Scope) error
Convert_config_ConfigurationSpec_To_v1alpha1_ConfigurationSpec is an autogenerated conversion function.
func Convert_config_Configuration_To_v1alpha1_Configuration ¶
func Convert_config_Configuration_To_v1alpha1_Configuration(in *config.Configuration, out *Configuration, s conversion.Scope) error
Convert_config_Configuration_To_v1alpha1_Configuration is an autogenerated conversion function.
func Convert_config_DNSProviders_To_v1alpha1_DNSProviders ¶
func Convert_config_DNSProviders_To_v1alpha1_DNSProviders(in *config.DNSProviders, out *DNSProviders, s conversion.Scope) error
Convert_config_DNSProviders_To_v1alpha1_DNSProviders is an autogenerated conversion function.
func Convert_config_Route53_To_v1alpha1_Route53 ¶
func Convert_config_Route53_To_v1alpha1_Route53(in *config.Route53, out *Route53, s conversion.Scope) error
Convert_config_Route53_To_v1alpha1_Route53 is an autogenerated conversion function.
func Convert_v1alpha1_ACME_To_config_ACME ¶
Convert_v1alpha1_ACME_To_config_ACME is an autogenerated conversion function.
func Convert_v1alpha1_CloudDNS_To_config_CloudDNS ¶
func Convert_v1alpha1_CloudDNS_To_config_CloudDNS(in *CloudDNS, out *config.CloudDNS, s conversion.Scope) error
Convert_v1alpha1_CloudDNS_To_config_CloudDNS is an autogenerated conversion function.
func Convert_v1alpha1_ConfigurationSpec_To_config_ConfigurationSpec ¶
func Convert_v1alpha1_ConfigurationSpec_To_config_ConfigurationSpec(in *ConfigurationSpec, out *config.ConfigurationSpec, s conversion.Scope) error
Convert_v1alpha1_ConfigurationSpec_To_config_ConfigurationSpec is an autogenerated conversion function.
func Convert_v1alpha1_Configuration_To_config_Configuration ¶
func Convert_v1alpha1_Configuration_To_config_Configuration(in *Configuration, out *config.Configuration, s conversion.Scope) error
Convert_v1alpha1_Configuration_To_config_Configuration is an autogenerated conversion function.
func Convert_v1alpha1_DNSProviders_To_config_DNSProviders ¶
func Convert_v1alpha1_DNSProviders_To_config_DNSProviders(in *DNSProviders, out *config.DNSProviders, s conversion.Scope) error
Convert_v1alpha1_DNSProviders_To_config_DNSProviders is an autogenerated conversion function.
func Convert_v1alpha1_Route53_To_config_Route53 ¶
func Convert_v1alpha1_Route53_To_config_Route53(in *Route53, out *config.Route53, s conversion.Scope) error
Convert_v1alpha1_Route53_To_config_Route53 is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ACME ¶
type ACME struct { Email string `json:"email"` Server string `json:"server"` // +optional PrivateKey *string `json:"privateKey,omitempty"` }
ACME holds information about the ACME issuer used for the certificate service.
func (*ACME) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACME.
func (*ACME) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudDNS ¶
type CloudDNS struct { Domains []string `json:"domains"` Name string `json:"name"` Project string `json:"project"` ServiceAccount string `json:"serviceAccount"` }
CloudDNS is a DNS provider used for ACME DNS01 challenges.
func (*CloudDNS) AccessKey ¶
AccessKey returns the CloudDNS ServiceAccount in case Google CloudDNS provider is used.
func (*CloudDNS) DNSProvider ¶
func (c *CloudDNS) DNSProvider() DNSProvider
DNSProvider returns the provider type in-use.
func (*CloudDNS) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudDNS.
func (*CloudDNS) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudDNS) DomainNames ¶
DomainNames returns the domains this provider manages.
func (*CloudDNS) ProviderName ¶
ProviderName returns the CloudDNS provider name.
type Configuration ¶
type Configuration struct { metav1.TypeMeta `json:",inline"` Spec ConfigurationSpec `json:"spec"` }
Configuration contains information about the certificate service configuration.
func (*Configuration) DeepCopy ¶
func (in *Configuration) DeepCopy() *Configuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (*Configuration) DeepCopyInto ¶
func (in *Configuration) DeepCopyInto(out *Configuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Configuration) DeepCopyObject ¶
func (in *Configuration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigurationSpec ¶
type ConfigurationSpec struct { LifecycleSync metav1.Duration `json:"lifecycleSync"` ServiceSync metav1.Duration `json:"serviceSync"` IssuerName string `json:"issuerName"` NamespaceRef string `json:"namespaceRef"` ResourceNamespace string `json:"resourceNamespace"` ACME ACME `json:"acme"` Providers DNSProviders `json:"providers"` }
ConfigurationSpec contains information about the certificate service configuration.
func (*ConfigurationSpec) DeepCopy ¶
func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpec.
func (*ConfigurationSpec) DeepCopyInto ¶
func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSProvider ¶
type DNSProvider string
DNSProvider string type
const ( // Route53Provider is a constant string for aws-route53. Route53Provider DNSProvider = "aws-route53" // CloudDNSProvider is a constant string for google-clouddns. CloudDNSProvider DNSProvider = "google-clouddns" )
type DNSProviderConfig ¶
type DNSProviderConfig interface { DNSProvider() DNSProvider AccessKey() string ProviderName() string DomainNames() []string }
DNSProviderConfig is an interface that will implemented by cloud provider structs
type DNSProviders ¶
type DNSProviders struct { Route53 []Route53 `json:"route53,omitempty"` CloudDNS []CloudDNS `json:"cloudDNS,omitempty"` }
DNSProviders hold information about information about DNS providers used for ACME DNS01 challenges.
func (*DNSProviders) DeepCopy ¶
func (in *DNSProviders) DeepCopy() *DNSProviders
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSProviders.
func (*DNSProviders) DeepCopyInto ¶
func (in *DNSProviders) DeepCopyInto(out *DNSProviders)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Route53 ¶
type Route53 struct { Domains []string `json:"domains"` Name string `json:"name"` Region string `json:"region"` AccessKeyID string `json:"accessKeyID"` SecretAccessKey string `json:"secretAccessKey"` }
Route53 is a DNS provider used for ACME DNS01 challenges.
func (*Route53) AccessKey ¶
AccessKey returns the route53 SecretAccessKey in case route53 provider is used.
func (*Route53) DNSProvider ¶
func (r *Route53) DNSProvider() DNSProvider
DNSProvider returns the provider type in-use.
func (*Route53) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route53.
func (*Route53) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Route53) DomainNames ¶
DomainNames returns the domains this provider manages.
func (*Route53) ProviderName ¶
ProviderName returns the route53 provider name.