nodecrd

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 2

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

View Source
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"`
}

Node is the Schema for the Node API +kubebuilder:resource:scope=Cluster,shortName={csibmnode,csibmnodes} +kubebuilder:printcolumn:name="UUID",type="string",JSONPath=".spec.UUID",description="Node Id" +kubebuilder:printcolumn:name="HOSTNAME",type="string",JSONPath=".spec.Addresses.Hostname",description="Node hostname" +kubebuilder:printcolumn:name="NODE_IP",type="string",JSONPath=".spec.Addresses.InternalIP",description="Node ip"

func (*Node) DeepCopy

func (in *Node) DeepCopy() *Node

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

func (*Node) DeepCopyInto

func (in *Node) DeepCopyInto(out *Node)

func (*Node) DeepCopyObject

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

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

func (in *NodeList) DeepCopy() *NodeList

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

func (*NodeList) DeepCopyInto

func (in *NodeList) DeepCopyInto(out *NodeList)

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

func (*NodeList) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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