v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	RobotDevSuitePhaseRobotNotFound    = "RobotNotFound"
	RobotDevSuitePhaseCreatingRobotVDI = "CreatingRobotVDI"
	RobotDevSuitePhaseCreatingRobotIDE = "CreatingRobotIDE"
	RobotDevSuitePhaseRunning          = "Running"
	RobotDevSuitePhaseDeactivating     = "Deactivating"
	RobotDevSuitePhaseInactive         = "Inactive"
)

Variables

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

func Resource

func Resource(resource string) schema.GroupResource

Types

type AttachedBuildObject

type AttachedBuildObject struct {
	Reference corev1.ObjectReference `json:"reference,omitempty"`
	Status    BuildManagerStatus     `json:"status,omitempty"`
}

func (*AttachedBuildObject) DeepCopy

func (in *AttachedBuildObject) DeepCopy() *AttachedBuildObject

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

func (*AttachedBuildObject) DeepCopyInto

func (in *AttachedBuildObject) DeepCopyInto(out *AttachedBuildObject)

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

type AttachedDevObject

type AttachedDevObject struct {
	Reference corev1.ObjectReference `json:"reference,omitempty"`
	Status    RobotDevSuiteStatus    `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 AttachedLaunchObject

type AttachedLaunchObject struct {
	Reference corev1.ObjectReference `json:"reference,omitempty"`
	Status    LaunchManagerStatus    `json:"status,omitempty"`
}

func (*AttachedLaunchObject) DeepCopy

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

func (*AttachedLaunchObject) DeepCopyInto

func (in *AttachedLaunchObject) DeepCopyInto(out *AttachedLaunchObject)

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

type BridgeDistro

type BridgeDistro struct {
	Enabled bool      `json:"enabled,omitempty"`
	Distro  ROSDistro `json:"distro,omitempty"`
}

func (*BridgeDistro) DeepCopy

func (in *BridgeDistro) DeepCopy() *BridgeDistro

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

func (*BridgeDistro) DeepCopyInto

func (in *BridgeDistro) DeepCopyInto(out *BridgeDistro)

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

type BridgePhase

type BridgePhase string
const (
	BridgePhaseCreatingService BridgePhase = "CreatingService"
	BridgePhaseCreatingPod     BridgePhase = "CreatingPod"
	BridgePhaseReady           BridgePhase = "Ready"
	BridgePhaseDeletingPod     BridgePhase = "DeletingPod"
	BridgePhaseDeletingService BridgePhase = "DeletingService"
)

type BridgePodStatus

type BridgePodStatus struct {
	Created bool            `json:"created,omitempty"`
	Phase   corev1.PodPhase `json:"phase,omitempty"`
}

func (*BridgePodStatus) DeepCopy

func (in *BridgePodStatus) DeepCopy() *BridgePodStatus

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

func (*BridgePodStatus) DeepCopyInto

func (in *BridgePodStatus) DeepCopyInto(out *BridgePodStatus)

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

type BridgeServiceStatus

type BridgeServiceStatus struct {
	Created bool `json:"created,omitempty"`
}

func (*BridgeServiceStatus) DeepCopy

func (in *BridgeServiceStatus) DeepCopy() *BridgeServiceStatus

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

func (*BridgeServiceStatus) DeepCopyInto

func (in *BridgeServiceStatus) DeepCopyInto(out *BridgeServiceStatus)

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

type BuildManager

type BuildManager struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BuildManagerSpec   `json:"spec,omitempty"`
	Status BuildManagerStatus `json:"status,omitempty"`
}

BuildManager is the Schema for the buildmanagers API

func (*BuildManager) DeepCopy

func (in *BuildManager) DeepCopy() *BuildManager

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

func (*BuildManager) DeepCopyInto

func (in *BuildManager) DeepCopyInto(out *BuildManager)

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

func (*BuildManager) DeepCopyObject

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

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

func (*BuildManager) Default

func (r *BuildManager) Default()

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

func (*BuildManager) GetConfigMapMetadata

func (buildmanager *BuildManager) GetConfigMapMetadata() *types.NamespacedName

func (*BuildManager) SetupWebhookWithManager

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

func (*BuildManager) ValidateCreate

func (r *BuildManager) ValidateCreate() error

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

func (*BuildManager) ValidateDelete

func (r *BuildManager) ValidateDelete() error

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

func (*BuildManager) ValidateUpdate

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

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

type BuildManagerList

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

BuildManagerList contains a list of BuildManager

func (*BuildManagerList) DeepCopy

func (in *BuildManagerList) DeepCopy() *BuildManagerList

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

func (*BuildManagerList) DeepCopyInto

func (in *BuildManagerList) DeepCopyInto(out *BuildManagerList)

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

func (*BuildManagerList) DeepCopyObject

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

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

type BuildManagerPhase

type BuildManagerPhase string
const (
	BuildManagerRobotNotFound            BuildManagerPhase = "RobotNotFound"
	BuildManagerWaitingForOtherResources BuildManagerPhase = "WaitingForOtherResources"
	BuildManagerCreatingConfigMap        BuildManagerPhase = "CreatingConfigMap"
	BuildManagerBuildingRobot            BuildManagerPhase = "BuildingRobot"
	BuildManagerReady                    BuildManagerPhase = "Ready"
	BuildManagerFailed                   BuildManagerPhase = "Failed"
	BuildManagerDeactivating             BuildManagerPhase = "Deactivating"
	BuildManagerInactive                 BuildManagerPhase = "Inactive"
)

type BuildManagerSpec

type BuildManagerSpec struct {
	Steps []Step `json:"steps,omitempty"`
}

BuildManagerSpec defines the desired state of BuildManager

func (*BuildManagerSpec) DeepCopy

func (in *BuildManagerSpec) DeepCopy() *BuildManagerSpec

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

func (*BuildManagerSpec) DeepCopyInto

func (in *BuildManagerSpec) DeepCopyInto(out *BuildManagerSpec)

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

type BuildManagerStatus

type BuildManagerStatus struct {
	Phase                 BuildManagerPhase     `json:"phase,omitempty"`
	Active                bool                  `json:"active,omitempty"`
	ScriptConfigMapStatus ScriptConfigMapStatus `json:"scriptConfigMapStatus,omitempty"`
	Steps                 []StepStatus          `json:"steps,omitempty"`
}

BuildManagerStatus defines the observed state of BuildManager

func (*BuildManagerStatus) DeepCopy

func (in *BuildManagerStatus) DeepCopy() *BuildManagerStatus

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

func (*BuildManagerStatus) DeepCopyInto

func (in *BuildManagerStatus) DeepCopyInto(out *BuildManagerStatus)

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

type ConnectionInfo

type ConnectionInfo struct {
	IP            string `json:"ip,omitempty"`
	ConfigMapName string `json:"configMapName,omitempty"`
}

func (*ConnectionInfo) DeepCopy

func (in *ConnectionInfo) DeepCopy() *ConnectionInfo

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

func (*ConnectionInfo) DeepCopyInto

func (in *ConnectionInfo) DeepCopyInto(out *ConnectionInfo)

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

type DiscoveryServer

type DiscoveryServer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DiscoveryServerSpec   `json:"spec,omitempty"`
	Status DiscoveryServerStatus `json:"status,omitempty"`
}

DiscoveryServer is the Schema for the discoveryservers API

func (*DiscoveryServer) DeepCopy

func (in *DiscoveryServer) DeepCopy() *DiscoveryServer

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

func (*DiscoveryServer) DeepCopyInto

func (in *DiscoveryServer) DeepCopyInto(out *DiscoveryServer)

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

func (*DiscoveryServer) DeepCopyObject

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

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

func (*DiscoveryServer) GetDiscoveryServerConfigMapMetadata

func (discoveryServer *DiscoveryServer) GetDiscoveryServerConfigMapMetadata() *types.NamespacedName

func (*DiscoveryServer) GetDiscoveryServerPodMetadata

func (discoveryServer *DiscoveryServer) GetDiscoveryServerPodMetadata() *types.NamespacedName

func (*DiscoveryServer) GetDiscoveryServerServiceMetadata

func (discoveryServer *DiscoveryServer) GetDiscoveryServerServiceMetadata() *types.NamespacedName

type DiscoveryServerConfigMapStatus

type DiscoveryServerConfigMapStatus struct {
	Created bool `json:"created,omitempty"`
}

func (*DiscoveryServerConfigMapStatus) DeepCopy

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

func (*DiscoveryServerConfigMapStatus) DeepCopyInto

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

type DiscoveryServerInstanceStatus

type DiscoveryServerInstanceStatus struct {
	Created bool                  `json:"created,omitempty"`
	Status  DiscoveryServerStatus `json:"status,omitempty"`
}

func (*DiscoveryServerInstanceStatus) DeepCopy

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

func (*DiscoveryServerInstanceStatus) DeepCopyInto

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

type DiscoveryServerList

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

DiscoveryServerList contains a list of DiscoveryServer

func (*DiscoveryServerList) DeepCopy

func (in *DiscoveryServerList) DeepCopy() *DiscoveryServerList

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

func (*DiscoveryServerList) DeepCopyInto

func (in *DiscoveryServerList) DeepCopyInto(out *DiscoveryServerList)

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

func (*DiscoveryServerList) DeepCopyObject

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

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

type DiscoveryServerPhase

type DiscoveryServerPhase string
const (
	DiscoveryServerPhaseCreatingService   DiscoveryServerPhase = "CreatingService"
	DiscoveryServerPhaseCreatingPod       DiscoveryServerPhase = "CreatingPod"
	DiscoveryServerPhaseCreatingConfigMap DiscoveryServerPhase = "CreatingConfigMap"
	DiscoveryServerPhaseReady             DiscoveryServerPhase = "Ready"
	DiscoveryServerPhaseDeletingConfigMap DiscoveryServerPhase = "DeletingConfigMap"
	DiscoveryServerPhaseDeletingPod       DiscoveryServerPhase = "DeletingPod"
	DiscoveryServerPhaseDeletingService   DiscoveryServerPhase = "DeletingService"
)

type DiscoveryServerPodStatus

type DiscoveryServerPodStatus struct {
	Created bool            `json:"created,omitempty"`
	Phase   corev1.PodPhase `json:"phase,omitempty"`
	IP      string          `json:"ip,omitempty"`
}

func (*DiscoveryServerPodStatus) DeepCopy

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

func (*DiscoveryServerPodStatus) DeepCopyInto

func (in *DiscoveryServerPodStatus) DeepCopyInto(out *DiscoveryServerPodStatus)

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

type DiscoveryServerServiceStatus

type DiscoveryServerServiceStatus struct {
	Created bool `json:"created,omitempty"`
}

func (*DiscoveryServerServiceStatus) DeepCopy

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

func (*DiscoveryServerServiceStatus) DeepCopyInto

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

type DiscoveryServerSpec

type DiscoveryServerSpec struct {
	Attached  bool   `json:"attached,omitempty"`
	Cluster   string `json:"cluster,omitempty"`
	Hostname  string `json:"hostname,omitempty"`
	Subdomain string `json:"subdomain,omitempty"`
}

DiscoveryServerSpec defines the desired state of DiscoveryServer

func (*DiscoveryServerSpec) DeepCopy

func (in *DiscoveryServerSpec) DeepCopy() *DiscoveryServerSpec

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

func (*DiscoveryServerSpec) DeepCopyInto

func (in *DiscoveryServerSpec) DeepCopyInto(out *DiscoveryServerSpec)

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

type DiscoveryServerStatus

type DiscoveryServerStatus struct {
	Phase           DiscoveryServerPhase           `json:"phase,omitempty"`
	ServiceStatus   DiscoveryServerServiceStatus   `json:"serviceStatus,omitempty"`
	PodStatus       DiscoveryServerPodStatus       `json:"podStatus,omitempty"`
	ConfigMapStatus DiscoveryServerConfigMapStatus `json:"configMapStatus,omitempty"`
	ConnectionInfo  ConnectionInfo                 `json:"connectionInfo,omitempty"`
}

DiscoveryServerStatus defines the observed state of DiscoveryServer

func (*DiscoveryServerStatus) DeepCopy

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

func (*DiscoveryServerStatus) DeepCopyInto

func (in *DiscoveryServerStatus) DeepCopyInto(out *DiscoveryServerStatus)

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 Launch

type Launch struct {
	// Cluster selector.
	Selector map[string]string `json:"selector,omitempty"`
	// Name of the workspace.
	// +kubebuilder:validation:Required
	Workspace string `json:"workspace"`
	// Name of the repository.
	// +kubebuilder:validation:Required
	Repository string `json:"repository"`
	// Name of the repository.
	// +kubebuilder:validation:Required
	Namespacing bool `json:"namespacing,omitempty"`
	// Additional environment variables to set when launching ROS nodes.
	Env []corev1.EnvVar `json:"env,omitempty"`
	// Path to launchfile in repository. (eg. `linorobot/linorobot_gazebo/launch.py`)
	// +kubebuilder:validation:Required
	LaunchFilePath string `json:"launchFilePath"`
	// Launch parameters.
	Parameters map[string]string `json:"parameters,omitempty"`
	// Command or script to run just before node's execution.
	Prelaunch Prelaunch `json:"prelaunch,omitempty"`
	// Launch container privilege.
	Privileged bool `json:"privileged,omitempty"`
}

Launch description of a repository.

func (*Launch) DeepCopy

func (in *Launch) DeepCopy() *Launch

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

func (*Launch) DeepCopyInto

func (in *Launch) DeepCopyInto(out *Launch)

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

type LaunchManager

type LaunchManager struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LaunchManagerSpec   `json:"spec,omitempty"`
	Status LaunchManagerStatus `json:"status,omitempty"`
}

LaunchManager is the Schema for the launchmanagers API

func (*LaunchManager) DeepCopy

func (in *LaunchManager) DeepCopy() *LaunchManager

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

func (*LaunchManager) DeepCopyInto

func (in *LaunchManager) DeepCopyInto(out *LaunchManager)

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

func (*LaunchManager) DeepCopyObject

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

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

func (*LaunchManager) Default

func (r *LaunchManager) Default()

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

func (*LaunchManager) GetLaunchPodMetadata

func (launchmanager *LaunchManager) GetLaunchPodMetadata() *types.NamespacedName

func (*LaunchManager) SetupWebhookWithManager

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

func (*LaunchManager) ValidateCreate

func (r *LaunchManager) ValidateCreate() error

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

func (*LaunchManager) ValidateDelete

func (r *LaunchManager) ValidateDelete() error

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

func (*LaunchManager) ValidateUpdate

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

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

type LaunchManagerList

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

LaunchManagerList contains a list of LaunchManager

func (*LaunchManagerList) DeepCopy

func (in *LaunchManagerList) DeepCopy() *LaunchManagerList

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

func (*LaunchManagerList) DeepCopyInto

func (in *LaunchManagerList) DeepCopyInto(out *LaunchManagerList)

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

func (*LaunchManagerList) DeepCopyObject

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

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

type LaunchManagerPhase

type LaunchManagerPhase string
const (
	LaunchManagerPhaseRobotNotFound LaunchManagerPhase = "RobotNotFound"
	LaunchManagerPhaseCreatingPod   LaunchManagerPhase = "CreatingPod"
	LaunchManagerPhaseLaunching     LaunchManagerPhase = "Launching"
	LaunchManagerPhaseReady         LaunchManagerPhase = "Ready"
	LaunchManagerPhaseDeactivating  LaunchManagerPhase = "Deactivating"
	LaunchManagerPhaseInactive      LaunchManagerPhase = "Inactive"
)

type LaunchManagerSpec

type LaunchManagerSpec struct {
	Launch map[string]Launch `json:"launch,omitempty"`
}

LaunchManagerSpec defines the desired state of LaunchManager

func (*LaunchManagerSpec) DeepCopy

func (in *LaunchManagerSpec) DeepCopy() *LaunchManagerSpec

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

func (*LaunchManagerSpec) DeepCopyInto

func (in *LaunchManagerSpec) DeepCopyInto(out *LaunchManagerSpec)

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

type LaunchManagerStatus

type LaunchManagerStatus struct {
	Phase           LaunchManagerPhase `json:"phase,omitempty"`
	Active          bool               `json:"active,omitempty"`
	LaunchPodStatus LaunchPodStatus    `json:"launchPodStatus,omitempty"`
}

LaunchManagerStatus defines the observed state of LaunchManager

func (*LaunchManagerStatus) DeepCopy

func (in *LaunchManagerStatus) DeepCopy() *LaunchManagerStatus

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

func (*LaunchManagerStatus) DeepCopyInto

func (in *LaunchManagerStatus) DeepCopyInto(out *LaunchManagerStatus)

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

type LaunchPodStatus

type LaunchPodStatus struct {
	Created      bool                    `json:"created,omitempty"`
	Phase        corev1.PodPhase         `json:"phase,omitempty"`
	IP           string                  `json:"ip,omitempty"`
	LaunchStatus map[string]LaunchStatus `json:"launchStatus,omitempty"`
}

func (*LaunchPodStatus) DeepCopy

func (in *LaunchPodStatus) DeepCopy() *LaunchPodStatus

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

func (*LaunchPodStatus) DeepCopyInto

func (in *LaunchPodStatus) DeepCopyInto(out *LaunchPodStatus)

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

type LaunchStatus

type LaunchStatus struct {
	Active          bool                   `json:"active,omitempty"`
	ContainerStatus corev1.ContainerStatus `json:"containerStatus,omitempty"`
}

func (*LaunchStatus) DeepCopy

func (in *LaunchStatus) DeepCopy() *LaunchStatus

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

func (*LaunchStatus) DeepCopyInto

func (in *LaunchStatus) DeepCopyInto(out *LaunchStatus)

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

type LoaderJobStatus

type LoaderJobStatus struct {
	Created bool     `json:"created,omitempty"`
	Phase   JobPhase `json:"phase,omitempty"`
}

func (*LoaderJobStatus) DeepCopy

func (in *LoaderJobStatus) DeepCopy() *LoaderJobStatus

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

func (*LoaderJobStatus) DeepCopyInto

func (in *LoaderJobStatus) DeepCopyInto(out *LoaderJobStatus)

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

type Prelaunch

type Prelaunch struct {
	// Bash command to run before ROS node execution.
	// +kubebuilder:validation:Required
	Command string `json:"command"`
}

Prelaunch command or script is applied just before the node is started.

func (*Prelaunch) DeepCopy

func (in *Prelaunch) DeepCopy() *Prelaunch

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

func (*Prelaunch) DeepCopyInto

func (in *Prelaunch) DeepCopyInto(out *Prelaunch)

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

type ROSBridge

type ROSBridge struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ROSBridgeSpec   `json:"spec,omitempty"`
	Status ROSBridgeStatus `json:"status,omitempty"`
}

ROSBridge is the Schema for the rosbridges API

func (*ROSBridge) DeepCopy

func (in *ROSBridge) DeepCopy() *ROSBridge

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

func (*ROSBridge) DeepCopyInto

func (in *ROSBridge) DeepCopyInto(out *ROSBridge)

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

func (*ROSBridge) DeepCopyObject

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

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

func (*ROSBridge) GetBridgePodMetadata

func (rosbridge *ROSBridge) GetBridgePodMetadata() *types.NamespacedName

func (*ROSBridge) GetBridgeServiceMetadata

func (rosbridge *ROSBridge) GetBridgeServiceMetadata() *types.NamespacedName

func (*ROSBridge) GetOwnerMetadata

func (rosbridge *ROSBridge) GetOwnerMetadata() *types.NamespacedName

type ROSBridgeInstanceStatus

type ROSBridgeInstanceStatus struct {
	Created bool            `json:"created,omitempty"`
	Status  ROSBridgeStatus `json:"status,omitempty"`
}

func (*ROSBridgeInstanceStatus) DeepCopy

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

func (*ROSBridgeInstanceStatus) DeepCopyInto

func (in *ROSBridgeInstanceStatus) DeepCopyInto(out *ROSBridgeInstanceStatus)

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

type ROSBridgeList

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

ROSBridgeList contains a list of ROSBridge

func (*ROSBridgeList) DeepCopy

func (in *ROSBridgeList) DeepCopy() *ROSBridgeList

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

func (*ROSBridgeList) DeepCopyInto

func (in *ROSBridgeList) DeepCopyInto(out *ROSBridgeList)

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

func (*ROSBridgeList) DeepCopyObject

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

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

type ROSBridgeSpec

type ROSBridgeSpec struct {
	ROS   BridgeDistro `json:"ros,omitempty"`
	ROS2  BridgeDistro `json:"ros2,omitempty"`
	Image string       `json:"image,omitempty"`
}

ROSBridgeSpec defines the desired state of ROSBridge

func (*ROSBridgeSpec) DeepCopy

func (in *ROSBridgeSpec) DeepCopy() *ROSBridgeSpec

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

func (*ROSBridgeSpec) DeepCopyInto

func (in *ROSBridgeSpec) DeepCopyInto(out *ROSBridgeSpec)

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

type ROSBridgeStatus

type ROSBridgeStatus struct {
	Phase         BridgePhase         `json:"phase,omitempty"`
	PodStatus     BridgePodStatus     `json:"podStatus,omitempty"`
	ServiceStatus BridgeServiceStatus `json:"serviceStatus,omitempty"`
}

ROSBridgeStatus defines the observed state of ROSBridge

func (*ROSBridgeStatus) DeepCopy

func (in *ROSBridgeStatus) DeepCopy() *ROSBridgeStatus

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

func (*ROSBridgeStatus) DeepCopyInto

func (in *ROSBridgeStatus) DeepCopyInto(out *ROSBridgeStatus)

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

type ROSDistro

type ROSDistro string

ROS distro selection. Allowed distros are Foxy and Galactic. It is aimed to support Humble, Melodic and Noetic in further versions. +kubebuilder:validation:Enum=foxy;galactic;noetic;melodic

const (
	// ROS Melodic Morenia
	ROSDistroMelodic ROSDistro = "melodic"
	// ROS Noetic Ninjemys
	ROSDistroNoetic ROSDistro = "noetic"
	// ROS Foxy Fitzroy
	ROSDistroFoxy ROSDistro = "foxy"
	// ROS Galactic Geochelone
	ROSDistroGalactic ROSDistro = "galactic"
)

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"`
}

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 {
	GPUCore int `json:"gpuCore,omitempty"`
	// +kubebuilder:validation:Pattern=`^([0-9])+(m)$`
	CPU string `json:"cpu,omitempty"`
	// +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 Robot

type Robot struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RobotSpec   `json:"spec,omitempty"`
	Status RobotStatus `json:"status,omitempty"`
}

