Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the node v1alpha1 API group +kubebuilder:object:generate=true +groupName=node.kubevirt.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "node.kubevirt.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 )
Functions ¶
This section is empty.
Types ¶
type SwapStrategy ¶
type SwapStrategy string
const ( Orthogonal SwapStrategy = "orthogonal" AllowSpike SwapStrategy = "allow-spike" )
type Wasp ¶
type Wasp struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WaspSpec `json:"spec,omitempty"` Status WaspStatus `json:"status,omitempty"` }
Wasp is the Schema for the wasps API
func (*Wasp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Wasp.
func (*Wasp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Wasp) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WaspCondition ¶
type WaspCondition struct { Type WaspConditionType `json:"type"` Status metav1.ConditionStatus `json:"status"` // +optional // +nullable LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"` // +optional // +nullable LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` Reason string `json:"reason,omitempty"` Message string `json:"message,omitempty"` }
func (*WaspCondition) DeepCopy ¶
func (in *WaspCondition) DeepCopy() *WaspCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WaspCondition.
func (*WaspCondition) DeepCopyInto ¶
func (in *WaspCondition) DeepCopyInto(out *WaspCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WaspConditionType ¶
type WaspConditionType string
const ( SwapConfigurtaionConditionDeployed WaspConditionType = "Deployed" SwapConfigurtaionConditionDeployInProgress WaspConditionType = "DeployInProgress" SwapConfigurtaionConditionFailed WaspConditionType = "Failed" )
type WaspList ¶
type WaspList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Wasp `json:"items"` }
WaspList contains a list of Wasp
func (*WaspList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WaspList.
func (*WaspList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WaspList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WaspSpec ¶
type WaspSpec struct { // Defines the reclaim strategy with regards to swapping Strategy SwapStrategy `json:"strategy,omitempty"` // The size of the swap file SwapFileSize *resource.Quantity `json:"swapFileSize,omitempty"` // The name of the swap file SwapFileName string `json:"swapFileName,omitempty"` // Path where the swap file should be created SwapFilePath string `json:"SwapFilePath,omitempty"` // The chroot path of the host root filesystem FsRoot string `json:"fsRoot,omitempty"` // contains filtered or unexported fields }
WaspSpec defines the desired state of Wasp
func (*WaspSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WaspSpec.
func (*WaspSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WaspStatus ¶
type WaspStatus struct { // +operator-sdk:csv:customresourcedefinitions:type=status Conditions []WaspCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
WaspStatus defines the observed state of Wasp
func (*WaspStatus) DeepCopy ¶
func (in *WaspStatus) DeepCopy() *WaspStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WaspStatus.
func (*WaspStatus) DeepCopyInto ¶
func (in *WaspStatus) DeepCopyInto(out *WaspStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.