v1alpha1

package
v0.0.0-...-d03d223 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the mailgun v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=mailgun.com

Package v1alpha1 contains API Schema definitions for the mailgun v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=mailgun.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "mailgun.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

Types

type MailgunDomain

type MailgunDomain struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MailgunDomainSpec   `json:"spec,omitempty"`
	Status MailgunDomainStatus `json:"status,omitempty"`
}

MailgunDomain is the Schema for the mailgundomains API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=mailgundomains,scope=Namespaced

func (*MailgunDomain) DeepCopy

func (in *MailgunDomain) DeepCopy() *MailgunDomain

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

func (*MailgunDomain) DeepCopyInto

func (in *MailgunDomain) DeepCopyInto(out *MailgunDomain)

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

func (*MailgunDomain) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MailgunDomainDnsRecord

type MailgunDomainDnsRecord struct {
	RecordType string `json:"recordType"`
	Valid      string `json:"valid"`
	Priority   string `json:"priority,omitempty"`
	Value      string `json:"value"`
	Name       string `json:"name,omitempty"`
}

MailgunDomainDnsRecord defines the receiving and sending dns record provided by mailgun +k8s:openapi-gen=true

func (*MailgunDomainDnsRecord) DeepCopy

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

func (*MailgunDomainDnsRecord) DeepCopyInto

func (in *MailgunDomainDnsRecord) DeepCopyInto(out *MailgunDomainDnsRecord)

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

type MailgunDomainList

type MailgunDomainList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MailgunDomain `json:"items"`
}

MailgunDomainList contains a list of MailgunDomain

func (*MailgunDomainList) DeepCopy

func (in *MailgunDomainList) DeepCopy() *MailgunDomainList

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

func (*MailgunDomainList) DeepCopyInto

func (in *MailgunDomainList) DeepCopyInto(out *MailgunDomainList)

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

func (*MailgunDomainList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MailgunDomainSpec

type MailgunDomainSpec struct {
	// Domain to use in mailgun
	Domain string `json:"domain"`
	// secret name where we can find apiKey
	SecretName string `json:"secretName"`

	// See https://documentation.mailgun.com/en/latest/api-domains.html#domains
	Password           string         `json:"password,omitempty"`
	SpamAction         SpamActionType `json:"spamAction,omitempty"`
	Wildcard           bool           `json:"wildcard,omitempty"`
	ForceDKIMAuthority bool           `json:"forceDkimAuthority,omitempty"`
	DKIMKeySize        int            `json:"dkimKeySize,omitempty"`
	// +kubebuilder:validation:MinItems=0
	// +listType=set
	IPS       []string      `json:"ips,omitempty"`
	WebScheme WebSchemeType `json:"webScheme,omitempty"`
}

MailgunDomainSpec defines the desired state of MailgunDomain +k8s:openapi-gen=true

func (*MailgunDomainSpec) DeepCopy

func (in *MailgunDomainSpec) DeepCopy() *MailgunDomainSpec

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

func (*MailgunDomainSpec) DeepCopyInto

func (in *MailgunDomainSpec) DeepCopyInto(out *MailgunDomainSpec)

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

type MailgunDomainStatus

type MailgunDomainStatus struct {
	// +listType=set
	SendingDnsRecord []MailgunDomainDnsRecord `json:"sendingDnsRecord,omitempty"`
	// +listType=set
	ReceivingDnsRecord []MailgunDomainDnsRecord `json:"receivingDnsRecord,omitempty"`
	DomainState        string                   `json:"domainState"`
}

MailgunDomainStatus defines the observed state of MailgunDomain +k8s:openapi-gen=true

func (*MailgunDomainStatus) DeepCopy

func (in *MailgunDomainStatus) DeepCopy() *MailgunDomainStatus

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

func (*MailgunDomainStatus) DeepCopyInto

func (in *MailgunDomainStatus) DeepCopyInto(out *MailgunDomainStatus)

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

type MailgunRoute

type MailgunRoute struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MailgunRouteSpec   `json:"spec,omitempty"`
	Status MailgunRouteStatus `json:"status,omitempty"`
}

MailgunRoute is the Schema for the mailgunroutes API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=mailgunroutes,scope=Namespaced

func (*MailgunRoute) DeepCopy

func (in *MailgunRoute) DeepCopy() *MailgunRoute

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

func (*MailgunRoute) DeepCopyInto

func (in *MailgunRoute) DeepCopyInto(out *MailgunRoute)

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

func (*MailgunRoute) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MailgunRouteList

type MailgunRouteList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MailgunRoute `json:"items"`
}

MailgunRouteList contains a list of MailgunRoute

func (*MailgunRouteList) DeepCopy

func (in *MailgunRouteList) DeepCopy() *MailgunRouteList

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

func (*MailgunRouteList) DeepCopyInto

func (in *MailgunRouteList) DeepCopyInto(out *MailgunRouteList)

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