Robot is the Schema for the robots API

func (*Robot) DeepCopy

func (in *Robot) DeepCopy() *Robot

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

func (*Robot) DeepCopyInto

func (in *Robot) DeepCopyInto(out *Robot)

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

func (*Robot) DeepCopyObject

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

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

func (*Robot) Default

func (r *Robot) Default()

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

func (*Robot) GetDiscoveryServerMetadata

func (robot *Robot) GetDiscoveryServerMetadata() *types.NamespacedName

func (*Robot) GetLoaderJobMetadata

func (robot *Robot) GetLoaderJobMetadata() *types.NamespacedName

func (*Robot) GetPVCEtcMetadata

func (robot *Robot) GetPVCEtcMetadata() *types.NamespacedName

func (*Robot) GetPVCOptMetadata

func (robot *Robot) GetPVCOptMetadata() *types.NamespacedName

func (*Robot) GetPVCUsrMetadata

func (robot *Robot) GetPVCUsrMetadata() *types.NamespacedName

func (*Robot) GetPVCVarMetadata

func (robot *Robot) GetPVCVarMetadata() *types.NamespacedName

func (*Robot) GetPVCWorkspaceMetadata

func (robot *Robot) GetPVCWorkspaceMetadata() *types.NamespacedName

func (*Robot) GetROSBridgeMetadata

