v1

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Overview

Package v1 contains API Schema definitions for the volumegroup v1 API group +kubebuilder:object:generate=true +groupName=volumegroup.storage.dell.com

Index

Constants

View Source
const (
	// MemberReclaimDelete to delete VG
	MemberReclaimDelete = "Delete"
	// MemberReclaimRetain to retail VG
	MemberReclaimRetain = "Retain"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "volumegroup.storage.dell.com", 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 DellCsiVolumeGroupSnapshot

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

	Spec   DellCsiVolumeGroupSnapshotSpec   `json:"spec,omitempty"`
	Status DellCsiVolumeGroupSnapshotStatus `json:"status,omitempty"`
}

DellCsiVolumeGroupSnapshot is the Schema for the dellcsivolumegroupsnapshots API

func (*DellCsiVolumeGroupSnapshot) DeepCopy

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

func (*DellCsiVolumeGroupSnapshot) DeepCopyInto

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

func (*DellCsiVolumeGroupSnapshot) DeepCopyObject

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

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

type DellCsiVolumeGroupSnapshotList

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

DellCsiVolumeGroupSnapshotList contains a list of DellCsiVolumeGroupSnapshot

func (*DellCsiVolumeGroupSnapshotList) DeepCopy

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

func (*DellCsiVolumeGroupSnapshotList) DeepCopyInto

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

func (*DellCsiVolumeGroupSnapshotList) DeepCopyObject

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

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

type DellCsiVolumeGroupSnapshotSpec

type DellCsiVolumeGroupSnapshotSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	DriverName          string              `json:"driverName"`
	MemberReclaimPolicy MemberReclaimPolicy `json:"memberReclaimPolicy"`
	Volumesnapshotclass string              `json:"volumesnapshotclass"`
	PvcLabel            string              `json:"pvcLabel,omitempty"`
	PvcList             []string            `json:"pvcList,omitempty"`
	Timeout             time.Duration       `json:"timeout,omitempty"`
}

DellCsiVolumeGroupSnapshotSpec defines the desired state of DellCsiVolumeGroupSnapshot

func (*DellCsiVolumeGroupSnapshotSpec) DeepCopy

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

func (*DellCsiVolumeGroupSnapshotSpec) DeepCopyInto

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

type DellCsiVolumeGroupSnapshotStatus

type DellCsiVolumeGroupSnapshotStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	SnapshotGroupID   string      `json:"snapshotGroupID"`
	SnapshotGroupName string      `json:"snapshotGroupName"`
	Snapshots         string      `json:"snapshots"`
	CreationTime      metav1.Time `json:"creationTime,omitempty"`
	ReadyToUse        bool        `json:"readyToUse,omitempty"`
	ContentReadyToUse bool        `json:"contentReadyToUse,omitempty"`
	Status            string      `json:"status,omitempty"`
}

DellCsiVolumeGroupSnapshotStatus defines the observed state of DellCsiVolumeGroupSnapshot

func (*DellCsiVolumeGroupSnapshotStatus) DeepCopy

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

func (*DellCsiVolumeGroupSnapshotStatus) DeepCopyInto

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

type MemberReclaimPolicy

type MemberReclaimPolicy string

MemberReclaimPolicy describes a policy for end-of-life maintenance of VGS +kubebuilder:validation:Enum=Delete;Retain

Jump to

Keyboard shortcuts

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