v1

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 5 Imported by: 0

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

View Source
const (
	DKIMKeyStatusOK      = DKIMKeyStatus("ok")
	DKIMKeyStatusInvalid = DKIMKeyStatus("invalid")
)

Variables

View Source
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) DeepCopy

func (in *DKIMKey) DeepCopy() *DKIMKey

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

func (*DKIMKey) DeepCopyInto

func (in *DKIMKey) DeepCopyInto(out *DKIMKey)

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

func (*DKIMKey) DeepCopyObject

func (in *DKIMKey) DeepCopyObject() runtime.Object

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 defines the observed state of DKIMKey.

Jump to

Keyboard shortcuts

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