func (robot *Robot) GetROSBridgeMetadata() *types.NamespacedName

func (*Robot) GetRobotDevSuiteMetadata

func (robot *Robot) GetRobotDevSuiteMetadata() *types.NamespacedName

func (*Robot) SetupWebhookWithManager

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

func (*Robot) ValidateCreate

func (r *Robot) ValidateCreate() error

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

func (*Robot) ValidateDelete

func (r *Robot) ValidateDelete() error

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

func (*Robot) ValidateUpdate

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

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

type RobotDevSuite

type RobotDevSuite struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RobotDevSuiteSpec   `json:"spec,omitempty"`
	Status RobotDevSuiteStatus `json:"status,omitempty"`
}

RobotDevSuite is the Schema for the robotdevsuites API

func (*RobotDevSuite) DeepCopy

func (in *RobotDevSuite) DeepCopy() *RobotDevSuite

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

func (*RobotDevSuite) DeepCopyInto

func (in *RobotDevSuite) DeepCopyInto(out *RobotDevSuite)

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

func (*RobotDevSuite) DeepCopyObject

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

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

func (*RobotDevSuite) GetRobotIDEMetadata

func (robotDevSuite *RobotDevSuite) GetRobotIDEMetadata() *types.NamespacedName

func (*RobotDevSuite) GetRobotVDIMetadata

