Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the dkim-manager v1 API group +kubebuilder:object:generate=true +groupName=dkim-manager.atelierhsn.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "dkim-manager.atelierhsn.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 // DKIMKeyKind is the kind for DKIMKey. DKIMKeyKind = "DKIMKey" )
Functions ¶
This section is empty.
Types ¶
type DKIMKey ¶
type DKIMKey struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DKIMKeySpec `json:"spec"`
Status DKIMKeyStatus `json:"status,omitempty"`
}
DKIMKey is the Schema for the dkimkeys API.
func (*DKIMKey) ConvertFrom ¶ added in v1.3.0
func (dst *DKIMKey) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the Hub version (v2) to this version (v1).
func (*DKIMKey) ConvertTo ¶ added in v1.3.0
func (src *DKIMKey) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this DKIMKey (v1) to the Hub version (v2).
func (*DKIMKey) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DKIMKey.
func (*DKIMKey) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DKIMKey) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DKIMKeyList ¶
type DKIMKeyList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DKIMKey `json:"items"`
}
DKIMKeyList contains a list of DKIMKey.
func (*DKIMKeyList) DeepCopy ¶
func (in *DKIMKeyList) DeepCopy() *DKIMKeyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DKIMKeyList.
func (*DKIMKeyList) DeepCopyInto ¶
func (in *DKIMKeyList) DeepCopyInto(out *DKIMKeyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DKIMKeyList) DeepCopyObject ¶
func (in *DKIMKeyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DKIMKeySpec ¶
type DKIMKeySpec struct {
// SecretName represents the name for the Secret resource containing the private key.
SecretName string `json:"secretName"`
// Selector is the name to use as a DKIM selector.
Selector string `json:"selector"`
// Domain is the domain to which the DKIM record will be associated.
Domain string `json:"domain"`
// TTL for the DKIM record.
TTL uint `json:"ttl,omitempty"`
// KeyLength represents the bit size for RSA keys.
KeyLength dkim.KeyLength `json:"keyLength,omitempty"`
// KeyType represents the DKIM key type.
KeyType dkim.KeyType `json:"keyType,omitempty"`
}
DKIMKeySpec defines the desired state of DKIMKey.
func (*DKIMKeySpec) DeepCopy ¶
func (in *DKIMKeySpec) DeepCopy() *DKIMKeySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DKIMKeySpec.
func (*DKIMKeySpec) DeepCopyInto ¶
func (in *DKIMKeySpec) DeepCopyInto(out *DKIMKeySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DKIMKeyStatus ¶
type DKIMKeyStatus string
DKIMKeyStatus represents the status of a DKIMKey.
const ( // DKIMKeyStatusOK indicates the DKIM key has been successfully provisioned. DKIMKeyStatusOK DKIMKeyStatus = "ok" // DKIMKeyStatusInvalid indicates the DKIM key configuration is invalid. DKIMKeyStatusInvalid DKIMKeyStatus = "invalid" )