Documentation ¶
Overview ¶
Package nodecrd contains API Schema definitions for the csi node v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersionCSIBMNode is group version used to register these objects GroupVersionCSIBMNode = schema.GroupVersion{Group: v1.CSICRsGroupVersion, Version: v1.Version} // SchemeBuilderACR is used to add go types to the GroupVersionKind scheme SchemeBuilderACR = &crScheme.Builder{GroupVersion: GroupVersionCSIBMNode} // AddToSchemeCSIBMNode adds the types in this group-version to the given scheme. AddToSchemeCSIBMNode = SchemeBuilderACR.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec api.Node `json:"spec,omitempty"` }
+kubebuilder:resource:scope=Cluster +kubebuilder:printcolumn:name="UUID",type="string",JSONPath=".spec.UUID",description="Node Id" +kubebuilder:printcolumn:name="ADDRESSES",type="string",JSONPath=".spec.Addresses",description="Hostname and internal Node ip" +kubebuilder:resource:scope=Cluster,shortName={csibmnode,csibmnodes} Node is the Schema for the Node API
func (*Node) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.
func (*Node) DeepCopyInto ¶
func (*Node) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeList ¶
type NodeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Node `json:"items"` }
NodeList contains a list of Node +kubebuilder:object:generate=true
func (*NodeList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList.
func (*NodeList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.