func (robotDevSuite *RobotDevSuite) GetRobotVDIMetadata() *types.NamespacedName

type RobotDevSuiteInstanceStatus

type RobotDevSuiteInstanceStatus struct {
	Created bool                `json:"created,omitempty"`
	Status  RobotDevSuiteStatus `json:"status,omitempty"`
}

func (*RobotDevSuiteInstanceStatus) DeepCopy

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

func (*RobotDevSuiteInstanceStatus) DeepCopyInto

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

type RobotDevSuiteList

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

RobotDevSuiteList contains a list of RobotDevSuite

func (*RobotDevSuiteList) DeepCopy

func (in *RobotDevSuiteList) DeepCopy() *RobotDevSuiteList

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

func (*RobotDevSuiteList) DeepCopyInto

func (in *RobotDevSuiteList) DeepCopyInto(out *RobotDevSuiteList)

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

func (*RobotDevSuiteList) DeepCopyObject

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

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

type RobotDevSuitePhase

type RobotDevSuitePhase string

type RobotDevSuiteSpec

type RobotDevSuiteSpec struct {
	VDIEnabled       bool         `json:"vdiEnabled,omitempty"`
	RobotVDITemplate RobotVDISpec `json:"robotVDITemplate,omitempty"`
	IDEEnabled       bool         `json:"ideEnabled,omitempty"`
	RobotIDETemplate RobotIDESpec `json:"robotIDETemplate,omitempty"`
}