func (*MailgunRouteList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MailgunRouteSpec

type MailgunRouteSpec struct {
	// Domain to create in mailgun: https://help.mailgun.com/hc/en-us/articles/202256730-How-Do-I-Pick-a-Domain-Name-for-My-Mailgun-Account-
	Domain string `json:"domain"`
	// secret name where we can find apiKey
	SecretName string `json:"secretName"`
	// See https://documentation.mailgun.com/en/latest/api-routes.html#routes
	Expression  string `json:"expression"`
	Description string `json:"description,omitempty"`
	Priority    int    `json:"priority"`
	// +kubebuilder:validation:MinItems=1
	// +listType=set
	Actions []string `json:"actions,omitempty"`
}

MailgunRouteSpec defines the desired state of MailgunRoute +k8s:openapi-gen=true

func (*MailgunRouteSpec) DeepCopy

func (in *MailgunRouteSpec) DeepCopy() *MailgunRouteSpec

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

func (*MailgunRouteSpec) DeepCopyInto

func (in *MailgunRouteSpec) DeepCopyInto(out *MailgunRouteSpec)

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

type MailgunRouteStatus

type MailgunRouteStatus struct {
	Id string `json:"id"`
}

MailgunRouteStatus defines the observed state of MailgunRoute +k8s:openapi-gen=true

func (*MailgunRouteStatus) DeepCopy

func (in *MailgunRouteStatus) DeepCopy() *MailgunRouteStatus

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

func (*MailgunRouteStatus) DeepCopyInto

func (in *MailgunRouteStatus) DeepCopyInto(out *MailgunRouteStatus)

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

type MailgunWebhook

type MailgunWebhook struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MailgunWebhookSpec   `json:"spec,omitempty"`
	Status MailgunWebhookStatus `json:"status,omitempty"`
}

MailgunWebhook is the Schema for the mailgunwebhooks API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=mailgunwebhooks,scope=Namespaced

func (*MailgunWebhook) DeepCopy

func (in *MailgunWebhook) DeepCopy() *MailgunWebhook

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

func (*MailgunWebhook) DeepCopyInto

func (in *MailgunWebhook) DeepCopyInto(out *MailgunWebhook)

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

func (*MailgunWebhook) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MailgunWebhookList

type MailgunWebhookList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MailgunWebhook `json:"items"`
}

MailgunWebhookList contains a list of MailgunWebhook

func (*MailgunWebhookList) DeepCopy

func (in *MailgunWebhookList) DeepCopy() *MailgunWebhookList

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

func (*MailgunWebhookList) DeepCopyInto

func (in *MailgunWebhookList) DeepCopyInto(out *MailgunWebhookList)

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

func (*MailgunWebhookList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MailgunWebhookSpec

type MailgunWebhookSpec struct {
	// Domain to use in mailgun
	Domain string `json:"domain"`
	// secret name where we can find apiKey
	SecretName string `json:"secretName"`
	// +kubebuilder:validation:MaxItems=3
	// +kubebuilder:validation:MinItems=0
	// +listType=set
	Clicked []string `json:"clicked,omitempty"`
	// +kubebuilder:validation:MaxItems=3
	// +kubebuilder:validation:MinItems=0
	// +listType=set
	Complained []string `json:"complained,omitempty"`
	// +kubebuilder:validation:MaxItems=3
	// +kubebuilder:validation:MinItems=0
	// +listType=set
	Delivered []string `json:"delivered,omitempty"`
	// +kubebuilder:validation:MaxItems=3
	// +kubebuilder:validation:MinItems=0
	// +listType=set
	Opened []string `json:"opened,omitempty"`
	// +kubebuilder:validation:MaxItems=3
	// +kubebuilder:validation:MinItems=0
	// +listType=set
	PermanentFail []string `json:"permanentFail,omitempty"`
	// +kubebuilder:validation:MaxItems=3
	// +kubebuilder:validation:MinItems=0
	// +listType=set
	TemporaryFail []string `json:"temporaryFail,omitempty"`
	// +kubebuilder:validation:MaxItems=3
	// +kubebuilder:validation:MinItems=0
	// +listType=set
	Unsubscribed []string `json:"unsubscribed,omitempty"`
}

MailgunWebhookSpec defines the desired state of MailgunWebhook +k8s:openapi-gen=true

func (*MailgunWebhookSpec) DeepCopy

func (in *MailgunWebhookSpec) DeepCopy() *MailgunWebhookSpec

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

func (*MailgunWebhookSpec) DeepCopyInto

func (in *MailgunWebhookSpec) DeepCopyInto(out *MailgunWebhookSpec)

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

type MailgunWebhookStatus

type MailgunWebhookStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	Ready bool `json:"ready"`
}

MailgunWebhookStatus defines the observed state of MailgunWebhook +k8s:openapi-gen=true

func (*MailgunWebhookStatus) DeepCopy

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

func (*MailgunWebhookStatus) DeepCopyInto

func (in *MailgunWebhookStatus) DeepCopyInto(out *MailgunWebhookStatus)

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

type SpamActionType

type SpamActionType string
const (
	Disabled SpamActionType = "disabled"
	Block    SpamActionType = "block"
	Tag      SpamActionType = "tag"
)
const (
	HTTP  SpamActionType = "http"
	HTTPS SpamActionType = "https"
)

type WebSchemeType

type WebSchemeType string

Jump to

Keyboard shortcuts

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