v1alpha1

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 12 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 (
	CustomScriptsPath               = "/etc/custom"
	RequestUpdateAnnotationKey      = "lastUpdateRequest"
	RequestTerminationAnnotationKey = "lastTerminationRequest"
)

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 ContainerPostfixLength int = 4

Functions

func BuildLaunchPath

func BuildLaunchPath(
	node Node,
	rosSpec ROSSpecifications,
) string

func DefaultContainers

func DefaultContainers(r *Robot)

func DefaultDistro

func DefaultDistro(r *Robot)

func DefaultResourceLimits

func DefaultResourceLimits(r *Robot)

func GeneratePrelaunchCommandAsEnv

func GeneratePrelaunchCommandAsEnv(
	node Node,
	rosSpec ROSSpecifications,
	artifacts Artifacts,
) corev1.EnvVar

func GenerateRunCommandAsEnv

func GenerateRunCommandAsEnv(
	node Node,
	rosSpec ROSSpecifications,
	artifacts Artifacts,
) corev1.EnvVar

func GetCloneCommand

func GetCloneCommand(
	rosSpec ROSSpecifications,
	wsKey int,
) string

func GetCommonEnvironmentVariables

func GetCommonEnvironmentVariables(
	rosSpec ROSSpecifications,
) []corev1.EnvVar

func GetNodeContainerEnvironmentVariables

func GetNodeContainerEnvironmentVariables(
	rosSpec ROSSpecifications,
	wsKey int,
) []corev1.EnvVar

func GetROSEnvironmentVariables

func GetROSEnvironmentVariables(
	rosSpec ROSSpecifications,
) []corev1.EnvVar

func GetTrackerEnvironmentVariables

func GetTrackerEnvironmentVariables(
	rosSpec ROSSpecifications,
) []corev1.EnvVar

Types

type Artifacts

type Artifacts struct {
	ROS               ROS               `json:"ros,omitempty"`
	ROSContainer      ContainerArtifact `json:"rosContainer,omitempty"`
	CloudIDEContainer ContainerArtifact `json:"cloudIDEContainer,omitempty"`
	TrackerContainer  ContainerArtifact `json:"trackerContainer,omitempty"`
	VDIContainer      ContainerArtifact `json:"vdiContainer,omitempty"`
	NodeContainer     ContainerArtifact `json:"nodeContainer,omitempty"`
}

func (*Artifacts) DeepCopy

func (in *Artifacts) DeepCopy() *Artifacts

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

func (*Artifacts) DeepCopyInto

func (in *Artifacts) DeepCopyInto(out *Artifacts)

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

type BuildStatus

type BuildStatus struct {
	Created bool             `json:"created,omitempty"`
	Status  RobotBuildStatus `json:"status,omitempty"`
}

func (*BuildStatus) DeepCopy

func (in *BuildStatus) DeepCopy() *BuildStatus

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

func (*BuildStatus) DeepCopyInto

func (in *BuildStatus) DeepCopyInto(out *BuildStatus)

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

type BuilderImage

type BuilderImage string

type CloneJobStatus

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

func (*CloneJobStatus) DeepCopy

func (in *CloneJobStatus) DeepCopy() *CloneJobStatus

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

func (*CloneJobStatus) DeepCopyInto

func (in *CloneJobStatus) DeepCopyInto(out *CloneJobStatus)

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

type CloneStatus

type CloneStatus struct {
	Created bool             `json:"created,omitempty"`
	Status  RobotCloneStatus `json:"status,omitempty"`
}

func (*CloneStatus) DeepCopy

func (in *CloneStatus) DeepCopy() *CloneStatus

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

func (*CloneStatus) DeepCopyInto

func (in *CloneStatus) DeepCopyInto(out *CloneStatus)

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

type CloudIDEOption

type CloudIDEOption string
const (
	CloudIDEOptionEnabled  CloudIDEOption = "Enabled"
	CloudIDEOptionDisabled CloudIDEOption = "Disabled"
)

type CloudIDEPodStatus added in v0.2.0

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

func (*CloudIDEPodStatus) DeepCopy added in v0.2.0

func (in *CloudIDEPodStatus) DeepCopy() *CloudIDEPodStatus

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

func (*CloudIDEPodStatus) DeepCopyInto added in v0.2.0

func (in *CloudIDEPodStatus) DeepCopyInto(out *CloudIDEPodStatus)

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

type ConfigStatus

type ConfigStatus struct {
	Created bool              `json:"created,omitempty"`
	Status  RobotConfigStatus `json:"status,omitempty"`
}

func (*ConfigStatus) DeepCopy

func (in *ConfigStatus) DeepCopy() *ConfigStatus

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

func (*ConfigStatus) DeepCopyInto

func (in *ConfigStatus) DeepCopyInto(out *ConfigStatus)

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

type Container

type Container struct {
	Name  string         `json:"name,omitempty"`
	State ContainerState `json:"phase,omitempty"`
}

func (*Container) DeepCopy

func (in *Container) DeepCopy() *Container

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

func (*Container) DeepCopyInto

func (in *Container) DeepCopyInto(out *Container)

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

type ContainerArtifact

type ContainerArtifact struct {
	Name       string                          `json:"name,omitempty"`
	Image      string                          `json:"image,omitempty"`
	Ports      map[string]corev1.ContainerPort `json:"ports,omitempty"`
	Entrypoint []string                        `json:"entrypoint,omitempty"`
	Env        []corev1.EnvVar                 `json:"env,omitempty"`
}

func (*ContainerArtifact) DeepCopy

