v1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the backup v1 API group +kubebuilder:object:generate=true +groupName=backup.yektanet.tech

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "backup.yektanet.tech", Version: "v1"}

	// 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 RedisBackup

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

	Spec   RedisBackupSpec   `json:"spec,omitempty"`
	Status RedisBackupStatus `json:"status,omitempty"`
}

RedisBackup is the Schema for the redisbackups API

func (*RedisBackup) DeepCopy

func (in *RedisBackup) DeepCopy() *RedisBackup

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

func (*RedisBackup) DeepCopyInto

func (in *RedisBackup) DeepCopyInto(out *RedisBackup)

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

func (*RedisBackup) DeepCopyObject

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

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

type RedisBackupList

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

RedisBackupList contains a list of RedisBackup

func (*RedisBackupList) DeepCopy

func (in *RedisBackupList) DeepCopy() *RedisBackupList

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

func (*RedisBackupList) DeepCopyInto

func (in *RedisBackupList) DeepCopyInto(out *RedisBackupList)

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

func (*RedisBackupList) DeepCopyObject

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

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

type RedisBackupRetentionSpec added in v0.2.0

type RedisBackupRetentionSpec struct {
	KeepLast    int32 `json:"keepLast,omitempty"`
	KeepHourly  int32 `json:"keepHourly,omitempty"`
	KeepDaily   int32 `json:"keepDaily,omitempty"`
	KeepWeekly  int32 `json:"keepWeekly,omitempty"`
	KeepMonthly int32 `json:"keepMonthly,omitempty"`
	KeepYearly  int32 `json:"keepYearly,omitempty"`
}

RedisBackupRetentionSpec defines the desired state of backups' retention

func (*RedisBackupRetentionSpec) DeepCopy added in v0.2.0

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

func (*RedisBackupRetentionSpec) DeepCopyInto added in v0.2.0

func (in *RedisBackupRetentionSpec) DeepCopyInto(out *RedisBackupRetentionSpec)

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

type RedisBackupSchedule

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

	Spec   RedisBackupScheduleSpec   `json:"spec,omitempty"`
	Status RedisBackupScheduleStatus `json:"status,omitempty"`
}

RedisBackupSchedule is the Schema for the redisbackupschedules API

func (*RedisBackupSchedule) DeepCopy

func (in *RedisBackupSchedule) DeepCopy() *RedisBackupSchedule

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

func (*RedisBackupSchedule) DeepCopyInto

func (in *RedisBackupSchedule) DeepCopyInto(out *RedisBackupSchedule)

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

func (*RedisBackupSchedule) DeepCopyObject

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

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

type RedisBackupScheduleList

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

RedisBackupScheduleList contains a list of RedisBackupSchedule

func (*RedisBackupScheduleList) DeepCopy

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

func (*RedisBackupScheduleList) DeepCopyInto

func (in *RedisBackupScheduleList) DeepCopyInto(out *RedisBackupScheduleList)

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

func (*RedisBackupScheduleList) DeepCopyObject

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

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

type RedisBackupScheduleRetentionSpec added in v0.2.0

type RedisBackupScheduleRetentionSpec struct {
	KeepLast    int32 `json:"keepLast,omitempty"`
	KeepHourly  int32 `json:"keepHourly,omitempty"`
	KeepDaily   int32 `json:"keepDaily,omitempty"`
	KeepWeekly  int32 `json:"keepWeekly,omitempty"`
	KeepMonthly int32 `json:"keepMonthly,omitempty"`
	KeepYearly  int32 `json:"keepYearly,omitempty"`
}

RedisBackupRetentionSpec defines the desired state of backups' retention

func (*RedisBackupScheduleRetentionSpec) DeepCopy added in v0.2.0

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

func (*RedisBackupScheduleRetentionSpec) DeepCopyInto added in v0.2.0

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

type RedisBackupScheduleSpec

type RedisBackupScheduleSpec struct {
	Image               string                           `json:"image,omitempty"`
	URI                 string                           `json:"uri,omitempty"`
	TTL                 bool                             `json:"ttl,omitempty"`
	URISecretName       string                           `json:"uriSecretName,omitempty"`
	AWSConfigSecretName string                           `json:"awsConfigSecretName,omitempty"`
	RedisType           string                           `json:"redisType,omitempty"`
	Db                  int32                            `json:"db,omitempty"`
	Schedule            string                           `json:"schedule,omitempty"`
	Bucket              string                           `json:"bucket,omitempty"`
	S3EndpointUrl       string                           `json:"s3EndpointUrl,omitempty"`
	RetentionSpec       RedisBackupScheduleRetentionSpec `json:"retentionSpec,omitempty"`
}

RedisBackupScheduleSpec defines the desired state of RedisBackupSchedule

func (*RedisBackupScheduleSpec) DeepCopy

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

func (*RedisBackupScheduleSpec) DeepCopyInto

func (in *RedisBackupScheduleSpec) DeepCopyInto(out *RedisBackupScheduleSpec)

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

type RedisBackupScheduleStatus

type RedisBackupScheduleStatus struct {
}

RedisBackupScheduleStatus defines the observed state of RedisBackupSchedule

func (*RedisBackupScheduleStatus) DeepCopy

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

func (*RedisBackupScheduleStatus) DeepCopyInto

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

type RedisBackupSpec

type RedisBackupSpec struct {
	Image               string                   `json:"image,omitempty"`
	URI                 string                   `json:"uri,omitempty"`
	TTL                 bool                     `json:"ttl,omitempty"`
	URISecretName       string                   `json:"uriSecretName,omitempty"`
	AWSConfigSecretName string                   `json:"awsConfigSecretName,omitempty"`
	RedisType           string                   `json:"redisType,omitempty"`
	Db                  int32                    `json:"db,omitempty"`
	Bucket              string                   `json:"bucket,omitempty"`
	S3EndpointUrl       string                   `json:"s3EndpointUrl,omitempty"`
	RetentionSpec       RedisBackupRetentionSpec `json:"retentionSpec,omitempty"`
}

RedisBackupSpec defines the desired state of RedisBackup

func (*RedisBackupSpec) DeepCopy

func (in *RedisBackupSpec) DeepCopy() *RedisBackupSpec

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

func (*RedisBackupSpec) DeepCopyInto

func (in *RedisBackupSpec) DeepCopyInto(out *RedisBackupSpec)

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

type RedisBackupStatus

type RedisBackupStatus struct {
}

RedisBackupStatus defines the observed state of RedisBackup

func (*RedisBackupStatus) DeepCopy

func (in *RedisBackupStatus) DeepCopy() *RedisBackupStatus

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

func (*RedisBackupStatus) DeepCopyInto

func (in *RedisBackupStatus) DeepCopyInto(out *RedisBackupStatus)

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