RobotDevSuiteSpec defines the desired state of RobotDevSuite

func (*RobotDevSuiteSpec) DeepCopy

func (in *RobotDevSuiteSpec) DeepCopy() *RobotDevSuiteSpec

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

func (*RobotDevSuiteSpec) DeepCopyInto

func (in *RobotDevSuiteSpec) DeepCopyInto(out *RobotDevSuiteSpec)

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

type RobotDevSuiteStatus

type RobotDevSuiteStatus struct {
	Phase          RobotDevSuitePhase     `json:"phase,omitempty"`
	Active         bool                   `json:"active,omitempty"`
	RobotVDIStatus RobotVDIInstanceStatus `json:"robotVDIStatus,omitempty"`
	RobotIDEStatus RobotIDEInstanceStatus `json:"robotIDEStatus,omitempty"`
}

RobotDevSuiteStatus defines the observed state of RobotDevSuite

func (*RobotDevSuiteStatus) DeepCopy

func (in *RobotDevSuiteStatus) DeepCopy() *RobotDevSuiteStatus

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

func (*RobotDevSuiteStatus) DeepCopyInto

func (in *RobotDevSuiteStatus) DeepCopyInto(out *RobotDevSuiteStatus)

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

type RobotIDE

type RobotIDE struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RobotIDESpec   `json:"spec,omitempty"`
	Status RobotIDEStatus `json:"status,omitempty"`
}

RobotIDE is the Schema for the robotides API

func (*RobotIDE) DeepCopy

func (in *RobotIDE) DeepCopy() *RobotIDE

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

func (*RobotIDE) DeepCopyInto

func (in *RobotIDE) DeepCopyInto(out *RobotIDE)

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

func (*RobotIDE) DeepCopyObject

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

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

func (*RobotIDE) Default

func (r *RobotIDE) Default()

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

func (*RobotIDE) GetRobotIDEIngressMetadata

func (robotide *RobotIDE) GetRobotIDEIngressMetadata() *types.NamespacedName

func (*RobotIDE) GetRobotIDEPodMetadata

func (robotide *RobotIDE) GetRobotIDEPodMetadata() *types.NamespacedName

func (*RobotIDE) GetRobotIDEServiceMetadata

func (robotide *RobotIDE) GetRobotIDEServiceMetadata() *types.NamespacedName

func (*RobotIDE) SetupWebhookWithManager

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

func (*RobotIDE) ValidateCreate

func (r *RobotIDE) ValidateCreate() error

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

func (*RobotIDE) ValidateDelete

func (r *RobotIDE) ValidateDelete() error

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

func (*RobotIDE) ValidateUpdate

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

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

type RobotIDEIngressStatus

type RobotIDEIngressStatus struct {
	Created bool `json:"created,omitempty"`
}

func (*RobotIDEIngressStatus) DeepCopy

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

func (*RobotIDEIngressStatus) DeepCopyInto

func (in *RobotIDEIngressStatus) DeepCopyInto(out *RobotIDEIngressStatus)

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

type RobotIDEInstanceStatus

type RobotIDEInstanceStatus struct {
	Created bool          `json:"created,omitempty"`
	Phase   RobotIDEPhase `json:"phase,omitempty"`
}

func (*RobotIDEInstanceStatus) DeepCopy

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

func (*RobotIDEInstanceStatus) DeepCopyInto

func (in *RobotIDEInstanceStatus) DeepCopyInto(out *RobotIDEInstanceStatus)

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

type RobotIDEList

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

RobotIDEList contains a list of RobotIDE

