v1alpha1

package
v0.0.0-...-6c6f41e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2019 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "certificate-service.extensions.config.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
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

func Convert_config_ACME_To_v1alpha1_ACME(in *config.ACME, out *ACME, s conversion.Scope) error

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

func Convert_v1alpha1_ACME_To_config_ACME(in *ACME, out *config.ACME, s conversion.Scope) error

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 Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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

func (in *ACME) DeepCopy() *ACME

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACME.

func (*ACME) DeepCopyInto

func (in *ACME) DeepCopyInto(out *ACME)

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

func (c *CloudDNS) AccessKey() string

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

func (in *CloudDNS) DeepCopy() *CloudDNS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudDNS.

func (*CloudDNS) DeepCopyInto

func (in *CloudDNS) DeepCopyInto(out *CloudDNS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CloudDNS) DomainNames

func (c *CloudDNS) DomainNames() []string

DomainNames returns the domains this provider manages.

func (*CloudDNS) ProviderName

func (c *CloudDNS) ProviderName() string

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

func (r *Route53) AccessKey() string

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

func (in *Route53) DeepCopy() *Route53

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route53.

func (*Route53) DeepCopyInto

func (in *Route53) DeepCopyInto(out *Route53)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Route53) DomainNames

func (r *Route53) DomainNames() []string

DomainNames returns the domains this provider manages.

func (*Route53) ProviderName

func (r *Route53) ProviderName() string

ProviderName returns the route53 provider name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL