v1alpha1

package
v0.1.0-alpha.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the dev v1alpha1 API group +kubebuilder:object:generate=true +groupName=dev.roboscale.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "dev.roboscale.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
)
View Source
var SchemeGroupVersion = GroupVersion

SchemeGroupVersion is group version used to register these objects.

Functions

func DefaultRepositoryPaths

func DefaultRepositoryPaths(r *DevSpace)

func GetDevSpaceServiceDNS

func GetDevSpaceServiceDNS(devspace DevSpace, prefix, postfix string) string

func GetDevSpaceServicePath

func GetDevSpaceServicePath(devspace DevSpace, postfix string) string

func Resource

func Resource(resource string) schema.GroupResource

Types

type Application

type Application struct {
	// Application name.
	// +kubebuilder:validation:Required
	Name string `json:"name"`
	// Version of the application.
	// +kubebuilder:validation:Required
	Version string `json:"version"`
}

func (*Application) DeepCopy

func (in *Application) DeepCopy() *Application

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.

func (*Application) DeepCopyInto

func (in *Application) DeepCopyInto(out *Application)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AttachedDevObject

type AttachedDevObject struct {
	// Reference to the DevSuite instance.
	Reference corev1.ObjectReference `json:"reference,omitempty"`
	// Status of attached DevSuite.
	Status DevSuiteStatus `json:"status,omitempty"`
}

func (*AttachedDevObject) DeepCopy

func (in *AttachedDevObject) DeepCopy() *AttachedDevObject

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedDevObject.

func (*AttachedDevObject) DeepCopyInto

func (in *AttachedDevObject) DeepCopyInto(out *AttachedDevObject)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DevSpace

type DevSpace struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// Specification of the desired behavior of the DevSpace.
	Spec DevSpaceSpec `json:"spec,omitempty"`
	// Most recently observed status of the DevSpace.
	Status DevSpaceStatus `json:"status,omitempty"`
}

DevSpace is the custom resource that contains ROS 2 components (Workloads, Cloud VDI, Cloud IDE, ROS Bridge, Configurational Resources), robolaunch DevSpace instances can be decomposed and distributed to both cloud instances and physical instances using federation.

func (*DevSpace) DeepCopy

func (in *DevSpace) DeepCopy() *DevSpace

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSpace.

func (*DevSpace) DeepCopyInto

func (in *DevSpace) DeepCopyInto(out *DevSpace)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DevSpace) DeepCopyObject

func (in *DevSpace) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DevSpace) Default

func (r *DevSpace) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*DevSpace) GetDevSuiteMetadata

func (devspace *DevSpace) GetDevSuiteMetadata() *types.NamespacedName

func (*DevSpace) GetLoaderJobMetadata

func (devspace *DevSpace) GetLoaderJobMetadata() *types.NamespacedName

func (*DevSpace) GetPVCEtcMetadata

func (devspace *DevSpace) GetPVCEtcMetadata() *types.NamespacedName

func (*DevSpace) GetPVCOptMetadata

func (devspace *DevSpace) GetPVCOptMetadata() *types.NamespacedName

func (*DevSpace) GetPVCUsrMetadata

func (devspace *DevSpace) GetPVCUsrMetadata() *types.NamespacedName

func (*DevSpace) GetPVCVarMetadata

func (devspace *DevSpace) GetPVCVarMetadata() *types.NamespacedName

func (*DevSpace) GetPVCWorkspaceMetadata

func (devspace *DevSpace) GetPVCWorkspaceMetadata() *types.NamespacedName

func (*DevSpace) GetWorkspaceByName

func (devspace *DevSpace) GetWorkspaceByName(name string) (Workspace, error)

func (*DevSpace) GetWorkspaceManagerMetadata

func (devspace *DevSpace) GetWorkspaceManagerMetadata() *types.NamespacedName

func (*DevSpace) SetupWebhookWithManager

func (r *DevSpace) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*DevSpace) ValidateCreate

func (r *DevSpace) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*DevSpace) ValidateDelete

func (r *DevSpace) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*DevSpace) ValidateUpdate

func (r *DevSpace) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type DevSpaceIDE

type DevSpaceIDE struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// Specification of the desired behavior of the DevSpaceIDE.
	Spec DevSpaceIDESpec `json:"spec,omitempty"`
	// Most recently observed status of the DevSpaceIDE.
	Status DevSpaceIDEStatus `json:"status,omitempty"`
}

DevSpaceIDE creates and manages Cloud IDE resources and workloads.

func (*DevSpaceIDE) DeepCopy

func (in *DevSpaceIDE) DeepCopy() *DevSpaceIDE

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSpaceIDE.

func (*DevSpaceIDE) DeepCopyInto

func (in *DevSpaceIDE) DeepCopyInto(out *DevSpaceIDE)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DevSpaceIDE) DeepCopyObject

func (in *DevSpaceIDE) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DevSpaceIDE) Default

