Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the evms v1alpha1 API group +kubebuilder:object:generate=true +groupName=evms.kaph.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "evms.kaph.io", 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 )
var SchemeGroupVersion = schema.GroupVersion{Group: evms.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ElasticVirtualMachine ¶
type ElasticVirtualMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ElasticVirtualMachineSpec `json:"spec,omitempty"` Status ElasticVirtualMachineStatus `json:"status,omitempty"` }
ElasticVirtualMachine is the Schema for the elasticvirtualmachines API
func (*ElasticVirtualMachine) DeepCopy ¶
func (in *ElasticVirtualMachine) DeepCopy() *ElasticVirtualMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticVirtualMachine.
func (*ElasticVirtualMachine) DeepCopyInto ¶
func (in *ElasticVirtualMachine) DeepCopyInto(out *ElasticVirtualMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElasticVirtualMachine) DeepCopyObject ¶
func (in *ElasticVirtualMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElasticVirtualMachineList ¶
type ElasticVirtualMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ElasticVirtualMachine `json:"items"` }
ElasticVirtualMachineList contains a list of ElasticVirtualMachine
func (*ElasticVirtualMachineList) DeepCopy ¶
func (in *ElasticVirtualMachineList) DeepCopy() *ElasticVirtualMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticVirtualMachineList.
func (*ElasticVirtualMachineList) DeepCopyInto ¶
func (in *ElasticVirtualMachineList) DeepCopyInto(out *ElasticVirtualMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElasticVirtualMachineList) DeepCopyObject ¶
func (in *ElasticVirtualMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElasticVirtualMachineSpec ¶
type ElasticVirtualMachineSpec struct { Image string `json:"image"` CPU string `json:"cpu"` Memory string `json:"memory"` // +optional Hostname string `json:"hostname"` // +optional IP string `json:"ip"` }
ElasticVirtualMachineSpec defines the desired state of ElasticVirtualMachine
func (*ElasticVirtualMachineSpec) DeepCopy ¶
func (in *ElasticVirtualMachineSpec) DeepCopy() *ElasticVirtualMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticVirtualMachineSpec.
func (*ElasticVirtualMachineSpec) DeepCopyInto ¶
func (in *ElasticVirtualMachineSpec) DeepCopyInto(out *ElasticVirtualMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticVirtualMachineStatus ¶
type ElasticVirtualMachineStatus struct { Conditions []appsv1.DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"` Image string `json:"image"` CPU string `json:"cpu"` Memory string `json:"memory"` Hostname string `json:"hostname"` IP string `json:"ip"` }
ElasticVirtualMachineStatus defines the observed state of ElasticVirtualMachine
func (*ElasticVirtualMachineStatus) DeepCopy ¶
func (in *ElasticVirtualMachineStatus) DeepCopy() *ElasticVirtualMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticVirtualMachineStatus.
func (*ElasticVirtualMachineStatus) DeepCopyInto ¶
func (in *ElasticVirtualMachineStatus) DeepCopyInto(out *ElasticVirtualMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.