Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the acn v1alpha1 API group +kubebuilder:object:generate=true +groupName=acn.azure.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "acn.azure.com", 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 NodeInfo ¶
type NodeInfo struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec NodeInfoSpec `json:"spec,omitempty"`
}
NodeInfo is the Schema for the NodeInfo API +kubebuilder:resource:scope=Namespaced +kubebuilder:resource:shortName=ni +kubebuilder:resource:path=nodeinfo +kubebuilder:printcolumn:name="VMUniqueID",type=string,priority=0,JSONPath=`.spec.vmUniqueID`
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 {
// +kubebuilder:validation:Optional
VMUniqueID string `json:"vmUniqueID,omitempty"`
}
NodeInfoSpec defines the desired state of NodeInfo
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.