v1beta1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: GPL-3.0 Imports: 8 Imported by: 1

Documentation

Overview

Package v1beta1 contains API Schema definitions for the extensions v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/skpr/operator/pkg/apis/extensions +k8s:defaulter-gen=TypeMeta +groupName=extensions.skpr.io

Package v1beta1 contains API Schema definitions for the extensions v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/skpr/operator/pkg/apis/extensions +k8s:defaulter-gen=TypeMeta +groupName=extensions.skpr.io

Index

Constants

View Source
const (
	// ConfigMapKeyFromAddress for loading from a mounted ConfigMap.
	ConfigMapKeyFromAddress = "smtp.from.address"
	// ConfigMapKeyHostname for loading from a mounted ConfigMap.
	ConfigMapKeyHostname = "smtp.hostname"
	// ConfigMapKeyPort for loading from a mounted ConfigMap.
	ConfigMapKeyPort = "smtp.port"
	// ConfigMapKeyUsername for loading from a mounted ConfigMap.
	ConfigMapKeyUsername = "smtp.username"
	// ConfigMapKeyRegion for loading from a mounted ConfigMap.
	ConfigMapKeyRegion = "smtp.region"
	// SecretKeyPassword for loading from a mounted Secret.
	SecretKeyPassword = "smtp.password"
)

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "extensions.skpr.io", Version: "v1beta1"}

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

	// AddToScheme is required by pkg/client/...
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type Backup added in v0.3.0

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

	Spec   BackupSpec   `json:"spec,omitempty"`
	Status BackupStatus `json:"status,omitempty"`
}

Backup is the Schema for the backups API +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*Backup) DeepCopy added in v0.3.0

func (in *Backup) DeepCopy() *Backup

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

func (*Backup) DeepCopyInto added in v0.3.0

func (in *Backup) DeepCopyInto(out *Backup)

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

func (*Backup) DeepCopyObject added in v0.3.0

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

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

func (Backup) GetDuration added in v0.4.1

func (b Backup) GetDuration() *time.Duration

GetDuration returns the duration of the backup.

func (Backup) HasTag added in v0.4.1

func (b Backup) HasTag(tag string) bool

HasTag checks if this backup has a tag.

type BackupList added in v0.3.0

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

BackupList contains a list of Backup

func (*BackupList) DeepCopy added in v0.3.0

func (in *BackupList) DeepCopy() *BackupList

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

func (*BackupList) DeepCopyInto added in v0.3.0

func (in *BackupList) DeepCopyInto(out *BackupList)

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

func (*BackupList) DeepCopyObject added in v0.3.0

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

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

type BackupScheduled added in v0.4.0

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

	Spec   BackupScheduledSpec        `json:"spec,omitempty"`
	Status skprmetav1.ScheduledStatus `json:"status,omitempty"`
}

BackupScheduled is the Schema for the backupscheduleds API +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*BackupScheduled) DeepCopy added in v0.4.0

func (in *BackupScheduled) DeepCopy() *BackupScheduled

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

func (*BackupScheduled) DeepCopyInto added in v0.4.0

func (in *BackupScheduled) DeepCopyInto(out *BackupScheduled)

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

func (*BackupScheduled) DeepCopyObject added in v0.4.0

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

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

type BackupScheduledList added in v0.4.0

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

BackupScheduledList contains a list of BackupScheduled

func (*BackupScheduledList) DeepCopy added in v0.4.0

func (in *BackupScheduledList) DeepCopy() *BackupScheduledList

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

func (*BackupScheduledList) DeepCopyInto added in v0.4.0

func (in *BackupScheduledList) DeepCopyInto(out *BackupScheduledList)

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

func (*BackupScheduledList) DeepCopyObject added in v0.4.0

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

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

type BackupScheduledSpec added in v0.4.0

type BackupScheduledSpec struct {
	Schedule skprmetav1.ScheduledSpec `json:"schedule"`
	// Template which will be used to trigger a backup build.
	Template BackupSpec `json:"template"`
}

BackupScheduledSpec defines the desired state of BackupScheduled

func (*BackupScheduledSpec) DeepCopy added in v0.4.0

func (in *BackupScheduledSpec) DeepCopy() *BackupScheduledSpec

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

func (*BackupScheduledSpec) DeepCopyInto added in v0.4.0

func (in *BackupScheduledSpec) DeepCopyInto(out *BackupScheduledSpec)

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

type BackupSpec added in v0.3.0