func (r *DevSpaceIDE) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*DevSpaceIDE) GetDevSpaceIDEIngressMetadata

func (devspaceide *DevSpaceIDE) GetDevSpaceIDEIngressMetadata() *types.NamespacedName

func (*DevSpaceIDE) GetDevSpaceIDEPodMetadata

func (devspaceide *DevSpaceIDE) GetDevSpaceIDEPodMetadata() *types.NamespacedName

func (*DevSpaceIDE) GetDevSpaceIDEServiceMetadata

func (devspaceide *DevSpaceIDE) GetDevSpaceIDEServiceMetadata() *types.NamespacedName

func (*DevSpaceIDE) SetupWebhookWithManager

func (r *DevSpaceIDE) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*DevSpaceIDE) ValidateCreate

func (r *DevSpaceIDE) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*DevSpaceIDE) ValidateDelete

func (r *DevSpaceIDE) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*DevSpaceIDE) ValidateUpdate

func (r *DevSpaceIDE) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type DevSpaceIDEList

type DevSpaceIDEList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DevSpaceIDE `json:"items"`
}

DevSpaceIDEList contains a list of DevSpaceIDE.

func (*DevSpaceIDEList) DeepCopy

func (in *DevSpaceIDEList) DeepCopy() *DevSpaceIDEList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSpaceIDEList.

func (*DevSpaceIDEList) DeepCopyInto

func (in *DevSpaceIDEList) DeepCopyInto(out *DevSpaceIDEList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DevSpaceIDEList) DeepCopyObject