func (in *ContainerArtifact) DeepCopy() *ContainerArtifact

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

func (*ContainerArtifact) DeepCopyInto

func (in *ContainerArtifact) DeepCopyInto(out *ContainerArtifact)

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

type ContainerState

type ContainerState string
const (
	ContainerStateRunning    ContainerState = "Running"
	ContainerStateTerminated ContainerState = "Terminated"
	ContainerStateWaiting    ContainerState = "Waiting"
)

type DesktopOption

type DesktopOption string
const (
	DesktopOptionMate  DesktopOption = "mate"
	DesktopOptionGnome DesktopOption = "gnome"
)

type DiscoveryServer

type DiscoveryServer struct {
	Option    DiscoveryServerOption `json:"option,omitempty"`
	GUID      string                `json:"guid,omitempty"`
	Cluster   string                `json:"cluster,omitempty"`
	Hostname  string                `json:"hostname,omitempty"`
	Subdomain string                `json:"subdomain,omitempty"`
}

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.

type DiscoveryServerOption

type DiscoveryServerOption string
const (
	DiscoveryServerOptionEnabled  DiscoveryServerOption = "Enabled"
	DiscoveryServerOptionDisabled DiscoveryServerOption = "Disabled"
)

type Etc

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

func (*Etc) DeepCopy

func (in *Etc) DeepCopy() *Etc

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

func (*Etc) DeepCopyInto

func (in *Etc) DeepCopyInto(out *Etc)

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

type Gazebo

type Gazebo struct {
	Enabled   bool   `json:"enabled,omitempty"`
	MasterURI string `json:"masterURI,omitempty"`
}

func (*Gazebo) DeepCopy

func (in *Gazebo) DeepCopy() *Gazebo

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

func (*Gazebo) DeepCopyInto

func (in *Gazebo) DeepCopyInto(out *Gazebo)

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 {
	Env            []corev1.EnvVar `json:"env,omitempty"`
	LaunchFilePath string          `json:"launchFilePath,omitempty"`
	Prelaunch      Prelaunch       `json:"prelaunch,omitempty"`
}

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 LaunchPodStatus