type BackupSpec struct {
	// Secret which defines information about the restic secret.
	Secret BackupSpecSecret `json:"secret"`
	// Volumes which will be backed up.
	Volumes map[string]BackupSpecVolume `json:"volumes,omitempty"`
	// MySQL databases which will be backed up.
	MySQL map[string]BackupSpecMySQL `json:"mysql,omitempty"`
	// Tags to apply to the restic backup.
	Tags []string `json:"tags,omitempty"`
}

BackupSpec defines the desired state of Backup

func (*BackupSpec) DeepCopy added in v0.3.0

func (in *BackupSpec) DeepCopy() *BackupSpec

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

func (*BackupSpec) DeepCopyInto added in v0.3.0

func (in *BackupSpec) DeepCopyInto(out *BackupSpec)

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

type BackupSpecMySQL added in v0.3.0

type BackupSpecMySQL struct {
	// ConfigMap which will be used for connectivity.
	ConfigMap BackupSpecMySQLConfigMap `json:"configmap"`
	// Secret which will be used for connectivity.
	Secret BackupSpecMySQLSecret `json:"secret"`
}

BackupSpecMySQL defines how to backup MySQL.

func (*BackupSpecMySQL) DeepCopy added in v0.3.0

func (in *BackupSpecMySQL) DeepCopy() *BackupSpecMySQL

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

func (*BackupSpecMySQL) DeepCopyInto added in v0.3.0

func (in *BackupSpecMySQL) DeepCopyInto(out *BackupSpecMySQL)

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

type BackupSpecMySQLConfigMap added in v0.3.0

type BackupSpecMySQLConfigMap struct {
	// Name of the ConfigMap.
	Name string `json:"name"`
	// ConfigMap keys used for connectivity.
	Keys BackupSpecMySQLConfigMapKeys `json:"keys"`
}

BackupSpecMySQLConfigMap defines connection information for MySQL.

func (*BackupSpecMySQLConfigMap) DeepCopy added in v0.3.0

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

func (*BackupSpecMySQLConfigMap) DeepCopyInto added in v0.3.0

func (in *BackupSpecMySQLConfigMap) DeepCopyInto(out *BackupSpecMySQLConfigMap)

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

type BackupSpecMySQLConfigMapKeys added in v0.3.0

type BackupSpecMySQLConfigMapKeys struct {
	// Database which was applied to the application for database connectivity.
	Database string `json:"database"`
	// Hostname which was applied to the application for database connectivity.
	Hostname string `json:"hostname"`
	// Port which was applied to the application for database connectivity.
	Port string `json:"port"`
}

BackupSpecMySQLConfigMapKeys defines ConfigMap keys for MySQL connectivity.

func (*BackupSpecMySQLConfigMapKeys) DeepCopy added in v0.3.0

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

func (*BackupSpecMySQLConfigMapKeys) DeepCopyInto added in v0.3.0

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

type BackupSpecMySQLSecret added in v0.3.0

type BackupSpecMySQLSecret struct {
	// Name of the Secret.
	Name string `json:"name"`
	// ConfigMap keys used for connectivity.
	Keys BackupSpecMySQLSecretKeys `json:"keys"`
}

BackupSpecMySQLSecret defines connection information for MySQL.

func (*BackupSpecMySQLSecret) DeepCopy added in v0.3.0

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

func (*BackupSpecMySQLSecret) DeepCopyInto added in v0.3.0

func (in *BackupSpecMySQLSecret) DeepCopyInto(out *BackupSpecMySQLSecret)

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

type BackupSpecMySQLSecretKeys added in v0.3.0

type BackupSpecMySQLSecretKeys struct {
	// Key which was applied to the application for database connectivity.
	Username string `json:"username"`
	// Key which was applied to the application for database connectivity.
	Password string `json:"password"`
}

BackupSpecMySQLSecretKeys defines Secret keys for MySQL connectivity.

func (*BackupSpecMySQLSecretKeys) DeepCopy added in v0.3.0

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

func (*BackupSpecMySQLSecretKeys) DeepCopyInto added in v0.3.0

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

type BackupSpecSecret added in v0.4.0

type BackupSpecSecret struct {
	// Name of the secret.
	Name string `json:"name"`
	// Key of the secret data to use for the password
	Key string `json:"key"`
}

BackupSpecSecret defines information for the restic secret.

func (*BackupSpecSecret) DeepCopy added in v0.4.0

func (in *BackupSpecSecret) DeepCopy() *BackupSpecSecret

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

func (*BackupSpecSecret) DeepCopyInto added in v0.4.0

func (in *BackupSpecSecret) DeepCopyInto(out *BackupSpecSecret)

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

type BackupSpecVolume added in v0.3.0

