Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the instance 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 LabInstance ¶
type LabInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LabInstanceSpec `json:"spec,omitempty"` Status LabInstanceStatus `json:"status,omitempty"` }
LabInstance is the Schema for the labinstances API
func (*LabInstance) DeepCopy ¶
func (in *LabInstance) DeepCopy() *LabInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabInstance.
func (*LabInstance) DeepCopyInto ¶
func (in *LabInstance) DeepCopyInto(out *LabInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LabInstance) DeepCopyObject ¶
func (in *LabInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LabInstanceList ¶
type LabInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LabInstance `json:"items"` }
LabInstanceList contains a list of LabInstance
func (*LabInstanceList) DeepCopy ¶
func (in *LabInstanceList) DeepCopy() *LabInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabInstanceList.
func (*LabInstanceList) DeepCopyInto ¶
func (in *LabInstanceList) DeepCopyInto(out *LabInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LabInstanceList) DeepCopyObject ¶
func (in *LabInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LabInstanceSpec ¶
type LabInstanceSpec struct { LabTemplateName string `json:"labTemplateName,omitempty"` LabTemplateNamespace string `json:"labTemplateNamespace,omitempty"` StudentID string `json:"studentId,omitempty"` }
LabInstanceSpec defines the desired state of LabInstance
func (*LabInstanceSpec) DeepCopy ¶
func (in *LabInstanceSpec) DeepCopy() *LabInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabInstanceSpec.
func (*LabInstanceSpec) DeepCopyInto ¶
func (in *LabInstanceSpec) DeepCopyInto(out *LabInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabInstanceStatus ¶
type LabInstanceStatus struct { Phase string `json:"phase,omitempty"` Url string `json:"url,omitempty"` IP string `json:"ip,omitempty"` // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
LabInstanceStatus defines the observed state of LabInstance
func (*LabInstanceStatus) DeepCopy ¶
func (in *LabInstanceStatus) DeepCopy() *LabInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabInstanceStatus.
func (*LabInstanceStatus) DeepCopyInto ¶
func (in *LabInstanceStatus) DeepCopyInto(out *LabInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.