type LaunchPodStatus struct {
	Created bool            `json:"created,omitempty"`
	Phase   corev1.PodPhase `json:"phase,omitempty"`
	IP      string          `json:"ip,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 {
	Created bool              `json:"created,omitempty"`
	Status  RobotLaunchStatus `json:"status,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 Neko

type Neko struct {
	Ports     NekoPorts     `json:"ports,omitempty"`
	Desktop   DesktopOption `json:"desktop,omitempty"`
	Gazebo    Gazebo        `json:"gazebo,omitempty"`
	Resources NekoResources `json:"resources,omitempty"`
}

func (*Neko) DeepCopy

func (in *Neko) DeepCopy() *Neko

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

func (*Neko) DeepCopyInto

func (in *Neko) DeepCopyInto(out *Neko)

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

type NekoPorts

type NekoPorts struct {
	TCP int `json:"tcp,omitempty"`
	UDP int `json:"udp,omitempty"`
}

func (*NekoPorts) DeepCopy

func (in *NekoPorts) DeepCopy() *NekoPorts

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

func (*NekoPorts) DeepCopyInto

func (in *NekoPorts) DeepCopyInto(out *NekoPorts)

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

type NekoResources

type NekoResources struct {
	GPUCore int    `json:"gpuCore,omitempty"`
	CPU     string `json:"cpu,omitempty"`
	Memory  string `json:"memory,omitempty"`
}

func (*NekoResources) DeepCopy

func (in *NekoResources) DeepCopy() *NekoResources

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

func (*NekoResources) DeepCopyInto

func (in *NekoResources) DeepCopyInto(out *NekoResources)

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

type Node

type Node struct {
	NodeID        string          `json:"nodeID,omitempty"`
	Type          NodeType        `json:"nodeType,omitempty"`
	Package       string          `json:"package,omitempty"`
	Executable    string          `json:"executable,omitempty"`
	Index         int             `json:"index,omitempty"`
	WorkspaceKey  int             `json:"workspaceKey,omitempty"`
	RepositoryKey int             `json:"repositoryKey,omitempty"`
	Env           []corev1.EnvVar `json:"env,omitempty"`
	Container     Container       `json:"container,omitempty"`
	Activated     bool            `json:"activated,omitempty"`
}

func (*Node) DeepCopy

func (in *Node) DeepCopy() *Node

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

func (*Node) DeepCopyInto

func (in *Node) DeepCopyInto(out *Node)

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

type NodeRequest

type NodeRequest struct {
	Successful bool   `json:"successful,omitempty"`
	Nodes      []Node `json:"nodes,omitempty"`
}

func (*NodeRequest) DeepCopy

func (in *NodeRequest) DeepCopy() *NodeRequest

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

func (*NodeRequest) DeepCopyInto

func (in *NodeRequest) DeepCopyInto(out *NodeRequest)

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

type NodeRequests

type NodeRequests struct {
	LastUpdateRequest      string `json:"lastUpdateRequest,omitempty"`
	LastTerminationRequest string `json:"lastTerminationRequest,omitempty"`
}

func (*NodeRequests) DeepCopy

func (in *NodeRequests) DeepCopy() *NodeRequests

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

func (*NodeRequests) DeepCopyInto

func (in *NodeRequests) DeepCopyInto(out *NodeRequests)

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

type NodeRequirements

type NodeRequirements struct {
	Fetched bool   `json:"fetched,omitempty"`
	Nodes   []Node `json:"nodes,omitempty"`
}

func (*NodeRequirements) DeepCopy

func (in *NodeRequirements) DeepCopy() *NodeRequirements

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

func (*NodeRequirements) DeepCopyInto

func (in *NodeRequirements) DeepCopyInto(out *NodeRequirements)

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

type NodeType

type NodeType string
const (
	NodeTypeProcess NodeType = "process"
	NodeTypeNode    NodeType = "node"
)

type Opt

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

func (*Opt) DeepCopy

func (in *Opt) DeepCopy() *Opt

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

func (*Opt) DeepCopyInto

func (in *Opt) DeepCopyInto(out *Opt)

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

type Prelaunch

type Prelaunch struct {
	Command string `json:"command,omitempty"`
}

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 RBACStatus

type RBACStatus struct {
	ServiceAccount ServiceAccount `json:"serviceAccount,omitempty"`
	Role           Role           `json:"role,omitempty"`
	RoleBinding    RoleBinding    `json:"roleBinding,omitempty"`
}

func (*RBACStatus) DeepCopy

func (in *RBACStatus) DeepCopy() *RBACStatus

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

func (*RBACStatus) DeepCopyInto

func (in *RBACStatus) DeepCopyInto(out *RBACStatus)

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

type ROS

type ROS struct {
	BuilderImage      BuilderImage      `json:"builderImage"`
	ROSPackageManager ROSPackageManager `json:"rosPackageManager,omitempty"`
}

func (*ROS) DeepCopy

func (in *ROS) DeepCopy() *ROS

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

func (*ROS) DeepCopyInto

func (in *ROS) DeepCopyInto(out *ROS)

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

type ROSDistro

type ROSDistro string
const (
	ROSDistroMelodic  ROSDistro = "melodic"
	ROSDistroNoetic   ROSDistro = "noetic"
	ROSDistroFoxy     ROSDistro = "foxy"
	ROSDistroGalactic ROSDistro = "galactic"
)

type ROSPackageManager

type ROSPackageManager string
const (
	ROSPackageManagerROS1 ROSPackageManager = "catkin"
	ROSPackageManagerROS2 ROSPackageManager = "colcon"
)

type ROSSpecifications

type ROSSpecifications struct {
	Distro    ROSDistro      `json:"distro,omitempty"`
	Resources RobotResources `json:"resources,omitempty"`

	WorkspacesPath string      `json:"workspacesPath,omitempty"`
	Workspaces     []Workspace `json:"workspaces,omitempty"`
	State          RobotState  `json:"state,omitempty"`

	Mode                    RobotMode         `json:"mode,omitempty"`
	DiscoveryServer         DiscoveryServer   `json:"discoveryServer,omitempty"`
	ClusterSelector         string            `json:"clusterSelector,omitempty"`
	PackageClusterSelection map[string]string `json:"packageClusterSelection,omitempty"`

	CloudIDE             CloudIDEOption `json:"cloudIDE,omitempty"`
	VDI                  VDIRequest     `json:"vdi,omitempty"`
	TestContainerEnabled bool           `json:"testContainerEnabled,omitempty"`
}

func (*ROSSpecifications) DeepCopy

func (in *ROSSpecifications) DeepCopy() *ROSSpecifications

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

func (*ROSSpecifications) DeepCopyInto

func (in *ROSSpecifications) DeepCopyInto(out *ROSSpecifications)

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

type ROSVolumes

type ROSVolumes struct {
	Var Var `json:"var,omitempty"`
	Opt Opt `json:"opt,omitempty"`
	Usr Usr `json:"usr,omitempty"`
	Etc Etc `json:"etc,omitempty"`
}

func (*ROSVolumes) DeepCopy

func (in *ROSVolumes) DeepCopy() *ROSVolumes

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

func (*ROSVolumes) DeepCopyInto

func (in *ROSVolumes) DeepCopyInto(out *ROSVolumes)

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

type Repository

type Repository struct {
	Name   string `json:"name,omitempty"`
	URL    string `json:"url,omitempty"`
	Branch string `json:"branch,omitempty"`
	Launch Launch `json:"launch,omitempty"`
}

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 Robot

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

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

+kubebuilder:object:root=true +kubebuilder:subresource:status

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()

func (*Robot) GetRobotBuildMetadata

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

func (*Robot) GetRobotCloneMetadata

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

func (*Robot) GetRobotConfigMetadata

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

func (*Robot) GetRobotRuntimeMetadata

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

func (*Robot) GetRobotToolsMetadata

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

func (*Robot) GetVDIMetadata

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

func (*Robot) SetupWebhookWithManager

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

func (*Robot) ValidateCreate

func (r *Robot) ValidateCreate() error

func (*Robot) ValidateDelete

func (r *Robot) ValidateDelete() error

func (*Robot) ValidateUpdate

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

type RobotBuild

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

	Spec   RobotBuildSpec   `json:"spec,omitempty"`
	Status RobotBuildStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status

func (*RobotBuild) DeepCopy

func (in *RobotBuild) DeepCopy() *RobotBuild

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

func (*RobotBuild) DeepCopyInto

func (in *RobotBuild) DeepCopyInto(out *RobotBuild)

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

func (*RobotBuild) DeepCopyObject

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

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

func (*RobotBuild) GetConfigMapMetadata

func (robotruntime *RobotBuild) GetConfigMapMetadata() *types.NamespacedName

func (*RobotBuild) GetOwnerMetadata

func (robotruntime *RobotBuild) GetOwnerMetadata() *types.NamespacedName

type RobotBuildList

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

+kubebuilder:object:root=true

func (*RobotBuildList) DeepCopy

func (in *RobotBuildList) DeepCopy() *RobotBuildList

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

func (*RobotBuildList) DeepCopyInto

func (in *RobotBuildList) DeepCopyInto(out *RobotBuildList)

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

func (*RobotBuildList) DeepCopyObject

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

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

type RobotBuildPhase

type RobotBuildPhase string
const (
	RobotBuildPhaseCreatingConfigMap RobotBuildPhase = "CreatingConfigMap"
	RobotBuildPhaseBuildingRobot     RobotBuildPhase = "BuildingRobot"
	RobotBuildPhaseReady             RobotBuildPhase = "Ready"
	RobotBuildPhaseMalfunctioned     RobotBuildPhase = "Malfunctioned"
)

type RobotBuildSpec

type RobotBuildSpec struct {
	ROS   ROSSpecifications `json:"ros,omitempty"`
	Steps []Step            `json:"steps,omitempty"`
}

func (*RobotBuildSpec) DeepCopy

func (in *RobotBuildSpec) DeepCopy() *RobotBuildSpec

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

func (*RobotBuildSpec) DeepCopyInto

func (in *RobotBuildSpec) DeepCopyInto(out *RobotBuildSpec)

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

type RobotBuildStatus

type RobotBuildStatus struct {
	ScriptConfigMapStatus ScriptConfigMapStatus `json:"scriptConfigMapStatus,omitempty"`
	Steps                 map[string]StepStatus `json:"steps,omitempty"`

	Phase RobotBuildPhase `json:"phase,omitempty"`
}

func (*RobotBuildStatus) DeepCopy

func (in *RobotBuildStatus) DeepCopy() *RobotBuildStatus

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

func (*RobotBuildStatus) DeepCopyInto

func (in *RobotBuildStatus) DeepCopyInto(out *RobotBuildStatus)

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

type RobotClone

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

	Spec   RobotCloneSpec   `json:"spec,omitempty"`
	Status RobotCloneStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status

func (*RobotClone) DeepCopy

func (in *RobotClone) DeepCopy() *RobotClone

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

func (*RobotClone) DeepCopyInto

func (in *RobotClone) DeepCopyInto(out *RobotClone)

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

func (*RobotClone) DeepCopyObject

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

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

func (*RobotClone) GetCloneJobMetadata

func (robotclone *RobotClone) GetCloneJobMetadata() *types.NamespacedName

func (*RobotClone) GetOwnerMetadata

func (robotclone *RobotClone) GetOwnerMetadata() *types.NamespacedName

func (*RobotClone) GetPVCWorkspaceMetadata

func (robotclone *RobotClone) GetPVCWorkspaceMetadata() *types.NamespacedName

type RobotCloneList

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

+kubebuilder:object:root=true

func (*RobotCloneList) DeepCopy

func (in *RobotCloneList) DeepCopy() *RobotCloneList

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

func (*RobotCloneList) DeepCopyInto

func (in *RobotCloneList) DeepCopyInto(out *RobotCloneList)

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

func (*RobotCloneList) DeepCopyObject

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

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

type RobotClonePhase

type RobotClonePhase string
const (
	RobotClonePhaseCreatingWorkspace   RobotClonePhase = "CreatingWorkspace"
	RobotClonePhaseCloningRepositories RobotClonePhase = "CloningRepositories"
	RobotClonePhaseFailed              RobotClonePhase = "Failed"
	RobotClonePhaseReady               RobotClonePhase = "Ready"

	RobotClonePhaseMalfunctioned RobotClonePhase = "Malfunctioned"
)

type RobotCloneSpec

type RobotCloneSpec struct {
	ROS ROSSpecifications `json:"ros,omitempty"`
}

func (*RobotCloneSpec) DeepCopy

func (in *RobotCloneSpec) DeepCopy() *RobotCloneSpec

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

func (*RobotCloneSpec) DeepCopyInto

func (in *RobotCloneSpec) DeepCopyInto(out *RobotCloneSpec)

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

type RobotCloneStatus

type RobotCloneStatus struct {
	WorkspaceStatus WorkspaceStatus `json:"workspaceStatus,omitempty"`
	CloneJobStatus  CloneJobStatus  `json:"cloneJobStatus,omitempty"`
	Phase           RobotClonePhase `json:"phase,omitempty"`
}

func (*RobotCloneStatus) DeepCopy

func (in *RobotCloneStatus) DeepCopy() *RobotCloneStatus

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

func (*RobotCloneStatus) DeepCopyInto

func (in *RobotCloneStatus) DeepCopyInto(out *RobotCloneStatus)

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

type RobotConfig

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

	Spec   RobotConfigSpec   `json:"spec,omitempty"`
	Status RobotConfigStatus `json:"status,omitempty"`
}

