Documentation
¶
Overview ¶
Package v1 is the v1 version of the OriginIssuer API
Index ¶
- Variables
- type AuthType
- type ClusterOriginIssuer
- func (in *ClusterOriginIssuer) DeepCopy() *ClusterOriginIssuer
- func (in *ClusterOriginIssuer) DeepCopyInto(out *ClusterOriginIssuer)
- func (in *ClusterOriginIssuer) DeepCopyObject() runtime.Object
- func (iss *ClusterOriginIssuer) GetAuth() OriginIssuerAuthentication
- func (iss *ClusterOriginIssuer) GetAuthSecretNamespace(clusterResourceNamespace string) string
- func (iss *ClusterOriginIssuer) GetConditions() []metav1.Condition
- func (iss *ClusterOriginIssuer) GetIssuerTypeIdentifier() string
- func (iss *ClusterOriginIssuer) GetRequestType() RequestType
- type ClusterOriginIssuerList
- type OriginIssuer
- func (in *OriginIssuer) DeepCopy() *OriginIssuer
- func (in *OriginIssuer) DeepCopyInto(out *OriginIssuer)
- func (in *OriginIssuer) DeepCopyObject() runtime.Object
- func (iss *OriginIssuer) GetAuth() OriginIssuerAuthentication
- func (iss *OriginIssuer) GetAuthSecretNamespace(_ string) string
- func (iss *OriginIssuer) GetConditions() []metav1.Condition
- func (iss *OriginIssuer) GetIssuerTypeIdentifier() string
- func (iss *OriginIssuer) GetRequestType() RequestType
- type OriginIssuerAuthentication
- type OriginIssuerList
- type OriginIssuerSpec
- type RequestType
- type SecretKeySelector
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cert-manager.k8s.cloudflare.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ClusterOriginIssuer ¶ added in v0.9.0
type ClusterOriginIssuer struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec is the desired state of the ClusterOriginIssuer resource.
Spec OriginIssuerSpec `json:"spec,omitempty"`
// Status of the ClusterOriginIssuer. This is set and managed automatically.
// +optional
Status issuerv1alpha1.IssuerStatus `json:"status,omitempty"`
}
A ClusterOriginIssuer represents the Cloudflare Origin CA as an external cert-manager issuer. It is scoped to a single namespace, so it can be used only by resources in the same namespace.
func (*ClusterOriginIssuer) DeepCopy ¶ added in v0.9.0
func (in *ClusterOriginIssuer) DeepCopy() *ClusterOriginIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterOriginIssuer.
func (*ClusterOriginIssuer) DeepCopyInto ¶ added in v0.9.0
func (in *ClusterOriginIssuer) DeepCopyInto(out *ClusterOriginIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterOriginIssuer) DeepCopyObject ¶ added in v0.9.0
func (in *ClusterOriginIssuer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterOriginIssuer) GetAuth ¶ added in v0.13.0
func (iss *ClusterOriginIssuer) GetAuth() OriginIssuerAuthentication
func (*ClusterOriginIssuer) GetAuthSecretNamespace ¶ added in v0.13.0
func (iss *ClusterOriginIssuer) GetAuthSecretNamespace(clusterResourceNamespace string) string
func (*ClusterOriginIssuer) GetConditions ¶ added in v0.13.0
func (iss *ClusterOriginIssuer) GetConditions() []metav1.Condition
func (*ClusterOriginIssuer) GetIssuerTypeIdentifier ¶ added in v0.13.0
func (iss *ClusterOriginIssuer) GetIssuerTypeIdentifier() string
func (*ClusterOriginIssuer) GetRequestType ¶ added in v0.13.0
func (iss *ClusterOriginIssuer) GetRequestType() RequestType
type ClusterOriginIssuerList ¶ added in v0.9.0
type ClusterOriginIssuerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata.omitempty"`
Items []ClusterOriginIssuer `json:"items"`
}
ClusterOriginIssuerList is a list of OriginIssuers.
func (*ClusterOriginIssuerList) DeepCopy ¶ added in v0.9.0
func (in *ClusterOriginIssuerList) DeepCopy() *ClusterOriginIssuerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterOriginIssuerList.
func (*ClusterOriginIssuerList) DeepCopyInto ¶ added in v0.9.0
func (in *ClusterOriginIssuerList) DeepCopyInto(out *ClusterOriginIssuerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterOriginIssuerList) DeepCopyObject ¶ added in v0.9.0
func (in *ClusterOriginIssuerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OriginIssuer ¶
type OriginIssuer struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// Desired state of the OriginIssuer resource
Spec OriginIssuerSpec `json:"spec,omitempty"`
// Status of the OriginIssuer. This is set and managed automatically.
// +optional
Status issuerv1alpha1.IssuerStatus `json:"status,omitempty"`
}
An OriginIssuer represents the Cloudflare Origin CA as an external cert-manager issuer. It is scoped to a single namespace, so it can be used only by resources in the same namespace.
func (*OriginIssuer) DeepCopy ¶
func (in *OriginIssuer) DeepCopy() *OriginIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginIssuer.
func (*OriginIssuer) DeepCopyInto ¶
func (in *OriginIssuer) DeepCopyInto(out *OriginIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OriginIssuer) DeepCopyObject ¶
func (in *OriginIssuer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OriginIssuer) GetAuth ¶ added in v0.13.0
func (iss *OriginIssuer) GetAuth() OriginIssuerAuthentication
func (*OriginIssuer) GetAuthSecretNamespace ¶ added in v0.13.0
func (iss *OriginIssuer) GetAuthSecretNamespace(_ string) string
func (*OriginIssuer) GetConditions ¶ added in v0.13.0
func (iss *OriginIssuer) GetConditions() []metav1.Condition
func (*OriginIssuer) GetIssuerTypeIdentifier ¶ added in v0.13.0
func (iss *OriginIssuer) GetIssuerTypeIdentifier() string
func (*OriginIssuer) GetRequestType ¶ added in v0.13.0
func (iss *OriginIssuer) GetRequestType() RequestType
type OriginIssuerAuthentication ¶
type OriginIssuerAuthentication struct {
// ServiceKeyRef authenticates with an API Service Key (the "Origin CA Key").
// +optional
ServiceKeyRef *SecretKeySelector `json:"serviceKeyRef,omitempty"`
// TokenRef authenticates with an API Token.
// +optional
TokenRef *SecretKeySelector `json:"tokenRef,omitempty"`
}
OriginIssuerAuthentication defines how to authenticate with the Cloudflare API. Only one of `serviceKeyRef` may be specified.
+kubebuilder:validation:ExactlyOneOf=serviceKeyRef;tokenRef
func (*OriginIssuerAuthentication) DeepCopy ¶
func (in *OriginIssuerAuthentication) DeepCopy() *OriginIssuerAuthentication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginIssuerAuthentication.
func (*OriginIssuerAuthentication) DeepCopyInto ¶
func (in *OriginIssuerAuthentication) DeepCopyInto(out *OriginIssuerAuthentication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (OriginIssuerAuthentication) GetSecretKeySelector ¶ added in v0.13.0
func (a OriginIssuerAuthentication) GetSecretKeySelector() *SecretKeySelector
func (OriginIssuerAuthentication) GetType ¶ added in v0.13.0
func (a OriginIssuerAuthentication) GetType() AuthType
type OriginIssuerList ¶
type OriginIssuerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata.omitempty"`
Items []OriginIssuer `json:"items"`
}
OriginIssuerList is a list of OriginIssuers.
func (*OriginIssuerList) DeepCopy ¶
func (in *OriginIssuerList) DeepCopy() *OriginIssuerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginIssuerList.
func (*OriginIssuerList) DeepCopyInto ¶
func (in *OriginIssuerList) DeepCopyInto(out *OriginIssuerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OriginIssuerList) DeepCopyObject ¶
func (in *OriginIssuerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OriginIssuerSpec ¶
type OriginIssuerSpec struct {
// RequestType is the signature algorithm Cloudflare should use to sign the certificate.
RequestType RequestType `json:"requestType"`
// Auth configures how to authenticate with the Cloudflare API.
Auth OriginIssuerAuthentication `json:"auth"`
}
OriginIssuerSpec is the specification of an OriginIssuer. This includes any configuration required for the issuer.
func (*OriginIssuerSpec) DeepCopy ¶
func (in *OriginIssuerSpec) DeepCopy() *OriginIssuerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginIssuerSpec.
func (*OriginIssuerSpec) DeepCopyInto ¶
func (in *OriginIssuerSpec) DeepCopyInto(out *OriginIssuerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequestType ¶
type RequestType string
RequestType represents the signature algorithm used to sign certificates.
const ( // RequestTypeOriginRSA represents an RSA256 signature. RequestTypeOriginRSA RequestType = "OriginRSA" // RequestTypeOriginECC represents an ECDSA signature. RequestTypeOriginECC RequestType = "OriginECC" )
type SecretKeySelector ¶
type SecretKeySelector struct {
// Name of the secret in the issuer's namespace to select. If a cluster-scoped
// issuer, the secret is selected from the "cluster resource namespace" configured
// on the controller.
Name string `json:"name"`
// Key of the secret to select from. Must be a valid secret key.
Key string `json:"key"`
}
SecretKeySelector contains a reference to a secret.
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.