Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the template v1alpha1 API group +kubebuilder:object:generate=true +groupName=crownlabs.polito.it
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "crownlabs.polito.it", 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 LabTemplate ¶
type LabTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LabTemplateSpec `json:"spec,omitempty"` Status LabTemplateStatus `json:"status,omitempty"` }
LabTemplate is the Schema for the labtemplates API
func (*LabTemplate) DeepCopy ¶
func (in *LabTemplate) DeepCopy() *LabTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabTemplate.
func (*LabTemplate) DeepCopyInto ¶
func (in *LabTemplate) DeepCopyInto(out *LabTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LabTemplate) DeepCopyObject ¶
func (in *LabTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LabTemplateList ¶
type LabTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LabTemplate `json:"items"` }
LabTemplateList contains a list of LabTemplate
func (*LabTemplateList) DeepCopy ¶
func (in *LabTemplateList) DeepCopy() *LabTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabTemplateList.
func (*LabTemplateList) DeepCopyInto ¶
func (in *LabTemplateList) DeepCopyInto(out *LabTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LabTemplateList) DeepCopyObject ¶
func (in *LabTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LabTemplateSpec ¶
type LabTemplateSpec struct { CourseName string `json:"courseName,omitempty"` LabName string `json:"labName,omitempty"` LabNum resource.Quantity `json:"labNum,omitempty"` Description string `json:"description,omitempty"` Vm virtv1.VirtualMachineInstance `json:"vm"` // +kubebuilder:validation:Enum="GUI";"CLI" VmType `json:"vmType,omitempty"` }
LabTemplateSpec defines the desired state of LabTemplate
func (*LabTemplateSpec) DeepCopy ¶
func (in *LabTemplateSpec) DeepCopy() *LabTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabTemplateSpec.
func (*LabTemplateSpec) DeepCopyInto ¶
func (in *LabTemplateSpec) DeepCopyInto(out *LabTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabTemplateStatus ¶
type LabTemplateStatus struct { }
LabTemplateStatus defines the observed state of LabTemplate
func (*LabTemplateStatus) DeepCopy ¶
func (in *LabTemplateStatus) DeepCopy() *LabTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabTemplateStatus.
func (*LabTemplateStatus) DeepCopyInto ¶
func (in *LabTemplateStatus) DeepCopyInto(out *LabTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.