Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the demo v1 API group +kubebuilder:object:generate=true +groupName=demo.example.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "demo.example.com", Version: "v1"} // 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 DemoVolume ¶
type DemoVolume struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DemoVolumeSpec `json:"spec,omitempty"`
Status DemoVolumeStatus `json:"status,omitempty"`
}
DemoVolume is the Schema for the demovolumes API
func (*DemoVolume) DeepCopy ¶
func (in *DemoVolume) DeepCopy() *DemoVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoVolume.
func (*DemoVolume) DeepCopyInto ¶
func (in *DemoVolume) DeepCopyInto(out *DemoVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DemoVolume) DeepCopyObject ¶
func (in *DemoVolume) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DemoVolumeList ¶
type DemoVolumeList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DemoVolume `json:"items"`
}
DemoVolumeList contains a list of DemoVolume
func (*DemoVolumeList) DeepCopy ¶
func (in *DemoVolumeList) DeepCopy() *DemoVolumeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoVolumeList.
func (*DemoVolumeList) DeepCopyInto ¶
func (in *DemoVolumeList) DeepCopyInto(out *DemoVolumeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DemoVolumeList) DeepCopyObject ¶
func (in *DemoVolumeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DemoVolumeSpec ¶
type DemoVolumeSpec struct {
Name string `json:"name,omitempty"`
Size int32 `json:"size,omitempty"`
}
DemoVolumeSpec defines the desired state of DemoVolume
func (*DemoVolumeSpec) DeepCopy ¶
func (in *DemoVolumeSpec) DeepCopy() *DemoVolumeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoVolumeSpec.
func (*DemoVolumeSpec) DeepCopyInto ¶
func (in *DemoVolumeSpec) DeepCopyInto(out *DemoVolumeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DemoVolumeStatus ¶
type DemoVolumeStatus struct {
Name string `json:"name,omitempty"`
}
DemoVolumeStatus defines the observed state of DemoVolume
func (*DemoVolumeStatus) DeepCopy ¶
func (in *DemoVolumeStatus) DeepCopy() *DemoVolumeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoVolumeStatus.
func (*DemoVolumeStatus) DeepCopyInto ¶
func (in *DemoVolumeStatus) DeepCopyInto(out *DemoVolumeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.