v1alpha1

package
v0.0.0-...-53bcd79 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=consul.f110.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemaBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemaBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "consul.f110.dev", Version: "v1alpha1"}

Functions

func Kind

func Kind(kind string) schema.GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Types

type AWSCredential

type AWSCredential struct {
	AccessKeyID     *corev1.SecretKeySelector `json:"accessKeyID"`
	SecretAccessKey *corev1.SecretKeySelector `json:"secretAccessKey"`
}

func (*AWSCredential) DeepCopy

func (in *AWSCredential) DeepCopy() *AWSCredential

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

func (*AWSCredential) DeepCopyInto

func (in *AWSCredential) DeepCopyInto(out *AWSCredential)

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

type BackupStorageGCSSpec

type BackupStorageGCSSpec struct {
	Bucket     string        `json:"bucket,omitempty"`
	Path       string        `json:"path,omitempty"`
	Credential GCPCredential `json:"credential,omitempty"`
}

func (*BackupStorageGCSSpec) DeepCopy

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

func (*BackupStorageGCSSpec) DeepCopyInto

func (in *BackupStorageGCSSpec) DeepCopyInto(out *BackupStorageGCSSpec)

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

type BackupStorageMinIOSpec

type BackupStorageMinIOSpec struct {
	Service    *ObjectReference `json:"service"`
	Credential AWSCredential    `json:"credential"`
	Bucket     string           `json:"bucket"`
	Path       string           `json:"path"`
	Secure     bool             `json:"secure,omitempty"`
}

func (*BackupStorageMinIOSpec) DeepCopy

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

func (*BackupStorageMinIOSpec) DeepCopyInto

func (in *BackupStorageMinIOSpec) DeepCopyInto(out *BackupStorageMinIOSpec)

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

type ConsulBackup

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

	Spec   ConsulBackupSpec   `json:"spec,omitempty"`
	Status ConsulBackupStatus `json:"status,omitempty"`
}

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:subresource:status

func (*ConsulBackup) DeepCopy

func (in *ConsulBackup) DeepCopy() *ConsulBackup

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

func (*ConsulBackup) DeepCopyInto

func (in *ConsulBackup) DeepCopyInto(out *ConsulBackup)

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

func (*ConsulBackup) DeepCopyObject

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

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

type ConsulBackupList

type ConsulBackupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ConsulBackup `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ConsulBackupList) DeepCopy

func (in *ConsulBackupList) DeepCopy() *ConsulBackupList

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

func (*ConsulBackupList) DeepCopyInto

func (in *ConsulBackupList) DeepCopyInto(out *ConsulBackupList)

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

func (*ConsulBackupList) DeepCopyObject

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

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

type ConsulBackupSpec

type ConsulBackupSpec struct {
	IntervalInSecond int                         `json:"intervalInSeconds"`
	MaxBackups       int                         `json:"maxBackups"`
	Service          corev1.LocalObjectReference `json:"service"`
	Storage          ConsulBackupStorageSpec     `json:"storage,omitempty"`
}

func (*ConsulBackupSpec) DeepCopy

func (in *ConsulBackupSpec) DeepCopy() *ConsulBackupSpec

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

func (*ConsulBackupSpec) DeepCopyInto

func (in *ConsulBackupSpec) DeepCopyInto(out *ConsulBackupSpec)

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

type ConsulBackupStatus

type ConsulBackupStatus struct {
	Succeeded         bool                        `json:"succeeded"`
	LastSucceededTime *metav1.Time                `json:"lastSucceededTime,omitempty"`
	History           []ConsulBackupStatusHistory `json:"backupStatusHistory,omitempty"`
}

func (*ConsulBackupStatus) DeepCopy

func (in *ConsulBackupStatus) DeepCopy() *ConsulBackupStatus

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

func (*ConsulBackupStatus) DeepCopyInto

func (in *ConsulBackupStatus) DeepCopyInto(out *ConsulBackupStatus)

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

type ConsulBackupStatusHistory

type ConsulBackupStatusHistory struct {
	Succeeded   bool         `json:"succeeded,omitempty"`
	ExecuteTime *metav1.Time `json:"executeTime,omitempty"`
	Path        string       `json:"path,omitempty"`
	Message     string       `json:"message,omitempty"`
}

func (*ConsulBackupStatusHistory) DeepCopy

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

func (*ConsulBackupStatusHistory) DeepCopyInto

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

type ConsulBackupStorageSpec

type ConsulBackupStorageSpec struct {
	MinIO *BackupStorageMinIOSpec `json:"minio,omitempty"`
	GCS   *BackupStorageGCSSpec   `json:"gcs,omitempty"`
}

func (*ConsulBackupStorageSpec) DeepCopy

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

func (*ConsulBackupStorageSpec) DeepCopyInto

func (in *ConsulBackupStorageSpec) DeepCopyInto(out *ConsulBackupStorageSpec)

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

type GCPCredential

type GCPCredential struct {
	ServiceAccountJSON *corev1.SecretKeySelector `json:"serviceAccountJSON,omitempty"`
}

func (*GCPCredential) DeepCopy

func (in *GCPCredential) DeepCopy() *GCPCredential

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

func (*GCPCredential) DeepCopyInto

func (in *GCPCredential) DeepCopyInto(out *GCPCredential)

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

Jump to

Keyboard shortcuts

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