Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the csi v1 API group +kubebuilder:object:generate=true +groupName=csi.ibm.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "csi.ibm.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 CSISidecar ¶
type CSISidecar struct { // The name of the csi sidecar image Name string `json:"name"` // The repository of the csi sidecar image Repository string `json:"repository"` // The tag of the csi sidecar image Tag string `json:"tag"` // The pullPolicy of the csi sidecar image // +kubebuilder:validation:Optional ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy"` }
func (*CSISidecar) DeepCopy ¶
func (in *CSISidecar) DeepCopy() *CSISidecar
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSISidecar.
func (*CSISidecar) DeepCopyInto ¶
func (in *CSISidecar) DeepCopyInto(out *CSISidecar)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DriverPhase ¶
type DriverPhase string
const ( DriverPhaseNone DriverPhase = "" DriverPhaseCreating DriverPhase = "Creating" DriverPhaseRunning DriverPhase = "Running" DriverPhaseFailed DriverPhase = "Failed" )
type IBMBlockCSI ¶
type IBMBlockCSI struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMBlockCSISpec `json:"spec,omitempty"` Status IBMBlockCSIStatus `json:"status,omitempty"` }
IBMBlockCSI is the Schema for the ibmblockcsis API +kubebuilder:resource:path=ibmblockcsis,scope=Namespaced,shortName=ibc
func (*IBMBlockCSI) DeepCopy ¶
func (in *IBMBlockCSI) DeepCopy() *IBMBlockCSI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMBlockCSI.
func (*IBMBlockCSI) DeepCopyInto ¶
func (in *IBMBlockCSI) DeepCopyInto(out *IBMBlockCSI)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMBlockCSI) DeepCopyObject ¶
func (in *IBMBlockCSI) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMBlockCSIControllerSpec ¶
type IBMBlockCSIControllerSpec struct { Repository string `json:"repository"` Tag string `json:"tag"` // +kubebuilder:validation:Optional ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy"` // +kubebuilder:validation:Optional Affinity *corev1.Affinity `json:"affinity,omitempty"` // +kubebuilder:validation:Optional Tolerations []corev1.Toleration `json:"tolerations,omitempty"` }
IBMBlockCSIControllerSpec defines the desired state of IBMBlockCSIController
func (*IBMBlockCSIControllerSpec) DeepCopy ¶
func (in *IBMBlockCSIControllerSpec) DeepCopy() *IBMBlockCSIControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMBlockCSIControllerSpec.
func (*IBMBlockCSIControllerSpec) DeepCopyInto ¶
func (in *IBMBlockCSIControllerSpec) DeepCopyInto(out *IBMBlockCSIControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMBlockCSIList ¶
type IBMBlockCSIList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IBMBlockCSI `json:"items"` }
IBMBlockCSIList contains a list of IBMBlockCSI
func (*IBMBlockCSIList) DeepCopy ¶
func (in *IBMBlockCSIList) DeepCopy() *IBMBlockCSIList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMBlockCSIList.
func (*IBMBlockCSIList) DeepCopyInto ¶
func (in *IBMBlockCSIList) DeepCopyInto(out *IBMBlockCSIList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMBlockCSIList) DeepCopyObject ¶
func (in *IBMBlockCSIList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMBlockCSINodeSpec ¶
type IBMBlockCSINodeSpec struct { Repository string `json:"repository"` Tag string `json:"tag"` // +kubebuilder:validation:Optional ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy"` // +kubebuilder:validation:Optional Affinity *corev1.Affinity `json:"affinity,omitempty"` // +kubebuilder:validation:Optional Tolerations []corev1.Toleration `json:"tolerations,omitempty"` }
IBMBlockCSINodeSpec defines the desired state of IBMBlockCSINode
func (*IBMBlockCSINodeSpec) DeepCopy ¶
func (in *IBMBlockCSINodeSpec) DeepCopy() *IBMBlockCSINodeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMBlockCSINodeSpec.
func (*IBMBlockCSINodeSpec) DeepCopyInto ¶
func (in *IBMBlockCSINodeSpec) DeepCopyInto(out *IBMBlockCSINodeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMBlockCSISpec ¶
type IBMBlockCSISpec struct { Controller IBMBlockCSIControllerSpec `json:"controller"` Node IBMBlockCSINodeSpec `json:"node"` // +kubebuilder:validation:Optional Sidecars []CSISidecar `json:"sidecars,omitempty"` // +kubebuilder:validation:Optional ImagePullSecrets []string `json:"imagePullSecrets,omitempty"` HealthPort uint16 `json:"healthPort,omitempty"` }
IBMBlockCSISpec defines the desired state of IBMBlockCSI
func (*IBMBlockCSISpec) DeepCopy ¶
func (in *IBMBlockCSISpec) DeepCopy() *IBMBlockCSISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMBlockCSISpec.
func (*IBMBlockCSISpec) DeepCopyInto ¶
func (in *IBMBlockCSISpec) DeepCopyInto(out *IBMBlockCSISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMBlockCSIStatus ¶
type IBMBlockCSIStatus struct { // Phase is the driver running phase Phase DriverPhase `json:"phase"` ControllerReady bool `json:"controllerReady"` NodeReady bool `json:"nodeReady"` // Version is the current driver version Version string `json:"version"` }
IBMBlockCSIStatus defines the observed state of IBMBlockCSI
func (*IBMBlockCSIStatus) DeepCopy ¶
func (in *IBMBlockCSIStatus) DeepCopy() *IBMBlockCSIStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMBlockCSIStatus.
func (*IBMBlockCSIStatus) DeepCopyInto ¶
func (in *IBMBlockCSIStatus) DeepCopyInto(out *IBMBlockCSIStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.