func (*RobotConfig) DeepCopy

func (in *RobotConfig) DeepCopy() *RobotConfig

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

func (*RobotConfig) DeepCopyInto

func (in *RobotConfig) DeepCopyInto(out *RobotConfig)

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

func (*RobotConfig) DeepCopyObject

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

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

func (*RobotConfig) GetLoaderJobMetadata

func (robotconfig *RobotConfig) GetLoaderJobMetadata() *types.NamespacedName

func (*RobotConfig) GetOwnerMetadata

func (robotconfig *RobotConfig) GetOwnerMetadata() *types.NamespacedName

func (*RobotConfig) GetPVCEtcMetadata

func (robotconfig *RobotConfig) GetPVCEtcMetadata() *types.NamespacedName

func (*RobotConfig) GetPVCOptMetadata

func (robotconfig *RobotConfig) GetPVCOptMetadata() *types.NamespacedName

func (*RobotConfig) GetPVCUsrMetadata

func (robotconfig *RobotConfig) GetPVCUsrMetadata() *types.NamespacedName

func (*RobotConfig) GetPVCVarMetadata

func (robotconfig *RobotConfig) GetPVCVarMetadata() *types.NamespacedName

type RobotConfigList

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

func (*RobotConfigList) DeepCopy

func (in *RobotConfigList) DeepCopy() *RobotConfigList

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