type BackupSpecVolume struct {
	// ClaimName which will be backed up.
	ClaimName string `json:"claimName"`
}

BackupSpecVolume defines how to backup volumes.

func (*BackupSpecVolume) DeepCopy added in v0.3.0

func (in *BackupSpecVolume) DeepCopy() *BackupSpecVolume

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

func (*BackupSpecVolume) DeepCopyInto added in v0.3.0

func (in *BackupSpecVolume) DeepCopyInto(out *BackupSpecVolume)

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

type BackupStatus added in v0.3.0

type BackupStatus struct {
	// The time the backup started.
	StartTime *metav1.Time `json:"startTime,omitempty"`
	// The time the backup completed.
	CompletionTime *metav1.Time `json:"completionTime,omitempty"`
	// The restic id for the backup.
	ResticID string `json:"resticId,omitempty"`
	// The phase the backup is in.
	Phase skprmetav1.Phase `json:"phase"`
}

BackupStatus defines the observed state of Backup

func (*BackupStatus) DeepCopy added in v0.3.0

func (in *BackupStatus) DeepCopy() *BackupStatus

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

func (*BackupStatus) DeepCopyInto added in v0.3.0

func (in *BackupStatus) DeepCopyInto(out *BackupStatus)

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

type Exec

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

	Spec ExecSpec `json:"spec,omitempty"`
}

Exec is the Schema for the execs API +k8s:openapi-gen=true

func (*Exec) DeepCopy

func (in *Exec) DeepCopy() *Exec

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

func (*Exec) DeepCopyInto

func (in *Exec) DeepCopyInto(out *Exec)

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

func (*Exec) DeepCopyObject

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

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

type ExecList

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

ExecList contains a list of Exec

func (*ExecList) DeepCopy

func (in *ExecList) DeepCopy() *ExecList

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

func (*ExecList) DeepCopyInto

func (in *ExecList) DeepCopyInto(out *ExecList)

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

func (*ExecList) DeepCopyObject

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

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

type ExecSpec

type ExecSpec struct {
	// Container which commands will be executed.
	Entrypoint string `json:"entrypoint"`
	// Template used when provisioning an execution environment.
	Template corev1.PodSpec `json:"template"`
}

ExecSpec defines the desired state of Exec

func (*ExecSpec) DeepCopy

func (in *ExecSpec) DeepCopy() *ExecSpec

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

func (*ExecSpec) DeepCopyInto

func (in *ExecSpec) DeepCopyInto(out *ExecSpec)

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

type Restore added in v0.4.1

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

	Spec   RestoreSpec   `json:"spec,omitempty"`
	Status RestoreStatus `json:"status,omitempty"`
}

Restore is the Schema for the restores API +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*Restore) DeepCopy added in v0.4.1

func (in *Restore) DeepCopy() *Restore

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

func (*Restore) DeepCopyInto added in v0.4.1

func (in *Restore) DeepCopyInto(out *Restore)

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

func (*Restore) DeepCopyObject added in v0.4.1

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

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

func (Restore) GetDuration added in v0.4.1

func (r Restore) GetDuration() *time.Duration

GetDuration returns the duration of the backup.

type RestoreList added in v0.4.1

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

RestoreList contains a list of Restore

func (*RestoreList) DeepCopy added in v0.4.1

func (in *RestoreList) DeepCopy() *RestoreList

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

func (*RestoreList) DeepCopyInto added in v0.4.1

func (in *RestoreList) DeepCopyInto(out *RestoreList)

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

func (*RestoreList) DeepCopyObject added in v0.4.1

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

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

type RestoreSpec added in v0.4.1

type RestoreSpec struct {
	// BackupName to restore from.
	BackupName string `json:"backupName"`
	// Secret which defines information about the restic secret.
	Secret BackupSpecSecret `json:"secret"`
	// Volumes which will be restored to.
	Volumes map[string]BackupSpecVolume `json:"volumes,omitempty"`
	// MySQL databases which will be restored to.
	MySQL map[string]BackupSpecMySQL `json:"mysql,omitempty"`
}

RestoreSpec defines the desired state of Restore

func (*RestoreSpec) DeepCopy added in v0.4.1

func (in *RestoreSpec) DeepCopy() *RestoreSpec

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

func (*RestoreSpec) DeepCopyInto added in v0.4.1

func (in *RestoreSpec) DeepCopyInto(out *RestoreSpec)

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

type RestoreStatus added in v0.4.1

type RestoreStatus struct {
	// The time the restore started.
	StartTime *metav1.Time `json:"startTime,omitempty"`
	// The time the restore completed.
	CompletionTime *metav1.Time `json:"completionTime,omitempty"`
	// The phase the restore is in.
	Phase skprmetav1.Phase `json:"phase"`
}