func (in *DevSpaceIDEList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DevSpaceIDEPhase

type DevSpaceIDEPhase string
const (
	DevSpaceIDEPhaseCreatingService DevSpaceIDEPhase = "CreatingService"
	DevSpaceIDEPhaseCreatingPod     DevSpaceIDEPhase = "CreatingPod"
	DevSpaceIDEPhaseCreatingIngress DevSpaceIDEPhase = "CreatingIngress"
	DevSpaceIDEPhaseRunning         DevSpaceIDEPhase = "Running"
)

type DevSpaceIDESpec

type DevSpaceIDESpec struct {
	// Resource limitations of Cloud IDE.
	Resources Resources `json:"resources,omitempty"`
	// Service type of Cloud IDE. `ClusterIP` and `NodePort` is supported.
	// +kubebuilder:validation:Enum=ClusterIP;NodePort
	// +kubebuilder:default="NodePort"
	ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
	// If `true`, containers of DevSpaceIDE will be privileged containers.
	// It can be used in physical instances where it's necessary to access
	// I/O devices on the host machine.
	// Not recommended to activate this field on cloud instances.
	Privileged bool `json:"privileged,omitempty"`
	// Cloud IDE connects an X11 socket if it's set to `true` and a target DevSpaceVDI resource is set in labels with key `robolaunch.io/target-vdi`.
	// Applications that requires GUI can be executed such as rViz.
	Display bool `json:"display,omitempty"`
	// [*alpha*] DevSpaceIDE will create an Ingress resource if `true`.
	Ingress bool `json:"ingress,omitempty"`
}

DevSpaceIDESpec defines the desired state of DevSpaceIDE.

func (*DevSpaceIDESpec) DeepCopy

func (in *DevSpaceIDESpec) DeepCopy() *DevSpaceIDESpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSpaceIDESpec.

func (*DevSpaceIDESpec) DeepCopyInto

func (in *DevSpaceIDESpec) DeepCopyInto(out *DevSpaceIDESpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DevSpaceIDEStatus

type DevSpaceIDEStatus struct {
	// Phase of DevSpaceIDE.
	Phase DevSpaceIDEPhase `json:"phase,omitempty"`
	// Status of Cloud IDE pod.
	PodStatus OwnedPodStatus `json:"podStatus,omitempty"`
	// Status of Cloud IDE service.
	ServiceStatus OwnedServiceStatus `json:"serviceStatus,omitempty"`
	// Status of Cloud IDE Ingress.
	IngressStatus OwnedResourceStatus `json:"ingressStatus,omitempty"`
}

DevSpaceIDEStatus defines the observed state of DevSpaceIDE.

func (*DevSpaceIDEStatus) DeepCopy

func (in *DevSpaceIDEStatus) DeepCopy() *DevSpaceIDEStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSpaceIDEStatus.

func (*DevSpaceIDEStatus) DeepCopyInto

func (in *DevSpaceIDEStatus) DeepCopyInto(out *DevSpaceIDEStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DevSpaceImage

type DevSpaceImage struct {
	// Ubuntu distribution of the environment.
	// +kubebuilder:validation:Required
	UbuntuDistro string `json:"ubuntuDistro"`
	// Ubuntu desktop.
	// +kubebuilder:validation:Required
	Desktop string `json:"desktop"`
	// DevSpace image version.
	// +kubebuilder:validation:Required
	Version string `json:"version"`
}

func (*DevSpaceImage) DeepCopy

func (in *DevSpaceImage) DeepCopy() *DevSpaceImage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSpaceImage.

func (*DevSpaceImage) DeepCopyInto

func (in *DevSpaceImage) DeepCopyInto(out *DevSpaceImage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DevSpaceList

type DevSpaceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DevSpace `json:"items"`
}

DevSpaceList contains a list of DevSpace

func (*DevSpaceList) DeepCopy

func (in *DevSpaceList) DeepCopy() *DevSpaceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSpaceList.

func (*DevSpaceList) DeepCopyInto

func (in *DevSpaceList) DeepCopyInto(out *DevSpaceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DevSpaceList) DeepCopyObject

func (in *DevSpaceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DevSpacePhase

type DevSpacePhase string
const (
	DevSpacePhaseEnvironmentNotFound      DevSpacePhase = "EnvironmentNotFound"
	DevSpacePhaseCreatingEnvironment      DevSpacePhase = "CreatingEnvironment"
	DevSpacePhaseConfiguringEnvironment   DevSpacePhase = "ConfiguringEnvironment"
	DevSpacePhaseCreatingDevelopmentSuite DevSpacePhase = "CreatingDevelopmentSuite"
	DevSpacePhaseConfiguringWorkspaces    DevSpacePhase = "ConfiguringWorkspaces"
	DevSpacePhaseEnvironmentReady         DevSpacePhase = "EnvironmentReady"
	DevSpacePhaseBuilding                 DevSpacePhase = "Building"
	DevSpacePhaseBuilt                    DevSpacePhase = "Built"
	DevSpacePhaseLaunching                DevSpacePhase = "Launching"
	DevSpacePhaseRunning                  DevSpacePhase = "Running"
	DevSpacePhaseDeletingLoaderJob        DevSpacePhase = "DeletingLoaderJob"
	DevSpacePhaseDeletingVolumes          DevSpacePhase = "DeletingVolumes"

	DevSpacePhaseFailed DevSpacePhase = "Failed"
)

type DevSpaceSpec

type DevSpaceSpec struct {
	// Environment properties. Supported options are listed in [robolaunch Platform Versioning Map](https://github.com/robolaunch/robolaunch/blob/main/platform.yaml).
	// +kubebuilder:validation:Required
	Environment Environment `json:"environment"`
	// Total storage amount to persist via DevSpace. Unit of measurement is MB. (eg. `10240` corresponds 10 GB)
	// This amount is being shared between different components.
	Storage Storage `json:"storage,omitempty"`
	// DevSpace development suite template
	DevSuiteTemplate DevSuiteSpec `json:"devSuiteTemplate,omitempty"`
	// Workspace manager template to configure ROS 2 workspaces.
	WorkspaceManagerTemplate WorkspaceManagerSpec `json:"workspaceManagerTemplate,omitempty"`
	// [*alpha*] Switch to development mode if `true`.
	Development bool `json:"development,omitempty"`
	// [*alpha*] Root DNS configuration.
	RootDNSConfig RootDNSConfig `json:"rootDNSConfig,omitempty"`
	// [*alpha*] TLS secret reference.
	TLSSecretReference TLSSecretReference `json:"tlsSecretRef,omitempty"`
}

DevSpaceSpec defines the desired state of DevSpace.

func (*DevSpaceSpec) DeepCopy

func (in *DevSpaceSpec) DeepCopy() *DevSpaceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSpaceSpec.

func (*DevSpaceSpec) DeepCopyInto

func (in *DevSpaceSpec) DeepCopyInto(out *DevSpaceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DevSpaceStatus

type DevSpaceStatus struct {
	// Phase of DevSpace. It sums the general status of DevSpace.
	Phase DevSpacePhase `json:"phase,omitempty"`
	// Main image of DevSpace. It is derived either from the specifications or determined directly over labels.
	Image string `json:"image,omitempty"`
	// Node that DevSpace uses. It is selected via tenancy labels.
	NodeName string `json:"nodeName,omitempty"`
	// DevSpace persists some of the directories of underlying OS inside persistent volumes.
	// This field exposes persistent volume claims that dynamically provision PVs.
	VolumeStatuses VolumeStatuses `json:"volumeStatuses,omitempty"`
	// Status of loader job that configures environment.
	LoaderJobStatus OwnedResourceStatus `json:"loaderJobStatus,omitempty"`
	// Workspace manager instance status if exists.
	WorkspaceManagerStatus WorkspaceManagerInstanceStatus `json:"workspaceManagerStatus,omitempty"`
	// DevSpace development suite instance status.
	DevSuiteStatus DevSuiteInstanceStatus `json:"devSuiteStatus,omitempty"`
	// [*alpha*] Attached dev object information.
	AttachedDevObjects []AttachedDevObject `json:"attachedDevObjects,omitempty"`
}

DevSpaceStatus defines the observed state of DevSpace.

func (*DevSpaceStatus) DeepCopy

func (in *DevSpaceStatus) DeepCopy() *DevSpaceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSpaceStatus.

func (*DevSpaceStatus) DeepCopyInto

func (in *DevSpaceStatus) DeepCopyInto(out *DevSpaceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DevSpaceVDI

type DevSpaceVDI struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// Specification of the desired behavior of the DevSpaceVDI.
	Spec DevSpaceVDISpec `json:"spec,omitempty"`
	// Most recently observed status of the DevSpaceVDI.
	Status DevSpaceVDIStatus `json:"status,omitempty"`
}

DevSpaceVDI creates and manages Cloud VDI resources and workloads.

func (*DevSpaceVDI) DeepCopy

func (in *DevSpaceVDI) DeepCopy() *DevSpaceVDI

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSpaceVDI.

func (*DevSpaceVDI) DeepCopyInto

func (in *DevSpaceVDI) DeepCopyInto(out *DevSpaceVDI)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DevSpaceVDI) DeepCopyObject

func (in *DevSpaceVDI) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DevSpaceVDI) Default

func (r *DevSpaceVDI) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*DevSpaceVDI) GetDevSpaceVDIIngressMetadata

func (devspacevdi *DevSpaceVDI) GetDevSpaceVDIIngressMetadata() *types.NamespacedName

func (*DevSpaceVDI) GetDevSpaceVDIPVCMetadata

func (devspacevdi *DevSpaceVDI) GetDevSpaceVDIPVCMetadata() *types.NamespacedName

func (*DevSpaceVDI) GetDevSpaceVDIPodMetadata

func (devspacevdi *DevSpaceVDI) GetDevSpaceVDIPodMetadata() *types.NamespacedName

func (*DevSpaceVDI) GetDevSpaceVDIServiceTCPMetadata

func (devspacevdi *DevSpaceVDI) GetDevSpaceVDIServiceTCPMetadata() *types.NamespacedName

func (*DevSpaceVDI) GetDevSpaceVDIServiceUDPMetadata

func (devspacevdi *DevSpaceVDI) GetDevSpaceVDIServiceUDPMetadata() *types.NamespacedName

func (*DevSpaceVDI) SetupWebhookWithManager

func (r *DevSpaceVDI) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*DevSpaceVDI) ValidateCreate

func (r *DevSpaceVDI) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*DevSpaceVDI) ValidateDelete