func (*RobotConfigList) DeepCopyInto

func (in *RobotConfigList) DeepCopyInto(out *RobotConfigList)

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

func (*RobotConfigList) DeepCopyObject

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

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

type RobotConfigPhase

type RobotConfigPhase string
const (
	RobotConfigPhaseConfiguringEnvironment RobotConfigPhase = "ConfiguringEnvironment"
	RobotConfigPhaseFailed                 RobotConfigPhase = "Failed"
	RobotConfigPhaseReady                  RobotConfigPhase = "Ready"

	RobotConfigPhaseMalfunctioned RobotConfigPhase = "Malfunctioned"
)

type RobotConfigSpec

type RobotConfigSpec struct {
	ROS ROSSpecifications `json:"ros,omitempty"`
}

func (*RobotConfigSpec) DeepCopy

func (in *RobotConfigSpec) DeepCopy() *RobotConfigSpec

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

func (*RobotConfigSpec) DeepCopyInto

func (in *RobotConfigSpec) DeepCopyInto(out *RobotConfigSpec)

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

type RobotConfigStatus

type RobotConfigStatus struct {
	VolumeStatuses  VolumeStatuses   `json:"volumeStatuses,omitempty"`
	LoaderJobStatus LoaderJobStatus  `json:"loaderJobStatus,omitempty"`
	Phase           RobotConfigPhase `json:"phase,omitempty"`
}

func (*RobotConfigStatus) DeepCopy

func (in *RobotConfigStatus) DeepCopy() *RobotConfigStatus

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

func (*RobotConfigStatus) DeepCopyInto

func (in *RobotConfigStatus) DeepCopyInto(out *RobotConfigStatus)

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

type RobotLaunch

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

	Spec   RobotLaunchSpec   `json:"spec,omitempty"`
	Status RobotLaunchStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status

func (*RobotLaunch) DeepCopy

func (in *RobotLaunch) DeepCopy() *RobotLaunch

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

func (*RobotLaunch) DeepCopyInto

func (in *RobotLaunch) DeepCopyInto(out *RobotLaunch)

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

func (*RobotLaunch) DeepCopyObject

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

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

func (*RobotLaunch) GetLaunchPodMetadata

func (robotlaunch *RobotLaunch) GetLaunchPodMetadata() *types.NamespacedName

func (*RobotLaunch) GetOwnerMetadata

func (robotlaunch *RobotLaunch) GetOwnerMetadata() *types.NamespacedName

type RobotLaunchList

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

+kubebuilder:object:root=true

func (*RobotLaunchList) DeepCopy

func (in *RobotLaunchList) DeepCopy() *RobotLaunchList

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

func (*RobotLaunchList) DeepCopyInto

func (in *RobotLaunchList) DeepCopyInto(out *RobotLaunchList)

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

func (*RobotLaunchList) DeepCopyObject

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

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

type RobotLaunchPhase

type RobotLaunchPhase string
const (
	RobotLaunchPhaseCreatingPod   RobotLaunchPhase = "CreatingPod"
	RobotLaunchPhaseNodesNotFound RobotLaunchPhase = "NodesNotFound"
	RobotLaunchPhaseReady         RobotLaunchPhase = "Ready"
	RobotLaunchPhaseMalfunctioned RobotLaunchPhase = "Malfunctioned"
)

type RobotLaunchSpec

type RobotLaunchSpec struct {
	ROS                 ROSSpecifications `json:"ros,omitempty"`
	LastLaunchTimestamp string            `json:"lastLaunchTimestamp,omitempty"`
	TrackerInfo         TrackerInfo       `json:"trackerInfo,omitempty"`
}

func (*RobotLaunchSpec) DeepCopy

func (in *RobotLaunchSpec) DeepCopy() *RobotLaunchSpec

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

func (*RobotLaunchSpec) DeepCopyInto

func (in *RobotLaunchSpec) DeepCopyInto(out *RobotLaunchSpec)

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

type RobotLaunchStatus

type RobotLaunchStatus struct {
	LaunchPodStatus     LaunchPodStatus  `json:"launchPodStatus,omitempty"`
	LastLaunchTimestamp string           `json:"lastLaunchTimestamp,omitempty"`
	NodeRequest         NodeRequest      `json:"nodeRequest,omitempty"`
	Phase               RobotLaunchPhase `json:"phase,omitempty"`
}

func (*RobotLaunchStatus) DeepCopy

func (in *RobotLaunchStatus) DeepCopy() *RobotLaunchStatus

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

func (*RobotLaunchStatus) DeepCopyInto

func (in *RobotLaunchStatus) DeepCopyInto(out *RobotLaunchStatus)

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

+kubebuilder:object:root=true

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 RobotMode

type RobotMode string
const (
	RobotModeSingle RobotMode = "Single"
	RobotModeHybrid RobotMode = "Hybrid"
)

type RobotPhase added in v0.2.1

