Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the odf v1alpha1 API group +kubebuilder:object:generate=true +groupName=odf.openshift.io
Index ¶
Constants ¶
const ( //ConditionStorageSystemInvalid communicates if storagesystem CR is invalid ConditionStorageSystemInvalid conditionsv1.ConditionType = "StorageSystemInvalid" // ConditionVendorCsvReady communicates if CSV is ready ConditionVendorCsvReady conditionsv1.ConditionType = "VendorCsvReady" // ConditionVendorSystemPresent communicates if backend storage CR is present in the cluster ConditionVendorSystemPresent conditionsv1.ConditionType = "VendorSystemPresent" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "odf.openshift.io", Version: "v1alpha1"} // 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 StorageSystem ¶
type StorageSystem struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StorageSystemSpec `json:"spec,omitempty"` Status StorageSystemStatus `json:"status,omitempty"` }
StorageSystem is the Schema for the storagesystems API
func (*StorageSystem) DeepCopy ¶
func (in *StorageSystem) DeepCopy() *StorageSystem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSystem.
func (*StorageSystem) DeepCopyInto ¶
func (in *StorageSystem) DeepCopyInto(out *StorageSystem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageSystem) DeepCopyObject ¶
func (in *StorageSystem) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StorageSystemList ¶
type StorageSystemList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []StorageSystem `json:"items"` }
StorageSystemList contains a list of StorageSystem
func (*StorageSystemList) DeepCopy ¶
func (in *StorageSystemList) DeepCopy() *StorageSystemList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSystemList.
func (*StorageSystemList) DeepCopyInto ¶
func (in *StorageSystemList) DeepCopyInto(out *StorageSystemList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageSystemList) DeepCopyObject ¶
func (in *StorageSystemList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StorageSystemSpec ¶
type StorageSystemSpec struct { //+kubebuilder:validation:Required // Name describes the name of managed storage vendor CR Name string `json:"name"` //+kubebuilder:validation:Required // Namespace describes the namespace of managed storage vendor CR Namespace string `json:"namespace"` //+kubebuilder:validation:Optional //+kubebuilder:default:=storagecluster.ocs.openshift.io/v1 // Kind describes the kind of storage vendor Kind StorageKind `json:"kind,omitempty"` }
StorageSystemSpec defines the desired state of StorageSystem
func (*StorageSystemSpec) DeepCopy ¶
func (in *StorageSystemSpec) DeepCopy() *StorageSystemSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSystemSpec.
func (*StorageSystemSpec) DeepCopyInto ¶
func (in *StorageSystemSpec) DeepCopyInto(out *StorageSystemSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageSystemStatus ¶
type StorageSystemStatus struct { // Conditions describes the state of the StorageSystem resource. // +optional Conditions []conditionsv1.Condition `json:"conditions,omitempty"` }
StorageSystemStatus defines the observed state of StorageSystem
func (*StorageSystemStatus) DeepCopy ¶
func (in *StorageSystemStatus) DeepCopy() *StorageSystemStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSystemStatus.
func (*StorageSystemStatus) DeepCopyInto ¶
func (in *StorageSystemStatus) DeepCopyInto(out *StorageSystemStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.