RestoreStatus defines the observed state of Restore

func (*RestoreStatus) DeepCopy added in v0.4.1

func (in *RestoreStatus) DeepCopy() *RestoreStatus

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

func (*RestoreStatus) DeepCopyInto added in v0.4.1

func (in *RestoreStatus) DeepCopyInto(out *RestoreStatus)

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

type SMTP added in v0.2.0

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

	Spec   SMTPSpec   `json:"spec,omitempty"`
	Status SMTPStatus `json:"status,omitempty"`
}

SMTP is the Schema for the smtps API +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*SMTP) DeepCopy added in v0.2.0

func (in *SMTP) DeepCopy() *SMTP

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

func (*SMTP) DeepCopyInto added in v0.2.0

func (in *SMTP) DeepCopyInto(out *SMTP)

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

func (*SMTP) DeepCopyObject added in v0.2.0

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

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

type SMTPList added in v0.2.0

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

SMTPList contains a list of SMTP

func (*SMTPList) DeepCopy added in v0.2.0

func (in *SMTPList) DeepCopy() *SMTPList

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

func (*SMTPList) DeepCopyInto added in v0.2.0

func (in *SMTPList) DeepCopyInto(out *SMTPList)

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

func (*SMTPList) DeepCopyObject added in v0.2.0

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

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

type SMTPSpec added in v0.2.0

type SMTPSpec struct {
	// From defines what an application is allowed to send from.
	From SMTPSpecFrom `json:"from"`
}

SMTPSpec defines the desired state of SMTP

func (*SMTPSpec) DeepCopy added in v0.2.0

func (in *SMTPSpec) DeepCopy() *SMTPSpec

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

func (*SMTPSpec) DeepCopyInto added in v0.2.0

func (in *SMTPSpec) DeepCopyInto(out *SMTPSpec)

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

type SMTPSpecFrom added in v0.2.0

type SMTPSpecFrom struct {
	// Address which an application is allowed to send from.
	Address string `json:"address"`
}

SMTPSpecFrom defines what an application is allowed to send from.

func (*SMTPSpecFrom) DeepCopy added in v0.2.0

func (in *SMTPSpecFrom) DeepCopy() *SMTPSpecFrom

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

func (*SMTPSpecFrom) DeepCopyInto added in v0.2.0

func (in *SMTPSpecFrom) DeepCopyInto(out *SMTPSpecFrom)

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

type SMTPStatus added in v0.2.0

type SMTPStatus struct {
	// Provides the status of verifying FROM attributes.
	Verification SMTPStatusVerification `json:"verification,omitempty"`
	// Provides connection details for sending email.
	Connection SMTPStatusConnection `json:"connection,omitempty"`
}

SMTPStatus defines the observed state of SMTP

func (*SMTPStatus) DeepCopy added in v0.2.0

func (in *SMTPStatus) DeepCopy() *SMTPStatus

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

func (*SMTPStatus) DeepCopyInto added in v0.2.0

func (in *SMTPStatus) DeepCopyInto(out *SMTPStatus)

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

type SMTPStatusConnection added in v0.2.0

type SMTPStatusConnection struct {
	// Hostname used when connecting to the SMTP server.
	Hostname string `json:"hostname,omitempty"`
	// Region which the SMTP server resides.
	Region string `json:"region,omitempty"`
	// Port used when connecting to the SMTP server.
	Port int `json:"port,omitempty"`
	// Username used when connecting to the SMTP server.
	Username string `json:"username,omitempty"`
	// Password used when connecting to the SMTP server.
	Password string `json:"password,omitempty"`
}

SMTPStatusConnection provides connection details for sending email.

func (*SMTPStatusConnection) DeepCopy added in v0.2.0

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

func (*SMTPStatusConnection) DeepCopyInto added in v0.2.0

func (in *SMTPStatusConnection) DeepCopyInto(out *SMTPStatusConnection)

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

type SMTPStatusVerification added in v0.2.0

type SMTPStatusVerification struct {
	// Address which an application is allowed to send from.
	Address string `json:"address,omitempty"`
}

SMTPStatusVerification provides the status of verifying FROM attributes.

func (*SMTPStatusVerification) DeepCopy added in v0.2.0

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

func (*SMTPStatusVerification) DeepCopyInto added in v0.2.0

func (in *SMTPStatusVerification) DeepCopyInto(out *SMTPStatusVerification)

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

Jump to

Keyboard shortcuts

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