type RobotPhase string
const (
	RobotPhaseConfiguringEnvironment RobotPhase = "ConfiguringEnvironment"
	RobotPhaseCloningRepositories    RobotPhase = "CloningRepositories"
	RobotPhaseBuildingWorkspaces     RobotPhase = "BuildingWorkspaces"
	RobotPhaseLaunchingNodes         RobotPhase = "LaunchingNodes"
	RobotPhaseReady                  RobotPhase = "Ready"

	RobotPhaseFailedConfiguration RobotPhase = "FailedConfiguration"
	RobotPhaseFailedCloning       RobotPhase = "FailedCloning"
	RobotPhaseFailedBuilding      RobotPhase = "FailedBuilding"
	RobotPhaseFailedLaunching     RobotPhase = "FailedLaunching"

	RobotPhaseSleeping      RobotPhase = "Sleeping"
	RobotPhaseMalfunctioned RobotPhase = "Malfunctioned"
	RobotPhaseUnknown       RobotPhase = "Unknown"
)

type RobotResources

type RobotResources struct {
	CPUPerContainer    string `json:"cpuPerContainer,omitempty"`
	MemoryPerContainer string `json:"memoryPerContainer,omitempty"`
	Storage            int    `json:"storage,omitempty"`
}

func (*RobotResources) DeepCopy

func (in *RobotResources) DeepCopy() *RobotResources

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

func (*RobotResources) DeepCopyInto

func (in *RobotResources) DeepCopyInto(out *RobotResources)

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

type RobotRuntime

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

	Spec   RobotRuntimeSpec   `json:"spec,omitempty"`
	Status RobotRuntimeStatus `json:"status,omitempty"`
}

func (*RobotRuntime) DeepCopy

func (in *RobotRuntime) DeepCopy() *RobotRuntime

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

func (*RobotRuntime) DeepCopyInto

func (in *RobotRuntime) DeepCopyInto(out *RobotRuntime)

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

func (*RobotRuntime) DeepCopyObject

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

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

func (*RobotRuntime) GetOwnerMetadata

func (robotruntime *RobotRuntime) GetOwnerMetadata() *types.NamespacedName

func (*RobotRuntime) GetRobotLaunchMetadata

func (robotruntime *RobotRuntime) GetRobotLaunchMetadata() *types.NamespacedName

func (*RobotRuntime) GetRoleBindingMetadata

func (robotruntime *RobotRuntime) GetRoleBindingMetadata() *types.NamespacedName

func (*RobotRuntime) GetRoleMetadata

func (robotruntime *RobotRuntime) GetRoleMetadata() *types.NamespacedName

func (*RobotRuntime) GetServiceAccountMetadata

func (robotruntime *RobotRuntime) GetServiceAccountMetadata() *types.NamespacedName

type RobotRuntimeList

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

func (*RobotRuntimeList) DeepCopy

func (in *RobotRuntimeList) DeepCopy() *RobotRuntimeList

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

func (*RobotRuntimeList) DeepCopyInto

func (in *RobotRuntimeList) DeepCopyInto(out *RobotRuntimeList)

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

func (*RobotRuntimeList) DeepCopyObject

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

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

type RobotRuntimePhase

type RobotRuntimePhase string
const (
	RobotRuntimePhaseConfiguringRBAC     RobotRuntimePhase = "ConfiguringRBAC"
	RobotRuntimePhaseCreatingRobotLaunch RobotRuntimePhase = "CreatingRobotLaunch"
	RobotRuntimePhaseReady               RobotRuntimePhase = "Ready"
	RobotRuntimePhaseMalfunctioned       RobotRuntimePhase = "Malfunctioned"
)

type RobotRuntimeSpec

type RobotRuntimeSpec struct {
	ROS ROSSpecifications `json:"ros,omitempty"`
}

func (*RobotRuntimeSpec) DeepCopy

func (in *RobotRuntimeSpec) DeepCopy() *RobotRuntimeSpec

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

func (*RobotRuntimeSpec) DeepCopyInto

func (in *RobotRuntimeSpec) DeepCopyInto(out *RobotRuntimeSpec)

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

type RobotRuntimeStatus

type RobotRuntimeStatus struct {
	RBACStatus   RBACStatus   `json:"rbacStatus,omitempty"`
	LaunchStatus LaunchStatus `json:"launchStatus,omitempty"`

	Phase RobotRuntimePhase `json:"phase,omitempty"`
}

func (*RobotRuntimeStatus) DeepCopy

func (in *RobotRuntimeStatus) DeepCopy() *RobotRuntimeStatus

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

func (*RobotRuntimeStatus) DeepCopyInto

func (in *RobotRuntimeStatus) DeepCopyInto(out *RobotRuntimeStatus)

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

type RobotSpec

type RobotSpec struct {
	ROSSpecifications ROSSpecifications `json:"ros,omitempty"`
	Artifacts         Artifacts         `json:"artifacts,omitempty"`
}

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 RobotState

type RobotState string
const (
	RobotStateActive  RobotState = "Active"
	RobotStatePassive RobotState = "Passive"
)

type RobotStatus

type RobotStatus struct {
	ConfigStatus  ConfigStatus      `json:"configStatus,omitempty"`
	CloneStatus   CloneStatus       `json:"cloneStatus,omitempty"`
	BuildStatus   BuildStatus       `json:"buildStatus,omitempty"`
	ToolsStatus   ToolsStatus       `json:"toolsStatus,omitempty"`
	RuntimeStatus RuntimeStatus     `json:"runtimeStatus,omitempty"`
	VDIStatus     VDIStatusForRobot `json:"vdiStatus,omitempty"`

	Cluster string     `json:"cluster,omitempty"`
	Phase   RobotPhase `json:"phase,omitempty"`
}

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 RobotTools

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

	Spec   RobotToolsSpec   `json:"spec,omitempty"`
	Status RobotToolsStatus `json:"status,omitempty"`
}

