Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the csi v1 API group +k8s:deepcopy-gen=package,register +groupName=csi.ibm.com
Package v1 contains API Schema definitions for the csi v1 API group +k8s:deepcopy-gen=package,register +groupName=csi.ibm.com
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type CSISidecar
- type Config
- type ConfigList
- type ConfigSpec
- type ConfigStatus
- type DriverPhase
- type IBMBlockCSI
- type IBMBlockCSIControllerSpec
- type IBMBlockCSIList
- type IBMBlockCSINodeSpec
- type IBMBlockCSISpec
- type IBMBlockCSIStatus
- type NodeAgentPhase
- type NodeAgentSpec
- type NodeAgentStatus
- type NodeInfo
- type NodeInfoList
- type NodeInfoSpec
- type NodeInfoStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "csi.ibm.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
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 Config ¶
type Config struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConfigSpec `json:"spec,omitempty"` Status ConfigStatus `json:"status,omitempty"` }
Config is the Schema for the configs API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=configs,scope=Namespaced
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Config) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigList ¶
type ConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Config `json:"items"` }
ConfigList contains a list of Config
func (*ConfigList) DeepCopy ¶
func (in *ConfigList) DeepCopy() *ConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigList.
func (*ConfigList) DeepCopyInto ¶
func (in *ConfigList) DeepCopyInto(out *ConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigList) DeepCopyObject ¶
func (in *ConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigSpec ¶
type ConfigSpec struct { DefineHost bool `json:"defineHost"` NodeAgent NodeAgentSpec `json:"nodeAgent"` }
ConfigSpec defines the desired state of Config +k8s:openapi-gen=true
func (*ConfigSpec) DeepCopy ¶
func (in *ConfigSpec) DeepCopy() *ConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSpec.
func (*ConfigSpec) DeepCopyInto ¶
func (in *ConfigSpec) DeepCopyInto(out *ConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigStatus ¶
type ConfigStatus struct { // Phase is the driver running phase NodeAgent NodeAgentStatus `json:"nodeAgent"` }
ConfigStatus defines the observed state of Config +k8s:openapi-gen=true
func (*ConfigStatus) DeepCopy ¶
func (in *ConfigStatus) DeepCopy() *ConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigStatus.
func (*ConfigStatus) DeepCopyInto ¶
func (in *ConfigStatus) DeepCopyInto(out *ConfigStatus)
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 +k8s:openapi-gen=true +kubebuilder:subresource:status +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"` // +listType=set // +kubebuilder:validation:Optional Tolerations []corev1.Toleration `json:"tolerations"` }
IBMBlockCSIControllerSpec defines the desired state of IBMBlockCSIController +k8s:openapi-gen=true
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"` // +listType=set // +kubebuilder:validation:Optional Tolerations []corev1.Toleration `json:"tolerations"` }
IBMBlockCSINodeSpec defines the desired state of IBMBlockCSINode +k8s:openapi-gen=true
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"` // +listType=set // +kubebuilder:validation:Optional Sidecars []CSISidecar `json:"sidecars"` // +listType=set // +kubebuilder:validation:Optional ImagePullSecrets []string `json:"imagePullSecrets"` }
IBMBlockCSISpec defines the desired state of IBMBlockCSI +k8s:openapi-gen=true
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 +k8s:openapi-gen=true
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.
type NodeAgentPhase ¶
type NodeAgentPhase string
const ( NodeAgentPhaseDisabled NodeAgentPhase = "Disabled" NodeAgentPhaseCreating NodeAgentPhase = "Creating" NodeAgentPhaseRunning NodeAgentPhase = "Running" NodeAgentPhaseFailed NodeAgentPhase = "Failed" )
type NodeAgentSpec ¶
type NodeAgentSpec struct { // The repository of the node agent image Repository string `json:"repository"` // The tag of the node agent image Tag string `json:"tag"` // The port of the node agent server Port string `json:"port"` }
NodeAgentSpec defines the desired state of NodeAgent +k8s:openapi-gen=true
func (*NodeAgentSpec) DeepCopy ¶
func (in *NodeAgentSpec) DeepCopy() *NodeAgentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAgentSpec.
func (*NodeAgentSpec) DeepCopyInto ¶
func (in *NodeAgentSpec) DeepCopyInto(out *NodeAgentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeAgentStatus ¶
type NodeAgentStatus struct { // Phase is the NodeAgent running phase Phase NodeAgentPhase `json:"phase"` }
NodeAgentStatus defines the current state of NodeAgent +k8s:openapi-gen=true
func (*NodeAgentStatus) DeepCopy ¶
func (in *NodeAgentStatus) DeepCopy() *NodeAgentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAgentStatus.
func (*NodeAgentStatus) DeepCopyInto ¶
func (in *NodeAgentStatus) DeepCopyInto(out *NodeAgentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeInfo ¶
type NodeInfo struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NodeInfoSpec `json:"spec,omitempty"` Status NodeInfoStatus `json:"status,omitempty"` }
NodeInfo is the Schema for the nodeinfos API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=nodeinfos,scope=Cluster
func (*NodeInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfo.
func (*NodeInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeInfo) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeInfoList ¶
type NodeInfoList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NodeInfo `json:"items"` }
NodeInfoList contains a list of NodeInfo
func (*NodeInfoList) DeepCopy ¶
func (in *NodeInfoList) DeepCopy() *NodeInfoList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfoList.
func (*NodeInfoList) DeepCopyInto ¶
func (in *NodeInfoList) DeepCopyInto(out *NodeInfoList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeInfoList) DeepCopyObject ¶
func (in *NodeInfoList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeInfoSpec ¶
type NodeInfoSpec struct { }
NodeInfoSpec defines the desired state of NodeInfo +k8s:openapi-gen=true
func (*NodeInfoSpec) DeepCopy ¶
func (in *NodeInfoSpec) DeepCopy() *NodeInfoSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfoSpec.
func (*NodeInfoSpec) DeepCopyInto ¶
func (in *NodeInfoSpec) DeepCopyInto(out *NodeInfoSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeInfoStatus ¶
type NodeInfoStatus struct { Iqns []string `json:"iqns"` Wwpns []string `json:"wwpns"` DefinedOnStorages []string `json:"definedOnStorages"` }
NodeInfoStatus defines the observed state of NodeInfo +k8s:openapi-gen=true
func (*NodeInfoStatus) DeepCopy ¶
func (in *NodeInfoStatus) DeepCopy() *NodeInfoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfoStatus.
func (*NodeInfoStatus) DeepCopyInto ¶
func (in *NodeInfoStatus) DeepCopyInto(out *NodeInfoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.