func (*RobotIDEList) DeepCopy

func (in *RobotIDEList) DeepCopy() *RobotIDEList

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

func (*RobotIDEList) DeepCopyInto

func (in *RobotIDEList) DeepCopyInto(out *RobotIDEList)

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

func (*RobotIDEList) DeepCopyObject

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

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

type RobotIDEPhase

type RobotIDEPhase string
const (
	RobotIDEPhaseCreatingService RobotIDEPhase = "CreatingService"
	RobotIDEPhaseCreatingPod     RobotIDEPhase = "CreatingPod"
	RobotIDEPhaseCreatingIngress RobotIDEPhase = "CreatingIngress"
	RobotIDEPhaseRunning         RobotIDEPhase = "Running"
)

type RobotIDEPodStatus

type RobotIDEPodStatus struct {
	Created bool            `json:"created,omitempty"`
	Phase   corev1.PodPhase `json:"phase,omitempty"`
	IP      string          `json:"ip,omitempty"`
}

func (*RobotIDEPodStatus) DeepCopy

func (in *RobotIDEPodStatus) DeepCopy() *RobotIDEPodStatus

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

func (*RobotIDEPodStatus) DeepCopyInto

func (in *RobotIDEPodStatus) DeepCopyInto(out *RobotIDEPodStatus)

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

type RobotIDEServiceStatus

type RobotIDEServiceStatus struct {
	Created bool `json:"created,omitempty"`
}

func (*RobotIDEServiceStatus) DeepCopy

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

func (*RobotIDEServiceStatus) DeepCopyInto

func (in *RobotIDEServiceStatus) DeepCopyInto(out *RobotIDEServiceStatus)

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

type RobotIDESpec

type RobotIDESpec struct {
	Resources Resources `json:"resources,omitempty"`
	// ServiceType
	// +kubebuilder:validation:Enum=ClusterIP;NodePort
	// +kubebuilder:default="NodePort"
	ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
	Ingress     bool               `json:"ingress,omitempty"`
	Privileged  bool               `json:"privileged,omitempty"`
}

RobotIDESpec defines the desired state of RobotIDE

func (*RobotIDESpec) DeepCopy

func (in *RobotIDESpec) DeepCopy() *RobotIDESpec

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

func (*RobotIDESpec) DeepCopyInto

func (in *RobotIDESpec) DeepCopyInto(out *RobotIDESpec)

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

type RobotIDEStatus

type RobotIDEStatus struct {
	Phase         RobotIDEPhase         `json:"phase,omitempty"`
	PodStatus     RobotIDEPodStatus     `json:"podStatus,omitempty"`
	ServiceStatus RobotIDEServiceStatus `json:"serviceStatus,omitempty"`
	IngressStatus RobotIDEIngressStatus `json:"ingressStatus,omitempty"`
}

RobotIDEStatus defines the observed state of RobotIDE

func (*RobotIDEStatus) DeepCopy

func (in *RobotIDEStatus) DeepCopy() *RobotIDEStatus

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

func (*RobotIDEStatus) DeepCopyInto

func (in *RobotIDEStatus) DeepCopyInto(out *RobotIDEStatus)

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

type RobotList

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

RobotList contains a list of Robot

func (*RobotList) DeepCopy

func (in *RobotList) DeepCopy() *RobotList

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

func (*RobotList) DeepCopyInto

func (in *RobotList) DeepCopyInto(out *RobotList)

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

func (*RobotList) DeepCopyObject

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

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

type RobotPhase

type RobotPhase string
const (
	RobotPhaseCreatingEnvironment      RobotPhase = "CreatingEnvironment"
	RobotPhaseCreatingDiscoveryServer  RobotPhase = "CreatingDiscoveryServer"
	RobotPhaseConfiguringWorkspaces    RobotPhase = "ConfiguringWorkspaces"
	RobotPhaseCreatingBridge           RobotPhase = "CreatingBridge"
	RobotPhaseCreatingDevelopmentSuite RobotPhase = "CreatingDevelopmentSuite"
	RobotPhaseEnvironmentReady         RobotPhase = "EnvironmentReady"
	RobotPhaseBuilding                 RobotPhase = "Building"
	RobotPhaseBuilt                    RobotPhase = "Built"
	RobotPhaseLaunching                RobotPhase = "Launching"
	RobotPhaseRunning                  RobotPhase = "Running"
	RobotPhaseDeletingBridge           RobotPhase = "DeletingBridge"
	RobotPhaseDeletingDiscoveryServer  RobotPhase = "DeletingDiscoveryServer"
	RobotPhaseDeletingLoaderJob        RobotPhase = "DeletingLoaderJob"
	RobotPhaseDeletingVolumes          RobotPhase = "DeletingVolumes"

	RobotPhaseFailed RobotPhase = "Failed"
)

type RobotSpec

type RobotSpec struct {
	// ROS distro to be used.
	// +kubebuilder:validation:Required
	Distro ROSDistro `json:"distro"`
	// Resource limitations of robot containers.
	Storage Storage `json:"storage,omitempty"`
	// Discovery server template
	DiscoveryServerTemplate DiscoveryServerSpec `json:"discoveryServerTemplate,omitempty"`
	// ROS bridge template
	ROSBridgeTemplate ROSBridgeSpec `json:"rosBridgeTemplate,omitempty"`
	// Robot development suite template
	RobotDevSuiteTemplate RobotDevSuiteSpec `json:"robotDevSuiteTemplate,omitempty"`
	// Global path of workspaces. It's fixed to `/home/workspaces` path.
	WorkspacesPath string `json:"workspacesPath,omitempty"`
	// Workspace definitions of robot.
	// +kubebuilder:validation:MinItems=1
	Workspaces []Workspace `json:"workspaces,omitempty"`
	// Development enabled
	Development bool `json:"development,omitempty"`
	// Root DNS configuration.
	RootDNSConfig RootDNSConfig `json:"rootDNSConfig,omitempty"`
	// TLS secret reference.
	TLSSecretReference TLSSecretReference `json:"tlsSecretRef,omitempty"`
}

RobotSpec defines the desired state of Robot

func (*RobotSpec) DeepCopy

