Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the kube-mail v1alpha1 API group +kubebuilder:object:generate=true +groupName=kube-mail.helmich.me
Index ¶
- Variables
- type EmailPolicy
- type EmailPolicyList
- type EmailPolicyRateLimiting
- type EmailPolicySMTPSink
- type EmailPolicySink
- type EmailPolicySpec
- type EmailPolicyStatus
- type ObjectReference
- type RateLimitingPeriod
- type SMTPAuthType
- type SMTPConnectType
- type SMTPServer
- type SMTPServerList
- type SMTPServerSpec
- type SMTPServerStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "kube-mail.helmich.me", Version: "v1alpha1"} // 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 EmailPolicy ¶
type EmailPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EmailPolicySpec `json:"spec,omitempty"` Status EmailPolicyStatus `json:"status,omitempty"` }
EmailPolicy is the Schema for the emailpolicy API
func (*EmailPolicy) DeepCopy ¶
func (in *EmailPolicy) DeepCopy() *EmailPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailPolicy.
func (*EmailPolicy) DeepCopyInto ¶
func (in *EmailPolicy) DeepCopyInto(out *EmailPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EmailPolicy) DeepCopyObject ¶
func (in *EmailPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EmailPolicyList ¶
type EmailPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EmailPolicy `json:"items"` }
EmailPolicyList contains a list of Project
func (*EmailPolicyList) DeepCopy ¶
func (in *EmailPolicyList) DeepCopy() *EmailPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailPolicyList.
func (*EmailPolicyList) DeepCopyInto ¶
func (in *EmailPolicyList) DeepCopyInto(out *EmailPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EmailPolicyList) DeepCopyObject ¶
func (in *EmailPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EmailPolicyRateLimiting ¶
type EmailPolicyRateLimiting struct { Maximum int `json:"maximum"` // +optional // +kubebuilder:validation:Enum=hour;minute Period RateLimitingPeriod `json:"period,omitempty" ts_type:"policyPeriod"` }
func (*EmailPolicyRateLimiting) DeepCopy ¶
func (in *EmailPolicyRateLimiting) DeepCopy() *EmailPolicyRateLimiting
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailPolicyRateLimiting.
func (*EmailPolicyRateLimiting) DeepCopyInto ¶
func (in *EmailPolicyRateLimiting) DeepCopyInto(out *EmailPolicyRateLimiting)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmailPolicySMTPSink ¶
type EmailPolicySMTPSink struct { Server ObjectReference `json:"server"` // +optional Credentials ObjectReference `json:"credentials,omitempty"` }
func (*EmailPolicySMTPSink) DeepCopy ¶
func (in *EmailPolicySMTPSink) DeepCopy() *EmailPolicySMTPSink
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailPolicySMTPSink.
func (*EmailPolicySMTPSink) DeepCopyInto ¶
func (in *EmailPolicySMTPSink) DeepCopyInto(out *EmailPolicySMTPSink)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmailPolicySink ¶
type EmailPolicySink struct {
SMTP EmailPolicySMTPSink `json:"smtp"`
}
func (*EmailPolicySink) DeepCopy ¶
func (in *EmailPolicySink) DeepCopy() *EmailPolicySink
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailPolicySink.
func (*EmailPolicySink) DeepCopyInto ¶
func (in *EmailPolicySink) DeepCopyInto(out *EmailPolicySink)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmailPolicySpec ¶
type EmailPolicySpec struct { // +optional Default bool `json:"default,omitempty"` // +optional PodSelector metav1.LabelSelector `json:"podSelector,omitempty" ts_type:"LabelSelector"` // +optional RateLimiting EmailPolicyRateLimiting `json:"ratelimiting,omitempty"` Sink EmailPolicySink `json:"sink"` }
func (*EmailPolicySpec) DeepCopy ¶
func (in *EmailPolicySpec) DeepCopy() *EmailPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailPolicySpec.
func (*EmailPolicySpec) DeepCopyInto ¶
func (in *EmailPolicySpec) DeepCopyInto(out *EmailPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmailPolicyStatus ¶
type EmailPolicyStatus struct { }
func (*EmailPolicyStatus) DeepCopy ¶
func (in *EmailPolicyStatus) DeepCopy() *EmailPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailPolicyStatus.
func (*EmailPolicyStatus) DeepCopyInto ¶
func (in *EmailPolicyStatus) DeepCopyInto(out *EmailPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectReference ¶
type ObjectReference struct { Name string `json:"name"` // +optional Namespace string `json:"namespace,omitempty"` }
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 RateLimitingPeriod ¶
type RateLimitingPeriod string
const ( RateLimitingPeriodHour RateLimitingPeriod = "hour" RateLimitingPeriodMinute RateLimitingPeriod = "minute" )
type SMTPAuthType ¶
type SMTPAuthType string
const ( SMTPAuthTypePlain SMTPAuthType = "PLAIN" SMTPAuthTypeLogin SMTPAuthType = "LOGIN" SMTPAuthTypeCRAMMD5 SMTPAuthType = "CRAM-MD5" SMTPAuthTypeSCRAMSHA1 SMTPAuthType = "SCRAM-SHA-1" )
type SMTPConnectType ¶
type SMTPConnectType string
const ( SMTPConnectTypePlain SMTPConnectType = "plain" SMTPConnectTypeSSL SMTPConnectType = "ssl" SMTPConnectTypeSTARTTLS SMTPConnectType = "starttls" )
type SMTPServer ¶
type SMTPServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SMTPServerSpec `json:"spec,omitempty"` Status SMTPServerStatus `json:"status,omitempty"` }
SMTPServer is the Schema for the smtpserver API
func (*SMTPServer) DeepCopy ¶
func (in *SMTPServer) DeepCopy() *SMTPServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SMTPServer.
func (*SMTPServer) DeepCopyInto ¶
func (in *SMTPServer) DeepCopyInto(out *SMTPServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SMTPServer) DeepCopyObject ¶
func (in *SMTPServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SMTPServerList ¶
type SMTPServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SMTPServer `json:"items"` }
SMTPServerList contains a list of Project
func (*SMTPServerList) DeepCopy ¶
func (in *SMTPServerList) DeepCopy() *SMTPServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SMTPServerList.
func (*SMTPServerList) DeepCopyInto ¶
func (in *SMTPServerList) DeepCopyInto(out *SMTPServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SMTPServerList) DeepCopyObject ¶
func (in *SMTPServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SMTPServerSpec ¶
type SMTPServerSpec struct { Server string `json:"server"` // +optional Port int `json:"port,omitempty"` // DEPRECATED: Use Connect, instead // +kubebuilder:deprecatedversion:warning="TLS is deprecated use Connect instead." // +optional TLS bool `json:"tls,omitempty"` // +kubebuilder:validation:Enum=plain;ssl;starttls // +optional Connect SMTPConnectType `json:"connect,omitempty" ts_type:"connect"` // +optional // +kubebuilder:validation:Enum=PLAIN;LOGIN;CRAM-MD5;SCRAM-SHA-1 AuthType SMTPAuthType `json:"authType,omitempty" ts_type:"authType"` }
func (*SMTPServerSpec) DeepCopy ¶
func (in *SMTPServerSpec) DeepCopy() *SMTPServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SMTPServerSpec.
func (*SMTPServerSpec) DeepCopyInto ¶
func (in *SMTPServerSpec) DeepCopyInto(out *SMTPServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SMTPServerStatus ¶
type SMTPServerStatus struct { }
func (*SMTPServerStatus) DeepCopy ¶
func (in *SMTPServerStatus) DeepCopy() *SMTPServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SMTPServerStatus.
func (*SMTPServerStatus) DeepCopyInto ¶
func (in *SMTPServerStatus) DeepCopyInto(out *SMTPServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.