func (r *DevSpaceVDI) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*DevSpaceVDI) ValidateUpdate

func (r *DevSpaceVDI) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type DevSpaceVDIList

type DevSpaceVDIList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DevSpaceVDI `json:"items"`
}

DevSpaceVDIList contains a list of DevSpaceVDI.

func (*DevSpaceVDIList) DeepCopy

func (in *DevSpaceVDIList) DeepCopy() *DevSpaceVDIList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSpaceVDIList.

func (*DevSpaceVDIList) DeepCopyInto

func (in *DevSpaceVDIList) DeepCopyInto(out *DevSpaceVDIList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DevSpaceVDIList) DeepCopyObject

func (in *DevSpaceVDIList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DevSpaceVDIPhase

type DevSpaceVDIPhase string
const (
	DevSpaceVDIPhaseCreatingPVC        DevSpaceVDIPhase = "CreatingPVC"
	DevSpaceVDIPhaseCreatingTCPService DevSpaceVDIPhase = "CreatingTCPService"
	DevSpaceVDIPhaseCreatingUDPService DevSpaceVDIPhase = "CreatingUDPService"
	DevSpaceVDIPhaseCreatingPod        DevSpaceVDIPhase = "CreatingPod"
	DevSpaceVDIPhaseCreatingIngress    DevSpaceVDIPhase = "CreatingIngress"
	DevSpaceVDIPhaseRunning            DevSpaceVDIPhase = "Running"
)

type DevSpaceVDISpec

type DevSpaceVDISpec struct {
	// Resource limitations of Cloud IDE.
	Resources Resources `json:"resources,omitempty"`
	// Service type of Cloud IDE. `ClusterIP` and `NodePort` is supported.
	// +kubebuilder:validation:Enum=ClusterIP;NodePort
	// +kubebuilder:default="NodePort"
	ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
	// If `true`, containers of DevSpaceIDE will be privileged containers.
	// It can be used in physical instances where it's necessary to access
	// I/O devices on the host machine.
	// Not recommended to activate this field on cloud instances.
	Privileged bool `json:"privileged,omitempty"`
	// NAT1TO1 option for Cloud VDI.
	NAT1TO1 string `json:"nat1to1,omitempty"`
	// UDP port range to used in WebRTC connections.
	// +kubebuilder:validation:Pattern=`^([0-9])+-([0-9])+$`
	// +kubebuilder:validation:Required
	WebRTCPortRange string `json:"webrtcPortRange,omitempty"`
	// VDI screen resolution options. Default is `2048x1152`.
	// +kubebuilder:validation:Enum="2048x1152";"1920x1080";"1600x1200"
	// +kubebuilder:default="2048x1152"
	Resolution string `json:"resolution,omitempty"`
	// [*alpha*] DevSpaceIDE will create an Ingress resource if `true`.
	Ingress bool `json:"ingress,omitempty"`
}

DevSpaceVDISpec defines the desired state of DevSpaceVDI.

func (*DevSpaceVDISpec) DeepCopy

func (in *DevSpaceVDISpec) DeepCopy() *DevSpaceVDISpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSpaceVDISpec.

func (*DevSpaceVDISpec) DeepCopyInto

func (in *DevSpaceVDISpec) DeepCopyInto(out *DevSpaceVDISpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DevSpaceVDIStatus

type DevSpaceVDIStatus struct {
	// Phase of DevSpaceVDI.
	Phase DevSpaceVDIPhase `json:"phase,omitempty"`
	// Status of Cloud VDI pod.
	PodStatus OwnedPodStatus `json:"podStatus,omitempty"`
	// Status of Cloud VDI TCP service.
	ServiceTCPStatus OwnedServiceStatus `json:"serviceTCPStatus,omitempty"`
	// Status of Cloud VDI UDP service.
	ServiceUDPStatus OwnedResourceStatus `json:"serviceUDPStatus,omitempty"`
	// Status of Cloud VDI Ingress.
	IngressStatus OwnedResourceStatus `json:"ingressStatus,omitempty"`
	// Status of Cloud VDI persistent volume claim.
	// This PVC dynamically provisions a volume that is a shared
	// between DevSpaceVDI workloads and other workloads that requests
	// display.
	PVCStatus OwnedResourceStatus `json:"pvcStatus,omitempty"`
}

DevSpaceVDIStatus defines the observed state of DevSpaceVDI.

func (*DevSpaceVDIStatus) DeepCopy

func (in *DevSpaceVDIStatus) DeepCopy() *DevSpaceVDIStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSpaceVDIStatus.

func (*DevSpaceVDIStatus) DeepCopyInto

func (in *DevSpaceVDIStatus) DeepCopyInto(out *DevSpaceVDIStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DevSuite

type DevSuite struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// Specification of the desired behavior of the DevSuite.
	Spec DevSuiteSpec `json:"spec,omitempty"`
	// Most recently observed status of the DevSuite.
	Status DevSuiteStatus `json:"status,omitempty"`
}

DevSuite is a custom resource that creates dynamically configured development environments for devspaces.

func (*DevSuite) DeepCopy

func (in *DevSuite) DeepCopy() *DevSuite

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSuite.

func (*DevSuite) DeepCopyInto

func (in *DevSuite) DeepCopyInto(out *DevSuite)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DevSuite) DeepCopyObject

func (in *DevSuite) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DevSuite) GetDevSpaceIDEMetadata