func (in *RobotSpec) DeepCopy() *RobotSpec

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

func (*RobotSpec) DeepCopyInto

func (in *RobotSpec) DeepCopyInto(out *RobotSpec)

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

type RobotStatus

type RobotStatus struct {
	// Phase of robot
	Phase RobotPhase `json:"phase,omitempty"`
	// Image of robot
	Image string `json:"image,omitempty"`
	// Node name
	NodeName string `json:"nodeName,omitempty"`
	// Volume status
	VolumeStatuses VolumeStatuses `json:"volumeStatuses,omitempty"`
	// Discovery server instance status
	DiscoveryServerStatus DiscoveryServerInstanceStatus `json:"discoveryServerStatus,omitempty"`
	// ROS bridge instance status
	ROSBridgeStatus ROSBridgeInstanceStatus `json:"rosBridgeStatus,omitempty"`
	// Robot development suite instance status
	RobotDevSuiteStatus RobotDevSuiteInstanceStatus `json:"robotDevSuiteStatus,omitempty"`
	// Loader job status that configures environment
	LoaderJobStatus LoaderJobStatus `json:"loaderJobStatus,omitempty"`
	// Attached build object information
	AttachedBuildObject AttachedBuildObject `json:"attachedBuildObject,omitempty"`
	// Attached launch object information
	AttachedLaunchObjects []AttachedLaunchObject `json:"attachedLaunchObjects,omitempty"`
	// Attached dev object information
	AttachedDevObjects []AttachedDevObject `json:"attachedDevObjects,omitempty"`
}

RobotStatus defines the observed state of Robot

func (*RobotStatus) DeepCopy

func (in *RobotStatus) DeepCopy() *RobotStatus

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

func (*RobotStatus) DeepCopyInto

func (in *RobotStatus) DeepCopyInto(out *RobotStatus)

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

type RobotVDI

type RobotVDI struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RobotVDISpec   `json:"spec,omitempty"`
	Status RobotVDIStatus `json:"status,omitempty"`
}

RobotVDI is the Schema for the robotvdis API

func (*RobotVDI) DeepCopy

func (in *RobotVDI) DeepCopy() *RobotVDI

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

func (*RobotVDI) DeepCopyInto

func (in *RobotVDI) DeepCopyInto(out *RobotVDI)

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

func (*RobotVDI) DeepCopyObject

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

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

func (*RobotVDI) Default

func (r *RobotVDI) Default()

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

func (*RobotVDI) GetRobotVDIIngressMetadata

func (robotvdi *RobotVDI) GetRobotVDIIngressMetadata() *types.NamespacedName

func (*RobotVDI) GetRobotVDIPVCMetadata

func (robotvdi *RobotVDI) GetRobotVDIPVCMetadata() *types.NamespacedName

func (*RobotVDI) GetRobotVDIPodMetadata

func (robotvdi *RobotVDI) GetRobotVDIPodMetadata() *types.NamespacedName

func (*RobotVDI) GetRobotVDIServiceTCPMetadata

func (robotvdi *RobotVDI) GetRobotVDIServiceTCPMetadata() *types.NamespacedName

func (*RobotVDI) GetRobotVDIServiceUDPMetadata

func (robotvdi *RobotVDI) GetRobotVDIServiceUDPMetadata() *types.NamespacedName

func (*RobotVDI) SetupWebhookWithManager

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

func (*RobotVDI) ValidateCreate

func (r *RobotVDI) ValidateCreate() error

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

func (*RobotVDI) ValidateDelete

func (r *RobotVDI) ValidateDelete() error

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

func (*RobotVDI) ValidateUpdate

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

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

type RobotVDIIngressStatus

type RobotVDIIngressStatus struct {
	Created bool `json:"created,omitempty"`
}

func (*RobotVDIIngressStatus) DeepCopy

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

func (*RobotVDIIngressStatus) DeepCopyInto

func (in *RobotVDIIngressStatus) DeepCopyInto(out *RobotVDIIngressStatus)

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

type RobotVDIInstanceStatus

type RobotVDIInstanceStatus struct {
	Created bool          `json:"created,omitempty"`
	Phase   RobotVDIPhase `json:"phase,omitempty"`
}

func (*RobotVDIInstanceStatus) DeepCopy

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

func (*RobotVDIInstanceStatus) DeepCopyInto

func (in *RobotVDIInstanceStatus) DeepCopyInto(out *RobotVDIInstanceStatus)

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

type RobotVDIList

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

RobotVDIList contains a list of RobotVDI

func (*RobotVDIList) DeepCopy

func (in *RobotVDIList) DeepCopy() *RobotVDIList

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

func (*RobotVDIList) DeepCopyInto

func (in *RobotVDIList) DeepCopyInto(out *RobotVDIList)

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

func (*RobotVDIList) DeepCopyObject

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

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

type RobotVDIPVCStatus

type RobotVDIPVCStatus struct {
	Created bool `json:"created,omitempty"`
}

func (*RobotVDIPVCStatus) DeepCopy

func (in *RobotVDIPVCStatus) DeepCopy() *RobotVDIPVCStatus

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

func (*RobotVDIPVCStatus) DeepCopyInto

func (in *RobotVDIPVCStatus) DeepCopyInto(out *RobotVDIPVCStatus)

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

type RobotVDIPhase

type RobotVDIPhase string
const (
	RobotVDIPhaseCreatingPVC        RobotVDIPhase = "CreatingPVC"
	RobotVDIPhaseCreatingTCPService RobotVDIPhase = "CreatingTCPService"
	RobotVDIPhaseCreatingUDPService RobotVDIPhase = "CreatingUDPService"
	RobotVDIPhaseCreatingPod        RobotVDIPhase = "CreatingPod"
	RobotVDIPhaseCreatingIngress    RobotVDIPhase = "CreatingIngress"
	RobotVDIPhaseRunning            RobotVDIPhase = "Running"
)

type RobotVDIPodStatus

type RobotVDIPodStatus struct {
	Created bool            `json:"created,omitempty"`
	Phase   corev1.PodPhase `json:"phase,omitempty"`
	IP      string          `json:"ip,omitempty"`
}

