Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the demo v1 API group +k8s:deepcopy-gen=package,register +groupName=demo.example.com
Package v1 contains API Schema definitions for the demo v1 API group +k8s:deepcopy-gen=package,register +groupName=demo.example.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "demo.example.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type Demo ¶
type Demo struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DemoSpec `json:"spec,omitempty"` Status DemoStatus `json:"status,omitempty"` }
Demo is the Schema for the demos API +kubebuilder:subresource:status +kubebuilder:resource:path=demos,scope=Namespaced
func (*Demo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Demo.
func (*Demo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Demo) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DemoList ¶
type DemoList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Demo `json:"items"` }
DemoList contains a list of Demo
func (*DemoList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoList.
func (*DemoList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DemoList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DemoSpec ¶
DemoSpec defines the desired state of Demo
func (*DemoSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoSpec.
func (*DemoSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DemoStatus ¶
type DemoStatus struct {
Nodes []string `json:"nodes"`
}
DemoStatus defines the observed state of Demo
func (*DemoStatus) DeepCopy ¶
func (in *DemoStatus) DeepCopy() *DemoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoStatus.
func (*DemoStatus) DeepCopyInto ¶
func (in *DemoStatus) DeepCopyInto(out *DemoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.