func (*RobotTools) DeepCopy

func (in *RobotTools) DeepCopy() *RobotTools

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

func (*RobotTools) DeepCopyInto

func (in *RobotTools) DeepCopyInto(out *RobotTools)

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

func (*RobotTools) DeepCopyObject

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

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

func (*RobotTools) GetCloudIDEPodMetadata added in v0.2.0

func (robottools *RobotTools) GetCloudIDEPodMetadata() *types.NamespacedName

func (*RobotTools) GetOwnerMetadata

func (robottools *RobotTools) GetOwnerMetadata() *types.NamespacedName

func (*RobotTools) GetServiceMetadata

func (robottools *RobotTools) GetServiceMetadata() *types.NamespacedName

func (*RobotTools) GetToolsPodMetadata

func (robottools *RobotTools) GetToolsPodMetadata() *types.NamespacedName

type RobotToolsList

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

func (*RobotToolsList) DeepCopy

func (in *RobotToolsList) DeepCopy() *RobotToolsList

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

func (*RobotToolsList) DeepCopyInto

func (in *RobotToolsList) DeepCopyInto(out *RobotToolsList)

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

func (*RobotToolsList) DeepCopyObject

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

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

type RobotToolsPhase

type RobotToolsPhase string
const (
	RobotToolsPhaseConfiguringTools RobotToolsPhase = "ConfiguringTools"
	RobotToolsPhaseReady            RobotToolsPhase = "Ready"
	RobotToolsPhaseMalfunctioned    RobotToolsPhase = "Malfunctioned"
)

type RobotToolsSpec

type RobotToolsSpec struct {
	ROS ROSSpecifications `json:"ros,omitempty"`
}

func (*RobotToolsSpec) DeepCopy

func (in *RobotToolsSpec) DeepCopy() *RobotToolsSpec

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

func (*RobotToolsSpec) DeepCopyInto

func (in *RobotToolsSpec) DeepCopyInto(out *RobotToolsSpec)

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

type RobotToolsStatus

type RobotToolsStatus struct {
	ToolsPodStatus     ToolsPodStatus     `json:"toolsPodStatus,omitempty"`
	CloudIDEPodStatus  CloudIDEPodStatus  `json:"cloudIDEPodStatus,omitempty"`
	ToolsServiceStatus ToolsServiceStatus `json:"toolsServiceStatus,omitempty"`
	Phase              RobotToolsPhase    `json:"phase,omitempty"`
}

func (*RobotToolsStatus) DeepCopy

func (in *RobotToolsStatus) DeepCopy() *RobotToolsStatus

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

func (*RobotToolsStatus) DeepCopyInto

func (in *RobotToolsStatus) DeepCopyInto(out *RobotToolsStatus)

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

type Role

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

func (*Role) DeepCopy

func (in *Role) DeepCopy() *Role

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

func (*Role) DeepCopyInto

func (in *Role) DeepCopyInto(out *Role)

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

type RoleBinding

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

func (*RoleBinding) DeepCopy

func (in *RoleBinding) DeepCopy() *RoleBinding

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

func (*RoleBinding) DeepCopyInto

func (in *RoleBinding) DeepCopyInto(out *RoleBinding)

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

type RuntimeStatus

type RuntimeStatus struct {
	Created bool               `json:"created,omitempty"`
	Status  RobotRuntimeStatus `json:"status,omitempty"`
}

func (*RuntimeStatus) DeepCopy

func (in *RuntimeStatus) DeepCopy() *RuntimeStatus

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

func (*RuntimeStatus) DeepCopyInto

func (in *RuntimeStatus) DeepCopyInto(out *RuntimeStatus)

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 ServiceAccount

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

func (*ServiceAccount) DeepCopy

func (in *ServiceAccount) DeepCopy() *ServiceAccount

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

func (*ServiceAccount) DeepCopyInto

func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount)

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

type Step

type Step struct {
	Name    string `json:"name"`
	Command string `json:"command,omitempty"`
	Script  string `json:"script,omitempty"`
}

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 ToolsPodStatus

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

func (*ToolsPodStatus) DeepCopy

func (in *ToolsPodStatus) DeepCopy() *ToolsPodStatus

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

func (*ToolsPodStatus) DeepCopyInto

func (in *ToolsPodStatus) DeepCopyInto(out *ToolsPodStatus)

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

type ToolsServiceStatus

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

func (*ToolsServiceStatus) DeepCopy

func (in *ToolsServiceStatus) DeepCopy() *ToolsServiceStatus

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

func (*ToolsServiceStatus) DeepCopyInto

func (in *ToolsServiceStatus) DeepCopyInto(out *ToolsServiceStatus)

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

type ToolsStatus

type ToolsStatus struct {
	Created bool             `json:"created,omitempty"`
	Status  RobotToolsStatus `json:"status,omitempty"`
}

func (*ToolsStatus) DeepCopy

func (in *ToolsStatus) DeepCopy() *ToolsStatus

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

func (*ToolsStatus) DeepCopyInto

func (in *ToolsStatus) DeepCopyInto(out *ToolsStatus)

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

type TrackerInfo

type TrackerInfo struct {
	IP   string `json:"ip,omitempty"`
	Port string `json:"port,omitempty"`
}

func (*TrackerInfo) DeepCopy

func (in *TrackerInfo) DeepCopy() *TrackerInfo

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

func (*TrackerInfo) DeepCopyInto