func (*RobotVDIPodStatus) DeepCopy

func (in *RobotVDIPodStatus) DeepCopy() *RobotVDIPodStatus

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

func (*RobotVDIPodStatus) DeepCopyInto

func (in *RobotVDIPodStatus) DeepCopyInto(out *RobotVDIPodStatus)

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

type RobotVDIServiceTCPStatus

type RobotVDIServiceTCPStatus struct {
	Created bool `json:"created,omitempty"`
}

func (*RobotVDIServiceTCPStatus) DeepCopy

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

func (*RobotVDIServiceTCPStatus) DeepCopyInto

func (in *RobotVDIServiceTCPStatus) DeepCopyInto(out *RobotVDIServiceTCPStatus)

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

type RobotVDIServiceUDPStatus

type RobotVDIServiceUDPStatus struct {
	Created bool `json:"created,omitempty"`
}

func (*RobotVDIServiceUDPStatus) DeepCopy

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

func (*RobotVDIServiceUDPStatus) DeepCopyInto

func (in *RobotVDIServiceUDPStatus) DeepCopyInto(out *RobotVDIServiceUDPStatus)

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

type RobotVDISpec

type RobotVDISpec struct {
	Resources Resources `json:"resources,omitempty"`
	// ServiceType
	// +kubebuilder:validation:Enum=ClusterIP;NodePort
	// +kubebuilder:default="NodePort"
	ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
	Ingress     bool               `json:"ingress,omitempty"`
	Privileged  bool               `json:"privileged,omitempty"`
	// NAT1TO1 for Neko.
	NAT1TO1 string `json:"nat1to1,omitempty"`
	// +kubebuilder:validation:Pattern=`^([0-9])+-([0-9])+$`
	// +kubebuilder:validation:Required
	WebRTCPortRange string `json:"webrtcPortRange,omitempty"`
}

RobotVDISpec defines the desired state of RobotVDI

func (*RobotVDISpec) DeepCopy

func (in *RobotVDISpec) DeepCopy() *RobotVDISpec

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

func (*RobotVDISpec) DeepCopyInto

func (in *RobotVDISpec) DeepCopyInto(out *RobotVDISpec)

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

type RobotVDIStatus

type RobotVDIStatus struct {
	Phase            RobotVDIPhase            `json:"phase,omitempty"`
	PodStatus        RobotVDIPodStatus        `json:"podStatus,omitempty"`
	ServiceTCPStatus RobotVDIServiceTCPStatus `json:"serviceTCPStatus,omitempty"`
	ServiceUDPStatus RobotVDIServiceUDPStatus `json:"serviceUDPStatus,omitempty"`
	IngressStatus    RobotVDIIngressStatus    `json:"ingressStatus,omitempty"`
	PVCStatus        RobotVDIPVCStatus        `json:"pvcStatus,omitempty"`
}

RobotVDIStatus defines the observed state of RobotVDI

func (*RobotVDIStatus) DeepCopy

func (in *RobotVDIStatus) DeepCopy() *RobotVDIStatus

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

func (*RobotVDIStatus) DeepCopyInto

func (in *RobotVDIStatus) DeepCopyInto(out *RobotVDIStatus)

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

type RootDNSConfig

type RootDNSConfig struct {
	// DNS host.
	// +kubebuilder:validation:Required
	Host string `json:"host"`
	// DNS host.
	// +kubebuilder:validation:Required
	Port string `json:"port"`
}

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 ScriptConfigMapStatus

type ScriptConfigMapStatus struct {
	Created bool `json:"created,omitempty"`
}

func (*ScriptConfigMapStatus) DeepCopy

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

func (*ScriptConfigMapStatus) DeepCopyInto

func (in *ScriptConfigMapStatus) DeepCopyInto(out *ScriptConfigMapStatus)

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

type Step

type Step struct {
	// Name of the step.
	Name string `json:"name"`
	// Name of the workspace.
	Workspace string `json:"workspace"`
	// Bash command to run.
	Command string `json:"command,omitempty"`
	// Bash script to run.
	Script string `json:"script,omitempty"`
	// Environment variables for step.
	Env []corev1.EnvVar `json:"env,omitempty"`
}

Step is a command or script to execute when building a robot. Either `command` or `script` should be specified for each step.

func (*Step) DeepCopy

func (in *Step) DeepCopy() *Step

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

func (*Step) DeepCopyInto

func (in *Step) DeepCopyInto(out *Step)

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

type StepStatus

type StepStatus struct {
	Step       Step     `json:"step,omitempty"`
	JobName    string   `json:"jobName,omitempty"`
	JobCreated bool     `json:"created,omitempty"`
	JobPhase   JobPhase `json:"jobPhase,omitempty"`
}

func (*StepStatus) DeepCopy

func (in *StepStatus) DeepCopy() *StepStatus

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

func (*StepStatus) DeepCopyInto

func (in *StepStatus) DeepCopyInto(out *StepStatus)

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.
	// +kubebuilder:default=10000
	Amount int `json:"amount,omitempty"`
	// Storage class selection for robot's volumes.
	StorageClassConfig StorageClassConfig `json:"storageClassConfig,omitempty"`
}

Robot'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 mode
	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 {
	// TLS secret object name.
	// +kubebuilder:validation:Required
	Name string `json:"name"`
	// 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 VolumeStatus

type VolumeStatus struct {
	Created                   bool   `json:"created,omitempty"`
	PersistentVolumeClaimName string `json:"persistentVolumeClaimName,omitempty"`
}

func (*VolumeStatus) DeepCopy

func (in *VolumeStatus) DeepCopy() *VolumeStatus

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

func (*VolumeStatus) DeepCopyInto

func (in *VolumeStatus) DeepCopyInto(out *VolumeStatus)

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

type VolumeStatuses

type VolumeStatuses struct {
	Var       VolumeStatus `json:"var,omitempty"`
	Etc       VolumeStatus `json:"etc,omitempty"`
	Usr       VolumeStatus `json:"usr,omitempty"`
	Opt       VolumeStatus `json:"opt,omitempty"`
	Workspace VolumeStatus `json:"workspace,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 robot 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.

Jump to

Keyboard shortcuts

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