Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the sample v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=sample.lifecycle.kubevirt.io
Package v1alpha1 contains API Schema definitions for the sample v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=sample.lifecycle.kubevirt.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "sample.lifecycle.kubevirt.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme may be used to add all resources defined in the project to a Scheme AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type SampleConfig ¶
type SampleConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SampleConfigSpec `json:"spec,omitempty"` Status SampleConfigStatus `json:"status,omitempty"` }
SampleConfig is the Schema for the sampleconfigs API +kubebuilder:subresource:status +kubebuilder:resource:path=sampleconfigs,scope=Cluster +genclient +genclient:nonNamespaced
func (*SampleConfig) DeepCopy ¶
func (in *SampleConfig) DeepCopy() *SampleConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SampleConfig.
func (*SampleConfig) DeepCopyInto ¶
func (in *SampleConfig) DeepCopyInto(out *SampleConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SampleConfig) DeepCopyObject ¶
func (in *SampleConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SampleConfigList ¶
type SampleConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SampleConfig `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object SampleConfigList contains a list of SampleConfig
func (*SampleConfigList) DeepCopy ¶
func (in *SampleConfigList) DeepCopy() *SampleConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SampleConfigList.
func (*SampleConfigList) DeepCopyInto ¶
func (in *SampleConfigList) DeepCopyInto(out *SampleConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SampleConfigList) DeepCopyObject ¶
func (in *SampleConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SampleConfigSpec ¶
type SampleConfigSpec struct { // Rules on which nodes controller pod(s) will be scheduled // +optional Infra sdkapi.NodePlacement `json:"infra,omitempty"` }
SampleConfigSpec defines the desired state of SampleConfig
func (*SampleConfigSpec) DeepCopy ¶
func (in *SampleConfigSpec) DeepCopy() *SampleConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SampleConfigSpec.
func (*SampleConfigSpec) DeepCopyInto ¶
func (in *SampleConfigSpec) DeepCopyInto(out *SampleConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SampleConfigStatus ¶
SampleConfigStatus defines the observed state of SampleConfig
func (*SampleConfigStatus) DeepCopy ¶
func (in *SampleConfigStatus) DeepCopy() *SampleConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SampleConfigStatus.
func (*SampleConfigStatus) DeepCopyInto ¶
func (in *SampleConfigStatus) DeepCopyInto(out *SampleConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.