v1beta1

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: GPL-3.0 Imports: 5 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

This section is empty.

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.

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 BackupSpec added in v0.3.0

type BackupSpec struct {
	// Frequency which the application will be backed up.
	Schedule string `json:"schedule"`
	// 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"`
}

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 {
	// Key which was applied to the application for database connectivity.
	Database string `json:"database"`
	// Key which was applied to the application for database connectivity.
	Hostname string `json:"hostname"`
	// Key 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 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 {
	// Last time a backup was executed.
	LastScheduleTime *metav1.Time `json:"lastScheduleTime,omitempty"`
}

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 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"`
	// 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