func (devSuite *DevSuite) GetDevSpaceIDEMetadata() *types.NamespacedName

func (*DevSuite) GetDevSpaceVDIMetadata

func (devSuite *DevSuite) GetDevSpaceVDIMetadata() *types.NamespacedName

type DevSuiteInstanceStatus

type DevSuiteInstanceStatus struct {
	// Generic status for any owned resource.
	Resource OwnedResourceStatus `json:"resource,omitempty"`
	// Status of the DevSuite instance.
	Status DevSuiteStatus `json:"status,omitempty"`
}

func (*DevSuiteInstanceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSuiteInstanceStatus.

func (*DevSuiteInstanceStatus) DeepCopyInto

func (in *DevSuiteInstanceStatus) DeepCopyInto(out *DevSuiteInstanceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DevSuiteList

type DevSuiteList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DevSuite `json:"items"`
}

DevSuiteList contains a list of DevSuite.

func (*DevSuiteList) DeepCopy

func (in *DevSuiteList) DeepCopy() *DevSuiteList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSuiteList.

func (*DevSuiteList) DeepCopyInto

func (in *DevSuiteList) DeepCopyInto(out *DevSuiteList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DevSuiteList) DeepCopyObject

func (in *DevSuiteList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DevSuitePhase

type DevSuitePhase string
const (
	DevSuitePhaseDevSpaceNotFound    DevSuitePhase = "DevSpaceNotFound"
	DevSuitePhaseCreatingDevSpaceVDI DevSuitePhase = "CreatingDevSpaceVDI"
	DevSuitePhaseCreatingDevSpaceIDE DevSuitePhase = "CreatingDevSpaceIDE"
	DevSuitePhaseRunning             DevSuitePhase = "Running"
	DevSuitePhaseDeactivating        DevSuitePhase = "Deactivating"
	DevSuitePhaseInactive            DevSuitePhase = "Inactive"
)

type DevSuiteSpec

type DevSuiteSpec struct {
	// If `true`, a Cloud VDI will be provisioned inside development suite.
	VDIEnabled bool `json:"vdiEnabled,omitempty"`
	// Configurational parameters of DevSpaceVDI. Applied if `.spec.vdiEnabled` is set to `true`.
	DevSpaceVDITemplate DevSpaceVDISpec `json:"devSpaceVDITemplate,omitempty"`
	// If `true`, a Cloud IDE will be provisioned inside development suite.
	IDEEnabled bool `json:"ideEnabled,omitempty"`
	// Configurational parameters of DevSpaceIDE. Applied if `.spec.ideEnabled` is set to `true`.
	DevSpaceIDETemplate DevSpaceIDESpec `json:"devSpaceIDETemplate,omitempty"`
}

DevSuiteSpec defines the desired state of DevSuite.

func (*DevSuiteSpec) DeepCopy

func (in *DevSuiteSpec) DeepCopy() *DevSuiteSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSuiteSpec.

func (*DevSuiteSpec) DeepCopyInto

func (in *DevSuiteSpec) DeepCopyInto(out *DevSuiteSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DevSuiteStatus

type DevSuiteStatus struct {
	// Phase of DevSuite.
	Phase DevSuitePhase `json:"phase,omitempty"`
	// Status of DevSpaceVDI.
	DevSpaceVDIStatus OwnedDevSpaceServiceStatus `json:"devSpaceVDIStatus,omitempty"`
	// Status of DevSpaceIDE.
	DevSpaceIDEStatus OwnedDevSpaceServiceStatus `json:"devSpaceIDEStatus,omitempty"`
	// [*alpha*] Indicates if DevSuite is attached to a DevSpace and actively provisioned it's resources.
	Active bool `json:"active,omitempty"`
}

DevSuiteStatus defines the observed state of DevSuite.

func (*DevSuiteStatus) DeepCopy

func (in *DevSuiteStatus) DeepCopy() *DevSuiteStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSuiteStatus.

func (*DevSuiteStatus) DeepCopyInto

func (in *DevSuiteStatus) DeepCopyInto(out *DevSuiteStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Environment

type Environment struct {
	// Domain of the environment.
	// +kubebuilder:validation:Required
	Domain string `json:"domain"`
	// Application properties.
	// +kubebuilder:validation:Required
	Application Application `json:"application"`
	// DevSpace image properties.
	// +kubebuilder:validation:Required
	DevSpaceImage DevSpaceImage `json:"devspace"`
}

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Environment.

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobPhase

type JobPhase string
const (
	JobActive    JobPhase = "Active"
	JobSucceeded JobPhase = "Succeeded"
	JobFailed    JobPhase = "Failed"
)

type OwnedDevSpaceServiceStatus

type OwnedDevSpaceServiceStatus struct {
	// Generic status for any owned resource.
	Resource OwnedResourceStatus `json:"resource,omitempty"`
	// Address of the devspace service that can be reached from outside.
	Connection string `json:"connection,omitempty"`
}

func (*OwnedDevSpaceServiceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnedDevSpaceServiceStatus.

func (*OwnedDevSpaceServiceStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OwnedPodStatus

type OwnedPodStatus struct {
	// Generic status for any owned resource.
	Resource OwnedResourceStatus `json:"resource,omitempty"`
	// IP of the pod.
	IP string `json:"ip,omitempty"`
}

func (*OwnedPodStatus) DeepCopy

func (in *OwnedPodStatus) DeepCopy() *OwnedPodStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnedPodStatus.

func (*OwnedPodStatus) DeepCopyInto

func (in *OwnedPodStatus) DeepCopyInto(out *OwnedPodStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OwnedResourceStatus

type OwnedResourceStatus struct {
	// Shows if the owned resource is created.
	Created bool `json:"created"`
	// Reference to the owned resource.
	Reference corev1.ObjectReference `json:"reference,omitempty"`
	// Phase of the owned resource.
	Phase string `json:"phase,omitempty"`
}

Generic status for any owned resource.

func (*OwnedResourceStatus) DeepCopy

func (in *OwnedResourceStatus) DeepCopy() *OwnedResourceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnedResourceStatus.

func (*OwnedResourceStatus) DeepCopyInto

func (in *OwnedResourceStatus) DeepCopyInto(out *OwnedResourceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OwnedServiceStatus

type OwnedServiceStatus struct {
	// Generic status for any owned resource.
	Resource OwnedResourceStatus `json:"resource,omitempty"`
	// Connection URL.
	URL string `json:"url,omitempty"`
}

func (*OwnedServiceStatus) DeepCopy

func (in *OwnedServiceStatus) DeepCopy() *OwnedServiceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnedServiceStatus.

func (*OwnedServiceStatus) DeepCopyInto

func (in *OwnedServiceStatus) DeepCopyInto(out *OwnedServiceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Repository

type Repository struct {
	// Base URL of the repository.
	// +kubebuilder:validation:Required
	URL string `json:"url"`
	// Branch of the repository to clone.
	// +kubebuilder:validation:Required
	Branch string `json:"branch"`
	// [*Autofilled*] Absolute path of repository
	Path string `json:"path,omitempty"`
	// [*Autofilled*] User or organization, maintainer of repository
	Owner string `json:"owner,omitempty"`
	// [*Autofilled*] Repository name
	Repo string `json:"repo,omitempty"`
	// [*Autofilled*] Hash of last commit
	Hash string `json:"hash,omitempty"`
}

Repository description.

func (*Repository) DeepCopy

func (in *Repository) DeepCopy() *Repository

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.

func (*Repository) DeepCopyInto

func (in *Repository) DeepCopyInto(out *Repository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Resources

type Resources struct {
	// GPU core number that will be allocated.
	GPUCore int `json:"gpuCore,omitempty"`
	// CPU resource limit.
	// +kubebuilder:validation:Pattern=`^([0-9])+(m)$`
	CPU string `json:"cpu,omitempty"`
	// Memory resource limit.
	// +kubebuilder:validation:Pattern=`^([0-9])+(Mi|Gi)$`
	Memory string `json:"memory,omitempty"`
}

VDI resource limits.

func (*Resources) DeepCopy

func (in *Resources) DeepCopy() *Resources

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.

func (*Resources) DeepCopyInto

func (in *Resources) DeepCopyInto(out *Resources)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RootDNSConfig

type RootDNSConfig struct {
	// [*alpha*] Root DNS name..
	// +kubebuilder:validation:Required
	Host string `json:"host"`
}

func (*RootDNSConfig) DeepCopy

func (in *RootDNSConfig) DeepCopy() *RootDNSConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootDNSConfig.

func (*RootDNSConfig) DeepCopyInto

func (in *RootDNSConfig) DeepCopyInto(out *RootDNSConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Storage

type Storage struct {
	// Specifies how much storage will be allocated in total. Use MB as a unit of measurement. (eg. `10240` is equal to 10 GB)
	// +kubebuilder:default=10000
	Amount int `json:"amount,omitempty"`
	// Storage class selection for devspace's volumes.
	StorageClassConfig StorageClassConfig `json:"storageClassConfig,omitempty"`
}

DevSpace's resource limitations.

func (*Storage) DeepCopy

func (in *Storage) DeepCopy() *Storage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.

func (*Storage) DeepCopyInto

func (in *Storage) DeepCopyInto(out *Storage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StorageClassConfig

type StorageClassConfig struct {
	// Storage class name.
	Name string `json:"name,omitempty"`
	// PVC access modes. Currently, only `ReadWriteOnce` is supported.
	AccessMode corev1.PersistentVolumeAccessMode `json:"accessMode,omitempty"`
}

Storage class configuration for a volume type.

func (*StorageClassConfig) DeepCopy

func (in *StorageClassConfig) DeepCopy() *StorageClassConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassConfig.

func (*StorageClassConfig) DeepCopyInto

func (in *StorageClassConfig) DeepCopyInto(out *StorageClassConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TLSSecretReference

type TLSSecretReference struct {
	// [*alpha*] TLS secret object name.
	// +kubebuilder:validation:Required
	Name string `json:"name"`
	// [*alpha*] TLS secret object namespace.
	// +kubebuilder:validation:Required
	Namespace string `json:"namespace"`
}

func (*TLSSecretReference) DeepCopy

func (in *TLSSecretReference) DeepCopy() *TLSSecretReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSSecretReference.

func (*TLSSecretReference) DeepCopyInto

func (in *TLSSecretReference) DeepCopyInto(out *TLSSecretReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VolumeStatuses

type VolumeStatuses struct {
	// Holds PVC status of the `/var` directory of underlying OS.
	Var OwnedResourceStatus `json:"varDir,omitempty"`
	// Holds PVC status of the `/etc` directory of underlying OS.
	Etc OwnedResourceStatus `json:"etcDir,omitempty"`
	// Holds PVC status of the `/usr` directory of underlying OS.
	Usr OwnedResourceStatus `json:"usrDir,omitempty"`
	// Holds PVC status of the `/opt` directory of underlying OS.
	Opt OwnedResourceStatus `json:"optDir,omitempty"`
	// Holds PVC status of the workspaces directory of underlying OS.
	Workspace OwnedResourceStatus `json:"workspaceDir,omitempty"`
}

func (*VolumeStatuses) DeepCopy

func (in *VolumeStatuses) DeepCopy() *VolumeStatuses

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeStatuses.

func (*VolumeStatuses) DeepCopyInto

func (in *VolumeStatuses) DeepCopyInto(out *VolumeStatuses)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Workspace

type Workspace struct {
	// Name of workspace. If a workspace's name is `my_ws`, it's absolute path is `/home/workspaces/my_ws`.
	// +kubebuilder:validation:Required
	Name string `json:"name"`
	// Repositories to clone inside workspace's `src` directory.
	Repositories map[string]Repository `json:"repositories"`
}

Workspace description. Each devspace should contain at least one workspace. A workspace should contain at least one repository in it.

func (*Workspace) DeepCopy

func (in *Workspace) DeepCopy() *Workspace

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace.

func (*Workspace) DeepCopyInto

func (in *Workspace) DeepCopyInto(out *Workspace)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceManager

type WorkspaceManager struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// Specification of the desired behavior of the WorkspaceManager.
	Spec WorkspaceManagerSpec `json:"spec,omitempty"`
	// Most recently observed status of the WorkspaceManager.
	Status WorkspaceManagerStatus `json:"status,omitempty"`
}

WorkspaceManager configures the ROS 2 workspaces and repositories by executing Kubernetes jobs.

func (*WorkspaceManager) DeepCopy

func (in *WorkspaceManager) DeepCopy() *WorkspaceManager

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceManager.

func (*WorkspaceManager) DeepCopyInto

func (in *WorkspaceManager) DeepCopyInto(out *WorkspaceManager)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkspaceManager) DeepCopyObject

func (in *WorkspaceManager) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkspaceManager) Default

func (r *WorkspaceManager) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*WorkspaceManager) GetCleanupJobMetadata

func (workspacemanager *WorkspaceManager) GetCleanupJobMetadata() *types.NamespacedName

func (*WorkspaceManager) GetClonerJobMetadata

func (workspacemanager *WorkspaceManager) GetClonerJobMetadata() *types.NamespacedName

func (*WorkspaceManager) SetupWebhookWithManager

func (r *WorkspaceManager) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*WorkspaceManager) ValidateCreate

func (r *WorkspaceManager) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*WorkspaceManager) ValidateDelete

func (r *WorkspaceManager) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*WorkspaceManager) ValidateUpdate

func (r *WorkspaceManager) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type WorkspaceManagerInstanceStatus

type WorkspaceManagerInstanceStatus struct {
	// Generic status for any owned resource.
	Resource OwnedResourceStatus `json:"resource,omitempty"`
	// Status of the WorkspaceManager instance.
	Status WorkspaceManagerStatus `json:"status,omitempty"`
}

func (*WorkspaceManagerInstanceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceManagerInstanceStatus.

func (*WorkspaceManagerInstanceStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceManagerList

type WorkspaceManagerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []WorkspaceManager `json:"items"`
}

WorkspaceManagerList contains a list of WorkspaceManager

func (*WorkspaceManagerList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceManagerList.

func (*WorkspaceManagerList) DeepCopyInto

func (in *WorkspaceManagerList) DeepCopyInto(out *WorkspaceManagerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkspaceManagerList) DeepCopyObject

func (in *WorkspaceManagerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkspaceManagerPhase

type WorkspaceManagerPhase string
const (
	WorkspaceManagerPhaseConfiguringWorkspaces WorkspaceManagerPhase = "ConfiguringWorkspaces"
	WorkspaceManagerPhaseReady                 WorkspaceManagerPhase = "Ready"
	WorkspaceManagerPhaseFailed                WorkspaceManagerPhase = "Failed"
)

type WorkspaceManagerSpec

type WorkspaceManagerSpec struct {
	// Global path of workspaces. It's fixed to `/root/workspaces` path.
	WorkspacesPath string `json:"workspacesPath,omitempty"`
	// Workspace definitions of devspace.
	// Multiple ROS 2 workspaces can be configured over this field.
	// +kubebuilder:validation:MinItems=1
	Workspaces []Workspace `json:"workspaces,omitempty"`
	// WorkspaceManager is triggered if this field is set to `true`.
	// Then the workspaces are being configured again while backing up the old configurations.
	// This field is often used by operator.
	UpdateNeeded bool `json:"updateNeeded,omitempty"`
}

WorkspaceManagerSpec defines the desired state of WorkspaceManager.

func (*WorkspaceManagerSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceManagerSpec.

func (*WorkspaceManagerSpec) DeepCopyInto

func (in *WorkspaceManagerSpec) DeepCopyInto(out *WorkspaceManagerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceManagerStatus

type WorkspaceManagerStatus struct {
	// Phase of WorkspaceManager.
	Phase WorkspaceManagerPhase `json:"phase,omitempty"`
	// Status of cloner job.
	ClonerJobStatus OwnedResourceStatus `json:"clonerJobStatus,omitempty"`
	// Status of cleanup jobs that runs while reconfiguring workspaces.
	CleanupJobStatus OwnedResourceStatus `json:"cleanupJobStatus,omitempty"`
	// Incremental version of workspace configuration map.
	// Used to determine changes in configuration.
	Version int `json:"version,omitempty"`
}

WorkspaceManagerStatus defines the observed state of WorkspaceManager.

func (*WorkspaceManagerStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceManagerStatus.

func (*WorkspaceManagerStatus) DeepCopyInto

func (in *WorkspaceManagerStatus) DeepCopyInto(out *WorkspaceManagerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL