Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=certmanager.k8s.io
Index ¶
- Constants
- Variables
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type ACMECertificateConfig
- type ACMEIssuer
- type ACMEIssuerDNS01Config
- type ACMEIssuerDNS01Provider
- type ACMEIssuerDNS01ProviderAcmeDNS
- type ACMEIssuerDNS01ProviderAkamai
- type ACMEIssuerDNS01ProviderAzureDNS
- type ACMEIssuerDNS01ProviderCloudDNS
- type ACMEIssuerDNS01ProviderCloudflare
- type ACMEIssuerDNS01ProviderRFC2136
- type ACMEIssuerDNS01ProviderRoute53
- type ACMEIssuerHTTP01Config
- type ACMEIssuerStatus
- type ACMEOrderChallenge
- type ACMEOrderStatus
- type CAIssuer
- type Certificate
- func (in *Certificate) DeepCopy() *Certificate
- func (in *Certificate) DeepCopyInto(out *Certificate)
- func (in *Certificate) DeepCopyObject() runtime.Object
- func (crt *Certificate) HasCondition(condition CertificateCondition) bool
- func (crt *Certificate) UpdateStatusCondition(conditionType CertificateConditionType, status ConditionStatus, ...)
- type CertificateACMEStatus
- type CertificateCondition
- type CertificateConditionType
- type CertificateList
- type CertificateSpec
- type CertificateStatus
- type ClusterIssuer
- func (c *ClusterIssuer) Copy() GenericIssuer
- func (in *ClusterIssuer) DeepCopy() *ClusterIssuer
- func (in *ClusterIssuer) DeepCopyInto(out *ClusterIssuer)
- func (in *ClusterIssuer) DeepCopyObject() runtime.Object
- func (c *ClusterIssuer) GetObjectMeta() *metav1.ObjectMeta
- func (c *ClusterIssuer) GetSpec() *IssuerSpec
- func (c *ClusterIssuer) GetStatus() *IssuerStatus
- func (iss *ClusterIssuer) HasCondition(condition IssuerCondition) bool
- func (c *ClusterIssuer) SetSpec(spec IssuerSpec)
- func (c *ClusterIssuer) SetStatus(status IssuerStatus)
- func (iss *ClusterIssuer) UpdateStatusCondition(conditionType IssuerConditionType, status ConditionStatus, ...)
- type ClusterIssuerList
- type ConditionStatus
- type DNS01SolverConfig
- type DomainSolverConfig
- type GenericIssuer
- type HTTP01SolverConfig
- type Issuer
- func (c *Issuer) Copy() GenericIssuer
- func (in *Issuer) DeepCopy() *Issuer
- func (in *Issuer) DeepCopyInto(out *Issuer)
- func (in *Issuer) DeepCopyObject() runtime.Object
- func (c *Issuer) GetObjectMeta() *metav1.ObjectMeta
- func (c *Issuer) GetSpec() *IssuerSpec
- func (c *Issuer) GetStatus() *IssuerStatus
- func (iss *Issuer) HasCondition(condition IssuerCondition) bool
- func (c *Issuer) SetSpec(spec IssuerSpec)
- func (c *Issuer) SetStatus(status IssuerStatus)
- func (iss *Issuer) UpdateStatusCondition(conditionType IssuerConditionType, status ConditionStatus, ...)
- type IssuerCondition
- type IssuerConditionType
- type IssuerConfig
- type IssuerList
- type IssuerSpec
- type IssuerStatus
- type KeyAlgorithm
- type LocalObjectReference
- type ObjectReference
- type SecretKeySelector
- type SelfSignedIssuer
- type SolverConfig
- type VaultAppRole
- type VaultAuth
- type VaultIssuer
Constants ¶
const ( AltNamesAnnotationKey = "certmanager.k8s.io/alt-names" CommonNameAnnotationKey = "certmanager.k8s.io/common-name" IssuerNameAnnotationKey = "certmanager.k8s.io/issuer-name" IssuerKindAnnotationKey = "certmanager.k8s.io/issuer-kind" CertificateNameKey = "certmanager.k8s.io/certificate-name" )
const ( ClusterIssuerKind = "ClusterIssuer" IssuerKind = "Issuer" )
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: certmanager.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ACMECertificateConfig ¶
type ACMECertificateConfig struct {
Config []DomainSolverConfig `json:"config"`
}
ACMECertificateConfig contains the configuration for the ACME certificate provider
func (*ACMECertificateConfig) DeepCopy ¶
func (in *ACMECertificateConfig) DeepCopy() *ACMECertificateConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMECertificateConfig.
func (*ACMECertificateConfig) DeepCopyInto ¶
func (in *ACMECertificateConfig) DeepCopyInto(out *ACMECertificateConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuer ¶
type ACMEIssuer struct { // Email is the email for this account Email string `json:"email"` // Server is the ACME server URL Server string `json:"server"` // If true, skip verifying the ACME server TLS certificate SkipTLSVerify bool `json:"skipTLSVerify,omitempty"` // PrivateKey is the name of a secret containing the private key for this // user account. PrivateKey SecretKeySelector `json:"privateKeySecretRef"` // HTTP01 config HTTP01 *ACMEIssuerHTTP01Config `json:"http01,omitempty"` // DNS-01 config DNS01 *ACMEIssuerDNS01Config `json:"dns01,omitempty"` }
ACMEIssuer contains the specification for an ACME issuer
func (*ACMEIssuer) DeepCopy ¶
func (in *ACMEIssuer) DeepCopy() *ACMEIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuer.
func (*ACMEIssuer) DeepCopyInto ¶
func (in *ACMEIssuer) DeepCopyInto(out *ACMEIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01Config ¶
type ACMEIssuerDNS01Config struct {
Providers []ACMEIssuerDNS01Provider `json:"providers"`
}
ACMEIssuerDNS01Config is a structure containing the ACME DNS configuration options
func (*ACMEIssuerDNS01Config) DeepCopy ¶
func (in *ACMEIssuerDNS01Config) DeepCopy() *ACMEIssuerDNS01Config
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01Config.
func (*ACMEIssuerDNS01Config) DeepCopyInto ¶
func (in *ACMEIssuerDNS01Config) DeepCopyInto(out *ACMEIssuerDNS01Config)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ACMEIssuerDNS01Config) Provider ¶
func (a *ACMEIssuerDNS01Config) Provider(name string) (*ACMEIssuerDNS01Provider, error)
type ACMEIssuerDNS01Provider ¶
type ACMEIssuerDNS01Provider struct { Name string `json:"name"` Akamai *ACMEIssuerDNS01ProviderAkamai `json:"akamai,omitempty"` CloudDNS *ACMEIssuerDNS01ProviderCloudDNS `json:"clouddns,omitempty"` Cloudflare *ACMEIssuerDNS01ProviderCloudflare `json:"cloudflare,omitempty"` Route53 *ACMEIssuerDNS01ProviderRoute53 `json:"route53,omitempty"` AzureDNS *ACMEIssuerDNS01ProviderAzureDNS `json:"azuredns,omitempty"` AcmeDNS *ACMEIssuerDNS01ProviderAcmeDNS `json:"acmedns,omitempty"` RFC2136 *ACMEIssuerDNS01ProviderRFC2136 `json:"rfc2136,omitempty"` }
func (*ACMEIssuerDNS01Provider) DeepCopy ¶
func (in *ACMEIssuerDNS01Provider) DeepCopy() *ACMEIssuerDNS01Provider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01Provider.
func (*ACMEIssuerDNS01Provider) DeepCopyInto ¶
func (in *ACMEIssuerDNS01Provider) DeepCopyInto(out *ACMEIssuerDNS01Provider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderAcmeDNS ¶
type ACMEIssuerDNS01ProviderAcmeDNS struct { Host string `json:"host"` AccountSecret SecretKeySelector `json:"accountSecretRef"` }
ACMEIssuerDNS01ProviderAcmeDNS is a structure containing the configuration for ACME-DNS servers
func (*ACMEIssuerDNS01ProviderAcmeDNS) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderAcmeDNS) DeepCopy() *ACMEIssuerDNS01ProviderAcmeDNS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderAcmeDNS.
func (*ACMEIssuerDNS01ProviderAcmeDNS) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderAcmeDNS) DeepCopyInto(out *ACMEIssuerDNS01ProviderAcmeDNS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderAkamai ¶
type ACMEIssuerDNS01ProviderAkamai struct { ServiceConsumerDomain string `json:"serviceConsumerDomain"` ClientToken SecretKeySelector `json:"clientTokenSecretRef"` ClientSecret SecretKeySelector `json:"clientSecretSecretRef"` AccessToken SecretKeySelector `json:"accessTokenSecretRef"` }
ACMEIssuerDNS01ProviderAkamai is a structure containing the DNS configuration for Akamai DNS—Zone Record Management API
func (*ACMEIssuerDNS01ProviderAkamai) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderAkamai) DeepCopy() *ACMEIssuerDNS01ProviderAkamai
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderAkamai.
func (*ACMEIssuerDNS01ProviderAkamai) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderAkamai) DeepCopyInto(out *ACMEIssuerDNS01ProviderAkamai)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderAzureDNS ¶
type ACMEIssuerDNS01ProviderAzureDNS struct { ClientID string `json:"clientID"` ClientSecret SecretKeySelector `json:"clientSecretSecretRef"` SubscriptionID string `json:"subscriptionID"` TenantID string `json:"tenantID"` ResourceGroupName string `json:"resourceGroupName"` // + optional HostedZoneName string `json:"hostedZoneName"` }
ACMEIssuerDNS01ProviderAzureDNS is a structure containing the configuration for Azure DNS
func (*ACMEIssuerDNS01ProviderAzureDNS) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderAzureDNS) DeepCopy() *ACMEIssuerDNS01ProviderAzureDNS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderAzureDNS.
func (*ACMEIssuerDNS01ProviderAzureDNS) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderAzureDNS) DeepCopyInto(out *ACMEIssuerDNS01ProviderAzureDNS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderCloudDNS ¶
type ACMEIssuerDNS01ProviderCloudDNS struct { ServiceAccount SecretKeySelector `json:"serviceAccountSecretRef"` Project string `json:"project"` }
ACMEIssuerDNS01ProviderCloudDNS is a structure containing the DNS configuration for Google Cloud DNS
func (*ACMEIssuerDNS01ProviderCloudDNS) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderCloudDNS) DeepCopy() *ACMEIssuerDNS01ProviderCloudDNS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderCloudDNS.
func (*ACMEIssuerDNS01ProviderCloudDNS) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderCloudDNS) DeepCopyInto(out *ACMEIssuerDNS01ProviderCloudDNS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderCloudflare ¶
type ACMEIssuerDNS01ProviderCloudflare struct { Email string `json:"email"` APIKey SecretKeySelector `json:"apiKeySecretRef"` }
ACMEIssuerDNS01ProviderCloudflare is a structure containing the DNS configuration for Cloudflare
func (*ACMEIssuerDNS01ProviderCloudflare) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderCloudflare) DeepCopy() *ACMEIssuerDNS01ProviderCloudflare
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderCloudflare.
func (*ACMEIssuerDNS01ProviderCloudflare) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderCloudflare) DeepCopyInto(out *ACMEIssuerDNS01ProviderCloudflare)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderRFC2136 ¶
type ACMEIssuerDNS01ProviderRFC2136 struct { // The IP address of the DNS supporting RFC2136. Required. // Note: FQDN is not a valid value, only IP. Nameserver string `json:"nameserver"` // The name of the secret containing the TSIG value. // If “tsigKeyName“ is defined, this field is required. // +optional TSIGSecret SecretKeySelector `json:"tsigSecretSecretRef"` // The TSIG Key name configured in the DNS. // If “tsigSecretSecretRef“ is defined, this field is required. // +optional TSIGKeyName string `json:"tsigKeyName"` // The TSIG Algorithm configured in the DNS supporting RFC2136. Used only // when “tsigSecretSecretRef“ and “tsigKeyName“ are defined. // Supported values are (case-insensitive): “HMACMD5“ (default), // “HMACSHA1“, “HMACSHA256“ or “HMACSHA512“. // +optional TSIGAlgorithm string `json:"tsigAlgorithm"` }
ACMEIssuerDNS01ProviderRFC2136 is a structure containing the configuration for RFC2136 DNS
func (*ACMEIssuerDNS01ProviderRFC2136) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderRFC2136) DeepCopy() *ACMEIssuerDNS01ProviderRFC2136
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderRFC2136.
func (*ACMEIssuerDNS01ProviderRFC2136) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderRFC2136) DeepCopyInto(out *ACMEIssuerDNS01ProviderRFC2136)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderRoute53 ¶
type ACMEIssuerDNS01ProviderRoute53 struct { AccessKeyID string `json:"accessKeyID"` SecretAccessKey SecretKeySelector `json:"secretAccessKeySecretRef"` HostedZoneID string `json:"hostedZoneID"` Region string `json:"region"` }
ACMEIssuerDNS01ProviderRoute53 is a structure containing the Route 53 configuration for AWS
func (*ACMEIssuerDNS01ProviderRoute53) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderRoute53) DeepCopy() *ACMEIssuerDNS01ProviderRoute53
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderRoute53.
func (*ACMEIssuerDNS01ProviderRoute53) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderRoute53) DeepCopyInto(out *ACMEIssuerDNS01ProviderRoute53)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerHTTP01Config ¶
type ACMEIssuerHTTP01Config struct { }
func (*ACMEIssuerHTTP01Config) DeepCopy ¶
func (in *ACMEIssuerHTTP01Config) DeepCopy() *ACMEIssuerHTTP01Config
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerHTTP01Config.
func (*ACMEIssuerHTTP01Config) DeepCopyInto ¶
func (in *ACMEIssuerHTTP01Config) DeepCopyInto(out *ACMEIssuerHTTP01Config)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerStatus ¶
type ACMEIssuerStatus struct { // URI is the unique account identifier, which can also be used to retrieve // account details from the CA URI string `json:"uri"` }
func (*ACMEIssuerStatus) DeepCopy ¶
func (in *ACMEIssuerStatus) DeepCopy() *ACMEIssuerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerStatus.
func (*ACMEIssuerStatus) DeepCopyInto ¶
func (in *ACMEIssuerStatus) DeepCopyInto(out *ACMEIssuerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEOrderChallenge ¶ added in v0.3.0
type ACMEOrderChallenge struct { // The URL that can be used to get information about the ACME challenge. URL string `json:"url"` // The URL that can be used to get information about the ACME authorization // associated with the challenge. AuthzURL string `json:"authzURL"` // Type of ACME challenge // Either http-01 or dns-01 Type string `json:"type"` // Domain this challenge corresponds to Domain string `json:"domain"` // Challenge token for this challenge Token string `json:"token"` // Challenge key for this challenge Key string `json:"key"` // Set to true if this challenge is for a wildcard domain Wildcard bool `json:"wildcard"` // Configuration used to present this challenge SolverConfig `json:",inline"` }
func (*ACMEOrderChallenge) DeepCopy ¶ added in v0.3.0
func (in *ACMEOrderChallenge) DeepCopy() *ACMEOrderChallenge
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEOrderChallenge.
func (*ACMEOrderChallenge) DeepCopyInto ¶ added in v0.3.0
func (in *ACMEOrderChallenge) DeepCopyInto(out *ACMEOrderChallenge)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEOrderStatus ¶ added in v0.3.0
type ACMEOrderStatus struct { // The URL that can be used to get information about the ACME order. URL string `json:"url"` Challenges []ACMEOrderChallenge `json:"challenges,omitempty"` }
func (*ACMEOrderStatus) DeepCopy ¶ added in v0.3.0
func (in *ACMEOrderStatus) DeepCopy() *ACMEOrderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEOrderStatus.
func (*ACMEOrderStatus) DeepCopyInto ¶ added in v0.3.0
func (in *ACMEOrderStatus) DeepCopyInto(out *ACMEOrderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAIssuer ¶
type CAIssuer struct { // SecretName is the name of the secret used to sign Certificates issued // by this Issuer. SecretName string `json:"secretName"` }
func (*CAIssuer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAIssuer.
func (*CAIssuer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Certificate ¶
type Certificate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CertificateSpec `json:"spec,omitempty"` Status CertificateStatus `json:"status,omitempty"` }
+kubebuilder:resource:path=certificates Certificate is a type to represent a Certificate from ACME
func (*Certificate) DeepCopy ¶
func (in *Certificate) DeepCopy() *Certificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate.
func (*Certificate) DeepCopyInto ¶
func (in *Certificate) DeepCopyInto(out *Certificate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Certificate) DeepCopyObject ¶
func (in *Certificate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Certificate) HasCondition ¶
func (crt *Certificate) HasCondition(condition CertificateCondition) bool
func (*Certificate) UpdateStatusCondition ¶
func (crt *Certificate) UpdateStatusCondition(conditionType CertificateConditionType, status ConditionStatus, reason, message string, forceTime bool)
type CertificateACMEStatus ¶ added in v0.1.0
type CertificateACMEStatus struct { // Order contains details about the current in-progress ACME Order. Order ACMEOrderStatus `json:"order,omitempty"` }
CertificateACMEStatus holds the status for an ACME issuer
func (*CertificateACMEStatus) DeepCopy ¶ added in v0.1.0
func (in *CertificateACMEStatus) DeepCopy() *CertificateACMEStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateACMEStatus.
func (*CertificateACMEStatus) DeepCopyInto ¶ added in v0.1.0
func (in *CertificateACMEStatus) DeepCopyInto(out *CertificateACMEStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateCondition ¶
type CertificateCondition struct { // Type of the condition, currently ('Ready'). Type CertificateConditionType `json:"type"` // Status of the condition, one of ('True', 'False', 'Unknown'). Status ConditionStatus `json:"status"` // LastTransitionTime is the timestamp corresponding to the last status // change of this condition. LastTransitionTime metav1.Time `json:"lastTransitionTime"` // Reason is a brief machine readable explanation for the condition's last // transition. Reason string `json:"reason"` // Message is a human readable description of the details of the last // transition, complementing reason. Message string `json:"message"` }
CertificateCondition contains condition information for an Certificate.
func (*CertificateCondition) DeepCopy ¶
func (in *CertificateCondition) DeepCopy() *CertificateCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateCondition.
func (*CertificateCondition) DeepCopyInto ¶
func (in *CertificateCondition) DeepCopyInto(out *CertificateCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateConditionType ¶
type CertificateConditionType string
CertificateConditionType represents an Certificate condition value.
const ( // CertificateConditionReady represents the fact that a given Certificate condition // is in ready state. CertificateConditionReady CertificateConditionType = "Ready" // CertificateConditionValidationFailed is used to indicate whether a // validation for a Certificate has failed. // This is currently used by the ACME issuer to track when the last // validation was attempted. CertificateConditionValidationFailed CertificateConditionType = "ValidateFailed" )
type CertificateList ¶
type CertificateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Certificate `json:"items"` }
CertificateList is a list of Certificates
func (*CertificateList) DeepCopy ¶
func (in *CertificateList) DeepCopy() *CertificateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateList.
func (*CertificateList) DeepCopyInto ¶
func (in *CertificateList) DeepCopyInto(out *CertificateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertificateList) DeepCopyObject ¶
func (in *CertificateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CertificateSpec ¶
type CertificateSpec struct { // CommonName is a common name to be used on the Certificate CommonName string `json:"commonName,omitempty"` // Organization is the organization to be used on the Certificate Organization []string `json:"organization,omitempty"` // DNSNames is a list of subject alt names to be used on the Certificate DNSNames []string `json:"dnsNames,omitempty"` // SecretName is the name of the secret resource to store this secret in SecretName string `json:"secretName"` // IssuerRef is a reference to the issuer for this certificate. // If the 'kind' field is not set, or set to 'Issuer', an Issuer resource // with the given name in the same namespace as the Certificate will be used. // If the 'kind' field is set to 'ClusterIssuer', a ClusterIssuer with the // provided name will be used. // The 'name' field in this stanza is required at all times. IssuerRef ObjectReference `json:"issuerRef"` // IsCA will mark this Certificate as valid for signing. // This implies that the 'signing' usage is set IsCA bool `json:"isCA,omitempty"` // ACME contains configuration specific to ACME Certificates. // Notably, this contains details on how the domain names listed on this // Certificate resource should be 'solved', i.e. mapping HTTP01 and DNS01 // providers to DNS names. ACME *ACMECertificateConfig `json:"acme,omitempty"` // KeySize is the key bit size of the corresponding private key for this certificate. // If provided, value must be between 2048 and 8192 inclusive when KeyAlgorithm is // empty or is set to "rsa", and value must be one of (256, 384, 521) when // KeyAlgorithm is set to "ecdsa". KeySize int `json:"keySize,omitempty"` // KeyAlgorithm is the private key algorithm of the corresponding private key // for this certificate. If provided, allowed values are either "rsa" or "ecdsa" // If KeyAlgorithm is specified and KeySize is not provided, // key size of 256 will be used for "ecdsa" key algorithm and // key size of 2048 will be used for "rsa" key algorithm. KeyAlgorithm KeyAlgorithm `json:"keyAlgorithm,omitempty"` }
CertificateSpec defines the desired state of Certificate
func (*CertificateSpec) DeepCopy ¶
func (in *CertificateSpec) DeepCopy() *CertificateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSpec.
func (*CertificateSpec) DeepCopyInto ¶
func (in *CertificateSpec) DeepCopyInto(out *CertificateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateStatus ¶
type CertificateStatus struct { Conditions []CertificateCondition `json:"conditions,omitempty"` ACME *CertificateACMEStatus `json:"acme,omitempty"` }
CertificateStatus defines the observed state of Certificate
func (*CertificateStatus) ACMEStatus ¶ added in v0.1.0
func (c *CertificateStatus) ACMEStatus() *CertificateACMEStatus
func (*CertificateStatus) DeepCopy ¶
func (in *CertificateStatus) DeepCopy() *CertificateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateStatus.
func (*CertificateStatus) DeepCopyInto ¶
func (in *CertificateStatus) DeepCopyInto(out *CertificateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterIssuer ¶
type ClusterIssuer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IssuerSpec `json:"spec,omitempty"` Status IssuerStatus `json:"status,omitempty"` }
+kubebuilder:resource:path=clusterissuers
func (*ClusterIssuer) Copy ¶
func (c *ClusterIssuer) Copy() GenericIssuer
func (*ClusterIssuer) DeepCopy ¶
func (in *ClusterIssuer) DeepCopy() *ClusterIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterIssuer.
func (*ClusterIssuer) DeepCopyInto ¶
func (in *ClusterIssuer) DeepCopyInto(out *ClusterIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterIssuer) DeepCopyObject ¶
func (in *ClusterIssuer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterIssuer) GetObjectMeta ¶
func (c *ClusterIssuer) GetObjectMeta() *metav1.ObjectMeta
func (*ClusterIssuer) GetSpec ¶
func (c *ClusterIssuer) GetSpec() *IssuerSpec
func (*ClusterIssuer) GetStatus ¶
func (c *ClusterIssuer) GetStatus() *IssuerStatus
func (*ClusterIssuer) HasCondition ¶
func (iss *ClusterIssuer) HasCondition(condition IssuerCondition) bool
func (*ClusterIssuer) SetSpec ¶
func (c *ClusterIssuer) SetSpec(spec IssuerSpec)
func (*ClusterIssuer) SetStatus ¶
func (c *ClusterIssuer) SetStatus(status IssuerStatus)
func (*ClusterIssuer) UpdateStatusCondition ¶
func (iss *ClusterIssuer) UpdateStatusCondition(conditionType IssuerConditionType, status ConditionStatus, reason, message string)
type ClusterIssuerList ¶
type ClusterIssuerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ClusterIssuer `json:"items"` }
ClusterIssuerList is a list of Issuers
func (*ClusterIssuerList) DeepCopy ¶
func (in *ClusterIssuerList) DeepCopy() *ClusterIssuerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterIssuerList.
func (*ClusterIssuerList) DeepCopyInto ¶
func (in *ClusterIssuerList) DeepCopyInto(out *ClusterIssuerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterIssuerList) DeepCopyObject ¶
func (in *ClusterIssuerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConditionStatus ¶
type ConditionStatus string
ConditionStatus represents a condition's status.
const ( // ConditionTrue represents the fact that a given condition is true ConditionTrue ConditionStatus = "True" // ConditionFalse represents the fact that a given condition is false ConditionFalse ConditionStatus = "False" // ConditionUnknown represents the fact that a given condition is unknown ConditionUnknown ConditionStatus = "Unknown" )
These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.
type DNS01SolverConfig ¶
type DNS01SolverConfig struct {
Provider string `json:"provider"`
}
func (*DNS01SolverConfig) DeepCopy ¶
func (in *DNS01SolverConfig) DeepCopy() *DNS01SolverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNS01SolverConfig.
func (*DNS01SolverConfig) DeepCopyInto ¶
func (in *DNS01SolverConfig) DeepCopyInto(out *DNS01SolverConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DomainSolverConfig ¶
type DomainSolverConfig struct { Domains []string `json:"domains"` SolverConfig `json:",inline"` }
func ConfigForDomain ¶
func ConfigForDomain(cfgs []DomainSolverConfig, domain string) *DomainSolverConfig
func (*DomainSolverConfig) DeepCopy ¶
func (in *DomainSolverConfig) DeepCopy() *DomainSolverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSolverConfig.
func (*DomainSolverConfig) DeepCopyInto ¶
func (in *DomainSolverConfig) DeepCopyInto(out *DomainSolverConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericIssuer ¶
type GenericIssuer interface { runtime.Object GetObjectMeta() *metav1.ObjectMeta GetSpec() *IssuerSpec GetStatus() *IssuerStatus UpdateStatusCondition(conditionType IssuerConditionType, status ConditionStatus, reason, message string) HasCondition(condition IssuerCondition) bool Copy() GenericIssuer }
type HTTP01SolverConfig ¶
type HTTP01SolverConfig struct { Ingress string `json:"ingress"` IngressClass *string `json:"ingressClass,omitempty"` }
func (*HTTP01SolverConfig) DeepCopy ¶
func (in *HTTP01SolverConfig) DeepCopy() *HTTP01SolverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTP01SolverConfig.
func (*HTTP01SolverConfig) DeepCopyInto ¶
func (in *HTTP01SolverConfig) DeepCopyInto(out *HTTP01SolverConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Issuer ¶
type Issuer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IssuerSpec `json:"spec,omitempty"` Status IssuerStatus `json:"status,omitempty"` }
+kubebuilder:resource:path=issuers
func (*Issuer) Copy ¶
func (c *Issuer) Copy() GenericIssuer
func (*Issuer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Issuer.
func (*Issuer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Issuer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Issuer) GetObjectMeta ¶
func (c *Issuer) GetObjectMeta() *metav1.ObjectMeta
func (*Issuer) GetSpec ¶
func (c *Issuer) GetSpec() *IssuerSpec
func (*Issuer) GetStatus ¶
func (c *Issuer) GetStatus() *IssuerStatus
func (*Issuer) HasCondition ¶
func (iss *Issuer) HasCondition(condition IssuerCondition) bool
func (*Issuer) SetSpec ¶
func (c *Issuer) SetSpec(spec IssuerSpec)
func (*Issuer) SetStatus ¶
func (c *Issuer) SetStatus(status IssuerStatus)
func (*Issuer) UpdateStatusCondition ¶
func (iss *Issuer) UpdateStatusCondition(conditionType IssuerConditionType, status ConditionStatus, reason, message string)
type IssuerCondition ¶
type IssuerCondition struct { // Type of the condition, currently ('Ready'). Type IssuerConditionType `json:"type"` // Status of the condition, one of ('True', 'False', 'Unknown'). Status ConditionStatus `json:"status"` // LastTransitionTime is the timestamp corresponding to the last status // change of this condition. LastTransitionTime metav1.Time `json:"lastTransitionTime"` // Reason is a brief machine readable explanation for the condition's last // transition. Reason string `json:"reason"` // Message is a human readable description of the details of the last // transition, complementing reason. Message string `json:"message"` }
IssuerCondition contains condition information for an Issuer.
func (*IssuerCondition) DeepCopy ¶
func (in *IssuerCondition) DeepCopy() *IssuerCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssuerCondition.
func (*IssuerCondition) DeepCopyInto ¶
func (in *IssuerCondition) DeepCopyInto(out *IssuerCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IssuerConditionType ¶
type IssuerConditionType string
IssuerConditionType represents an Issuer condition value.
const ( // IssuerConditionReady represents the fact that a given Issuer condition // is in ready state. IssuerConditionReady IssuerConditionType = "Ready" )
type IssuerConfig ¶
type IssuerConfig struct { ACME *ACMEIssuer `json:"acme,omitempty"` CA *CAIssuer `json:"ca,omitempty"` Vault *VaultIssuer `json:"vault,omitempty"` SelfSigned *SelfSignedIssuer `json:"selfSigned,omitempty"` }
func (*IssuerConfig) DeepCopy ¶
func (in *IssuerConfig) DeepCopy() *IssuerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssuerConfig.
func (*IssuerConfig) DeepCopyInto ¶
func (in *IssuerConfig) DeepCopyInto(out *IssuerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IssuerList ¶
type IssuerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Issuer `json:"items"` }
IssuerList is a list of Issuers
func (*IssuerList) DeepCopy ¶
func (in *IssuerList) DeepCopy() *IssuerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssuerList.
func (*IssuerList) DeepCopyInto ¶
func (in *IssuerList) DeepCopyInto(out *IssuerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IssuerList) DeepCopyObject ¶
func (in *IssuerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IssuerSpec ¶
type IssuerSpec struct {
IssuerConfig `json:",inline"`
}
IssuerSpec is the specification of an Issuer. This includes any configuration required for the issuer.
func (*IssuerSpec) DeepCopy ¶
func (in *IssuerSpec) DeepCopy() *IssuerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssuerSpec.
func (*IssuerSpec) DeepCopyInto ¶
func (in *IssuerSpec) DeepCopyInto(out *IssuerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IssuerStatus ¶
type IssuerStatus struct { Conditions []IssuerCondition `json:"conditions"` ACME *ACMEIssuerStatus `json:"acme,omitempty"` }
IssuerStatus contains status information about an Issuer
func (*IssuerStatus) ACMEStatus ¶
func (i *IssuerStatus) ACMEStatus() *ACMEIssuerStatus
func (*IssuerStatus) DeepCopy ¶
func (in *IssuerStatus) DeepCopy() *IssuerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssuerStatus.
func (*IssuerStatus) DeepCopyInto ¶
func (in *IssuerStatus) DeepCopyInto(out *IssuerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyAlgorithm ¶
type KeyAlgorithm string
const ( RSAKeyAlgorithm KeyAlgorithm = "rsa" ECDSAKeyAlgorithm KeyAlgorithm = "ecdsa" )
type LocalObjectReference ¶
type LocalObjectReference struct { // Name of the referent. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names // TODO: Add other useful fields. apiVersion, kind, uid? Name string `json:"name"` }
func (*LocalObjectReference) DeepCopy ¶
func (in *LocalObjectReference) DeepCopy() *LocalObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference.
func (*LocalObjectReference) DeepCopyInto ¶
func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectReference ¶
ObjectReference is a reference to an object with a given name and kind.
func (*ObjectReference) DeepCopy ¶
func (in *ObjectReference) DeepCopy() *ObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
func (*ObjectReference) DeepCopyInto ¶
func (in *ObjectReference) DeepCopyInto(out *ObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretKeySelector ¶
type SecretKeySelector struct { // The name of the secret in the pod's namespace to select from. LocalObjectReference `json:",inline"` // The key of the secret to select from. Must be a valid secret key. Key string `json:"key"` }
func (*SecretKeySelector) DeepCopy ¶
func (in *SecretKeySelector) DeepCopy() *SecretKeySelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector.
func (*SecretKeySelector) DeepCopyInto ¶
func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelfSignedIssuer ¶
type SelfSignedIssuer struct { }
func (*SelfSignedIssuer) DeepCopy ¶
func (in *SelfSignedIssuer) DeepCopy() *SelfSignedIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSignedIssuer.
func (*SelfSignedIssuer) DeepCopyInto ¶
func (in *SelfSignedIssuer) DeepCopyInto(out *SelfSignedIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SolverConfig ¶
type SolverConfig struct { HTTP01 *HTTP01SolverConfig `json:"http01,omitempty"` DNS01 *DNS01SolverConfig `json:"dns01,omitempty"` }
func (*SolverConfig) DeepCopy ¶
func (in *SolverConfig) DeepCopy() *SolverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolverConfig.
func (*SolverConfig) DeepCopyInto ¶
func (in *SolverConfig) DeepCopyInto(out *SolverConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VaultAppRole ¶
type VaultAppRole struct { // Where the authentication path is mounted in Vault. Path string `json:"path"` RoleId string `json:"roleId"` SecretRef SecretKeySelector `json:"secretRef"` }
func (*VaultAppRole) DeepCopy ¶
func (in *VaultAppRole) DeepCopy() *VaultAppRole
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultAppRole.
func (*VaultAppRole) DeepCopyInto ¶
func (in *VaultAppRole) DeepCopyInto(out *VaultAppRole)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VaultAuth ¶
type VaultAuth struct { // This Secret contains the Vault token key TokenSecretRef SecretKeySelector `json:"tokenSecretRef,omitempty"` // This Secret contains a AppRole and Secret AppRole VaultAppRole `json:"appRole,omitempty"` }
Vault authentication can be configured:
- With a secret containing a token. Cert-manager is using this token as-is.
- With a secret containing a AppRole. This AppRole is used to authenticate to Vault and retrieve a token.
func (*VaultAuth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultAuth.
func (*VaultAuth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VaultIssuer ¶
type VaultIssuer struct { // Vault authentication Auth VaultAuth `json:"auth"` // Server is the vault connection address Server string `json:"server"` // Vault URL path to the certificate role Path string `json:"path"` }
func (*VaultIssuer) DeepCopy ¶
func (in *VaultIssuer) DeepCopy() *VaultIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultIssuer.
func (*VaultIssuer) DeepCopyInto ¶
func (in *VaultIssuer) DeepCopyInto(out *VaultIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.