v1alpha2

package
Version: v0.0.0-...-3e000fd Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha2 contains API Schema definitions for the managed v1alpha2 API group +k8s:deepcopy-gen=package,register +groupName=managed.openshift.io

Package v1alpha2 contains API Schema definitions for the managed v1alpha2 API group +k8s:deepcopy-gen=package,register +groupName=managed.openshift.io

Index

Constants

This section is empty.

Variables

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

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

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 +k8s:openapi-gen=true

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 +k8s:openapi-gen=true +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 VeleroInstalls

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 +k8s:openapi-gen=true

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 +k8s:openapi-gen=true

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