func (in *TrackerInfo) DeepCopyInto(out *TrackerInfo)

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

type Usr

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

func (*Usr) DeepCopy

func (in *Usr) DeepCopy() *Usr

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

func (*Usr) DeepCopyInto

func (in *Usr) DeepCopyInto(out *Usr)

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

type VDI

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

	Spec   VDISpec   `json:"spec,omitempty"`
	Status VDIStatus `json:"status,omitempty"`
}

func (*VDI) DeepCopy

func (in *VDI) DeepCopy() *VDI

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

func (*VDI) DeepCopyInto

func (in *VDI) DeepCopyInto(out *VDI)

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

func (*VDI) DeepCopyObject

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

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

func (*VDI) GetOwnerMetadata

func (robotruntime *VDI) GetOwnerMetadata() *types.NamespacedName

func (*VDI) GetVDIPodMetadata

func (vdi *VDI) GetVDIPodMetadata() *types.NamespacedName

func (*VDI) GetVDIServiceMetadata

func (vdi *VDI) GetVDIServiceMetadata() *types.NamespacedName

type VDIContainer

type VDIContainer struct {
	Container      Container             `json:"status,omitempty"`
	PebbleServices []*pebble.ServiceInfo `json:"pebbleServiceStatuses,omitempty"`
}

func (*VDIContainer) DeepCopy

func (in *VDIContainer) DeepCopy() *VDIContainer

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

func (*VDIContainer) DeepCopyInto

func (in *VDIContainer) DeepCopyInto(out *VDIContainer)

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

type VDIList

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

func (*VDIList) DeepCopy

func (in *VDIList) DeepCopy() *VDIList

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

func (*VDIList) DeepCopyInto

func (in *VDIList) DeepCopyInto(out *VDIList)

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

func (*VDIList) DeepCopyObject

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

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

type VDIOption

type VDIOption string
const (
	VDIOptionEnabled  VDIOption = "Enabled"
	VDIOptionDisabled VDIOption = "Disabled"
)

type VDIPodStatus

type VDIPodStatus struct {
	Created    bool                    `json:"created,omitempty"`
	Phase      corev1.PodPhase         `json:"phase,omitempty"`
	IP         string                  `json:"ip,omitempty"`
	Containers map[string]VDIContainer `json:"containers,omitempty"`
}

func (*VDIPodStatus) DeepCopy

func (in *VDIPodStatus) DeepCopy() *VDIPodStatus

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

func (*VDIPodStatus) DeepCopyInto

func (in *VDIPodStatus) DeepCopyInto(out *VDIPodStatus)

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

type VDIRequest

type VDIRequest struct {
	Option VDIOption `json:"option,omitempty"`
	Neko   Neko      `json:"neko,omitempty"`
}

func (*VDIRequest) DeepCopy

func (in *VDIRequest) DeepCopy() *VDIRequest

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

func (*VDIRequest) DeepCopyInto

func (in *VDIRequest) DeepCopyInto(out *VDIRequest)

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

type VDIServiceStatus

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

func (*VDIServiceStatus) DeepCopy

func (in *VDIServiceStatus) DeepCopy() *VDIServiceStatus

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

func (*VDIServiceStatus) DeepCopyInto

func (in *VDIServiceStatus) DeepCopyInto(out *VDIServiceStatus)

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

type VDISpec

type VDISpec struct {
	Neko Neko `json:"neko,omitempty"`
}

func (*VDISpec) DeepCopy

func (in *VDISpec) DeepCopy() *VDISpec

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

func (*VDISpec) DeepCopyInto

func (in *VDISpec) DeepCopyInto(out *VDISpec)

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

type VDIStatus

type VDIStatus struct {
	VDIPodStatus     VDIPodStatus     `json:"vdiPodStatus,omitempty"`
	VDIServiceStatus VDIServiceStatus `json:"vdiServiceStatus,omitempty"`
}

func (*VDIStatus) DeepCopy

func (in *VDIStatus) DeepCopy() *VDIStatus

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

func (*VDIStatus) DeepCopyInto

func (in *VDIStatus) DeepCopyInto(out *VDIStatus)

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

type VDIStatusForRobot

type VDIStatusForRobot struct {
	Created bool      `json:"created,omitempty"`
	Status  VDIStatus `json:"status,omitempty"`
}

func (*VDIStatusForRobot) DeepCopy

func (in *VDIStatusForRobot) DeepCopy() *VDIStatusForRobot

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

func (*VDIStatusForRobot) DeepCopyInto

func (in *VDIStatusForRobot) DeepCopyInto(out *VDIStatusForRobot)

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

type Var

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

func (*Var) DeepCopy

func (in *Var) DeepCopy() *Var

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

func (*Var) DeepCopyInto

func (in *Var) DeepCopyInto(out *Var)

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

type VolumeStatuses

type VolumeStatuses struct {
	ROS ROSVolumes `json:"ros,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         string             `json:"name,omitempty"`
	Repositories []Repository       `json:"repositories,omitempty"`
	Build        WorkspaceBuildType `json:"build,omitempty"`
	BuildSteps   []Step             `json:"buildSteps,omitempty"`
}

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 WorkspaceBuildType

type WorkspaceBuildType string
const (
	WorkspaceBuildTypeStandard WorkspaceBuildType = "Standard"
	WorkspaceBuildTypeCustom   WorkspaceBuildType = "Custom"
)

type WorkspaceStatus

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

func (*WorkspaceStatus) DeepCopy

func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus

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

func (*WorkspaceStatus) DeepCopyInto

func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus)

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