v1alpha2

package
v0.0.0-...-b36852d Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1alpha2 contains API Schema definitions for the managed v1alpha2 API group +kubebuilder:object:generate=true +groupName=managed.openshift.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "managed.openshift.io", Version: "v1alpha2"}

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

Types

type StorageBucket

type StorageBucket struct {
	// Name is the name of the storage bucket created to store Velero backup details
	// +kubebuilder:validation:MaxLength=63
	Name string `json:"name,omitempty"`

	// Provisioned is true once the bucket has been initially provisioned.
	Provisioned bool `json:"provisioned"`

	// LastSyncTimestamp is the time that the bucket policy was last synced.
	LastSyncTimestamp *metav1.Time `json:"lastSyncTimestamp,omitempty"`
}

StorageBucket contains details of the storage bucket for backups

func (*StorageBucket) DeepCopy

func (in *StorageBucket) DeepCopy() *StorageBucket

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

func (*StorageBucket) DeepCopyInto

func (in *StorageBucket) DeepCopyInto(out *StorageBucket)

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

type VeleroInstall

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

	Spec   VeleroInstallSpec   `json:"spec,omitempty"`
	Status VeleroInstallStatus `json:"status,omitempty"`
}

VeleroInstall is the Schema for the veleroinstalls API +kubebuilder:subresource:status +kubebuilder:resource:path=veleroinstalls,scope=Namespaced +kubebuilder:printcolumn:name="Bucket",type="string",JSONPath=".status.storageBucket.name",description="Name of the storage bucket" +kubebuilder:printcolumn:name="Provisioned",type="boolean",JSONPath=".status.storageBucket.provisioned",description="Has the storage bucket been successfully provisioned" +kubebuilder:printcolumn:name="Last Sync",type="date",JSONPath=".status.storageBucket.lastSyncTimestamp"

func (*VeleroInstall) DeepCopy

func (in *VeleroInstall) DeepCopy() *VeleroInstall

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

func (*VeleroInstall) DeepCopyInto

func (in *VeleroInstall) DeepCopyInto(out *VeleroInstall)

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

func (*VeleroInstall) DeepCopyObject

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

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

func (*VeleroInstall) StatusUpdate

func (i *VeleroInstall) StatusUpdate(reqLogger logr.Logger, kubeClient client.Client) error

func (*VeleroInstall) StorageBucketReconcileRequired

func (i *VeleroInstall) StorageBucketReconcileRequired(reconcilePeriod time.Duration) bool

type VeleroInstallList

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

VeleroInstallList contains a list of VeleroInstall

func (*VeleroInstallList) DeepCopy

func (in *VeleroInstallList) DeepCopy() *VeleroInstallList

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

func (*VeleroInstallList) DeepCopyInto

func (in *VeleroInstallList) DeepCopyInto(out *VeleroInstallList)

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

func (*VeleroInstallList) DeepCopyObject

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

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

type VeleroInstallSpec

type VeleroInstallSpec struct{}

VeleroInstallSpec defines the desired state of Velero

func (*VeleroInstallSpec) DeepCopy

func (in *VeleroInstallSpec) DeepCopy() *VeleroInstallSpec

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

func (*VeleroInstallSpec) DeepCopyInto

func (in *VeleroInstallSpec) DeepCopyInto(out *VeleroInstallSpec)

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

type VeleroInstallStatus

type VeleroInstallStatus struct {
	// StorageBucket contains details of the storage bucket for backups
	// +optional
	StorageBucket StorageBucket `json:"storageBucket,omitempty"`
}

VeleroInstallStatus defines the observed state of Velero

func (*VeleroInstallStatus) DeepCopy

func (in *VeleroInstallStatus) DeepCopy() *VeleroInstallStatus

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

func (*VeleroInstallStatus) DeepCopyInto

func (in *VeleroInstallStatus) DeepCopyInto(out *VeleroInstallStatus)

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