Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the guest v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=guest.kubevirt.io
Package v1alpha1 contains API Schema definitions for the guest v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=guest.kubevirt.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "guest.kubevirt.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type Fedora ¶
type Fedora struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FedoraSpec `json:"spec,omitempty"` Status FedoraStatus `json:"status,omitempty"` }
Fedora is the Schema for the fedoras API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*Fedora) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fedora.
func (*Fedora) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Fedora) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FedoraList ¶
type FedoraList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Fedora `json:"items"` }
FedoraList contains a list of Fedora
func (*FedoraList) DeepCopy ¶
func (in *FedoraList) DeepCopy() *FedoraList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FedoraList.
func (*FedoraList) DeepCopyInto ¶
func (in *FedoraList) DeepCopyInto(out *FedoraList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FedoraList) DeepCopyObject ¶
func (in *FedoraList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FedoraSpec ¶
type FedoraSpec struct { OSVersion string `json:"osVersion,omitempty"` VMName string `json:"vmName,omitempty"` Memory string `json:"memory,omitempty"` CPUCores uint32 `json:"cpuCores,omitempty"` CloudInit string `json:"cloudInit,omitempty"` }
FedoraSpec defines the desired state of Fedora +k8s:openapi-gen=true
func (*FedoraSpec) DeepCopy ¶
func (in *FedoraSpec) DeepCopy() *FedoraSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FedoraSpec.
func (*FedoraSpec) DeepCopyInto ¶
func (in *FedoraSpec) DeepCopyInto(out *FedoraSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FedoraStatus ¶
type FedoraStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html VMs []string `json:"vms"` }
FedoraStatus defines the observed state of Fedora +k8s:openapi-gen=true
func (*FedoraStatus) DeepCopy ¶
func (in *FedoraStatus) DeepCopy() *FedoraStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FedoraStatus.
func (*FedoraStatus) DeepCopyInto ¶
func (in *FedoraStatus) DeepCopyInto(out *FedoraStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.