Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the robot v1alpha1 API group +kubebuilder:object:generate=true +groupName=robot.roboscale.io
Index ¶
- Variables
- func DefaultRepositoryPaths(r *Robot)
- func Resource(resource string) schema.GroupResource
- type AttachedBuildObject
- type AttachedDevObject
- type AttachedLaunchObject
- type BridgeDistro
- type BridgePhase
- type BridgePodStatus
- type BridgeServiceStatus
- type BuildManager
- func (in *BuildManager) DeepCopy() *BuildManager
- func (in *BuildManager) DeepCopyInto(out *BuildManager)
- func (in *BuildManager) DeepCopyObject() runtime.Object
- func (r *BuildManager) Default()
- func (buildmanager *BuildManager) GetConfigMapMetadata() *types.NamespacedName
- func (r *BuildManager) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *BuildManager) ValidateCreate() error
- func (r *BuildManager) ValidateDelete() error
- func (r *BuildManager) ValidateUpdate(old runtime.Object) error
- type BuildManagerList
- type BuildManagerPhase
- type BuildManagerSpec
- type BuildManagerStatus
- type CPUUtilization
- type CleanupJobStatus
- type ClonerJobStatus
- type ComponentMetricStatus
- type ConnectionInfo
- type DiscoveryServer
- func (in *DiscoveryServer) DeepCopy() *DiscoveryServer
- func (in *DiscoveryServer) DeepCopyInto(out *DiscoveryServer)
- func (in *DiscoveryServer) DeepCopyObject() runtime.Object
- func (r *DiscoveryServer) Default()
- func (discoveryServer *DiscoveryServer) GetDiscoveryServerConfigMapMetadata() *types.NamespacedName
- func (discoveryServer *DiscoveryServer) GetDiscoveryServerPodMetadata() *types.NamespacedName
- func (discoveryServer *DiscoveryServer) GetDiscoveryServerServiceMetadata() *types.NamespacedName
- func (r *DiscoveryServer) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DiscoveryServer) ValidateCreate() error
- func (r *DiscoveryServer) ValidateDelete() error
- func (r *DiscoveryServer) ValidateUpdate(old runtime.Object) error
- type DiscoveryServerConfigMapStatus
- type DiscoveryServerInstanceStatus
- type DiscoveryServerInstanceType
- type DiscoveryServerList
- type DiscoveryServerPhase
- type DiscoveryServerPodStatus
- type DiscoveryServerServiceExportStatus
- type DiscoveryServerServiceStatus
- type DiscoveryServerSpec
- type DiscoveryServerStatus
- type JobPhase
- type Launch
- type LaunchManager
- func (in *LaunchManager) DeepCopy() *LaunchManager
- func (in *LaunchManager) DeepCopyInto(out *LaunchManager)
- func (in *LaunchManager) DeepCopyObject() runtime.Object
- func (r *LaunchManager) Default()
- func (launchmanager *LaunchManager) GetLaunchPodMetadata() *types.NamespacedName
- func (r *LaunchManager) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *LaunchManager) ValidateCreate() error
- func (r *LaunchManager) ValidateDelete() error
- func (r *LaunchManager) ValidateUpdate(old runtime.Object) error
- type LaunchManagerList
- type LaunchManagerPhase
- type LaunchManagerSpec
- type LaunchManagerStatus
- type LaunchPodStatus
- type LaunchStatus
- type LoaderJobStatus
- type ManagerStatus
- type MemoryUtilization
- type MetricType
- type MetricsCollector
- func (in *MetricsCollector) DeepCopy() *MetricsCollector
- func (in *MetricsCollector) DeepCopyInto(out *MetricsCollector)
- func (in *MetricsCollector) DeepCopyObject() runtime.Object
- func (r *MetricsCollector) Default()
- func (r *MetricsCollector) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *MetricsCollector) ValidateCreate() error
- func (r *MetricsCollector) ValidateDelete() error
- func (r *MetricsCollector) ValidateUpdate(old runtime.Object) error
- type MetricsCollectorList
- type MetricsCollectorPhase
- type MetricsCollectorSpec
- type MetricsCollectorStatus
- type NetworkInterfaceUtilization
- type NetworkLoad
- type NetworkLoadUtilization
- type Prelaunch
- type RMWImplementation
- type ROSBridge
- func (in *ROSBridge) DeepCopy() *ROSBridge
- func (in *ROSBridge) DeepCopyInto(out *ROSBridge)
- func (in *ROSBridge) DeepCopyObject() runtime.Object
- func (rosbridge *ROSBridge) GetBridgePodMetadata() *types.NamespacedName
- func (rosbridge *ROSBridge) GetBridgeServiceMetadata() *types.NamespacedName
- func (rosbridge *ROSBridge) GetOwnerMetadata() *types.NamespacedName
- type ROSBridgeInstanceStatus
- type ROSBridgeList
- type ROSBridgeSpec
- type ROSBridgeStatus
- type ROSDistro
- type Repository
- type Resources
- type Robot
- func (in *Robot) DeepCopy() *Robot
- func (in *Robot) DeepCopyInto(out *Robot)
- func (in *Robot) DeepCopyObject() runtime.Object
- func (r *Robot) Default()
- func (robot *Robot) GetDiscoveryServerMetadata() *types.NamespacedName
- func (robot *Robot) GetLoaderJobMetadata() *types.NamespacedName
- func (robot *Robot) GetPVCEtcMetadata() *types.NamespacedName
- func (robot *Robot) GetPVCOptMetadata() *types.NamespacedName
- func (robot *Robot) GetPVCUsrMetadata() *types.NamespacedName
- func (robot *Robot) GetPVCVarMetadata() *types.NamespacedName
- func (robot *Robot) GetPVCWorkspaceMetadata() *types.NamespacedName
- func (robot *Robot) GetROSBridgeMetadata() *types.NamespacedName
- func (robot *Robot) GetRobotDevSuiteMetadata() *types.NamespacedName
- func (robot *Robot) GetWorkspaceByName(name string) (Workspace, error)
- func (robot *Robot) GetWorkspaceManagerMetadata() *types.NamespacedName
- func (r *Robot) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Robot) ValidateCreate() error
- func (r *Robot) ValidateDelete() error
- func (r *Robot) ValidateUpdate(old runtime.Object) error
- type RobotArtifact
- type RobotArtifactList
- type RobotDevSuite
- func (in *RobotDevSuite) DeepCopy() *RobotDevSuite
- func (in *RobotDevSuite) DeepCopyInto(out *RobotDevSuite)
- func (in *RobotDevSuite) DeepCopyObject() runtime.Object
- func (robotDevSuite *RobotDevSuite) GetRobotIDEMetadata() *types.NamespacedName
- func (robotDevSuite *RobotDevSuite) GetRobotVDIMetadata() *types.NamespacedName
- type RobotDevSuiteInstanceStatus
- type RobotDevSuiteList
- type RobotDevSuitePhase
- type RobotDevSuiteSpec
- type RobotDevSuiteStatus
- type RobotIDE
- func (in *RobotIDE) DeepCopy() *RobotIDE
- func (in *RobotIDE) DeepCopyInto(out *RobotIDE)
- func (in *RobotIDE) DeepCopyObject() runtime.Object
- func (r *RobotIDE) Default()
- func (robotide *RobotIDE) GetRobotIDEIngressMetadata() *types.NamespacedName
- func (robotide *RobotIDE) GetRobotIDEPodMetadata() *types.NamespacedName
- func (robotide *RobotIDE) GetRobotIDEServiceMetadata() *types.NamespacedName
- func (r *RobotIDE) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *RobotIDE) ValidateCreate() error
- func (r *RobotIDE) ValidateDelete() error
- func (r *RobotIDE) ValidateUpdate(old runtime.Object) error
- type RobotIDEIngressStatus
- type RobotIDEInstanceStatus
- type RobotIDEList
- type RobotIDEPhase
- type RobotIDEPodStatus
- type RobotIDEServiceStatus
- type RobotIDESpec
- type RobotIDEStatus
- type RobotList
- type RobotPhase
- type RobotSpec
- type RobotStatus
- type RobotVDI
- func (in *RobotVDI) DeepCopy() *RobotVDI
- func (in *RobotVDI) DeepCopyInto(out *RobotVDI)
- func (in *RobotVDI) DeepCopyObject() runtime.Object
- func (r *RobotVDI) Default()
- func (robotvdi *RobotVDI) GetRobotVDIIngressMetadata() *types.NamespacedName
- func (robotvdi *RobotVDI) GetRobotVDIPVCMetadata() *types.NamespacedName
- func (robotvdi *RobotVDI) GetRobotVDIPodMetadata() *types.NamespacedName
- func (robotvdi *RobotVDI) GetRobotVDIServiceTCPMetadata() *types.NamespacedName
- func (robotvdi *RobotVDI) GetRobotVDIServiceUDPMetadata() *types.NamespacedName
- func (r *RobotVDI) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *RobotVDI) ValidateCreate() error
- func (r *RobotVDI) ValidateDelete() error
- func (r *RobotVDI) ValidateUpdate(old runtime.Object) error
- type RobotVDIIngressStatus
- type RobotVDIInstanceStatus
- type RobotVDIList
- type RobotVDIPVCStatus
- type RobotVDIPhase
- type RobotVDIPodStatus
- type RobotVDIServiceTCPStatus
- type RobotVDIServiceUDPStatus
- type RobotVDISpec
- type RobotVDIStatus
- type RootDNSConfig
- type Run
- type ScriptConfigMapStatus
- type Step
- type StepStatus
- type Storage
- type StorageClassConfig
- type TLSSecretReference
- type VolumeStatus
- type VolumeStatuses
- type Workspace
- type WorkspaceManager
- func (in *WorkspaceManager) DeepCopy() *WorkspaceManager
- func (in *WorkspaceManager) DeepCopyInto(out *WorkspaceManager)
- func (in *WorkspaceManager) DeepCopyObject() runtime.Object
- func (r *WorkspaceManager) Default()
- func (workspacemanager *WorkspaceManager) GetCleanupJobMetadata() *types.NamespacedName
- func (workspacemanager *WorkspaceManager) GetClonerJobMetadata() *types.NamespacedName
- func (r *WorkspaceManager) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *WorkspaceManager) ValidateCreate() error
- func (r *WorkspaceManager) ValidateDelete() error
- func (r *WorkspaceManager) ValidateUpdate(old runtime.Object) error
- type WorkspaceManagerInstanceStatus
- type WorkspaceManagerList
- type WorkspaceManagerPhase
- type WorkspaceManagerSpec
- type WorkspaceManagerStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 ¶
func (in *AttachedLaunchObject) DeepCopy() *AttachedLaunchObject
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 CPUUtilization ¶ added in v0.1.5
type CPUUtilization struct {
Value string `json:"value,omitempty"`
HostPercentage string `json:"hostPercentage,omitempty"`
CorePercentage string `json:"corePercentage,omitempty"`
Message string `json:"message,omitempty"`
}
func (*CPUUtilization) DeepCopy ¶ added in v0.1.5
func (in *CPUUtilization) DeepCopy() *CPUUtilization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUUtilization.
func (*CPUUtilization) DeepCopyInto ¶ added in v0.1.5
func (in *CPUUtilization) DeepCopyInto(out *CPUUtilization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CleanupJobStatus ¶ added in v0.1.5
type CleanupJobStatus struct {
Created bool `json:"created,omitempty"`
Phase JobPhase `json:"phase,omitempty"`
}
func (*CleanupJobStatus) DeepCopy ¶ added in v0.1.5
func (in *CleanupJobStatus) DeepCopy() *CleanupJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CleanupJobStatus.
func (*CleanupJobStatus) DeepCopyInto ¶ added in v0.1.5
func (in *CleanupJobStatus) DeepCopyInto(out *CleanupJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClonerJobStatus ¶ added in v0.1.5
type ClonerJobStatus struct {
Created bool `json:"created,omitempty"`
Phase JobPhase `json:"phase,omitempty"`
}
func (*ClonerJobStatus) DeepCopy ¶ added in v0.1.5
func (in *ClonerJobStatus) DeepCopy() *ClonerJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClonerJobStatus.
func (*ClonerJobStatus) DeepCopyInto ¶ added in v0.1.5
func (in *ClonerJobStatus) DeepCopyInto(out *ClonerJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentMetricStatus ¶ added in v0.1.5
type ComponentMetricStatus struct {
OwnerResourceReference metav1.OwnerReference `json:"ownerReference,omitempty"`
PodReference corev1.ObjectReference `json:"podReference,omitempty"`
ContainerName string `json:"containerName,omitempty"`
CPUUtilization CPUUtilization `json:"cpuUtilization,omitempty"`
MemoryUtilization MemoryUtilization `json:"memoryUtilization,omitempty"`
NetworkLoadUtilization NetworkLoadUtilization `json:"networkLoadUtilization,omitempty"`
Message string `json:"message,omitempty"`
}
func (*ComponentMetricStatus) DeepCopy ¶ added in v0.1.5
func (in *ComponentMetricStatus) DeepCopy() *ComponentMetricStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentMetricStatus.
func (*ComponentMetricStatus) DeepCopyInto ¶ added in v0.1.5
func (in *ComponentMetricStatus) DeepCopyInto(out *ComponentMetricStatus)
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) Default ¶ added in v0.2.1
func (r *DiscoveryServer) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
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
func (*DiscoveryServer) SetupWebhookWithManager ¶ added in v0.2.1
func (r *DiscoveryServer) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*DiscoveryServer) ValidateCreate ¶ added in v0.2.1
func (r *DiscoveryServer) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*DiscoveryServer) ValidateDelete ¶ added in v0.2.1
func (r *DiscoveryServer) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*DiscoveryServer) ValidateUpdate ¶ added in v0.2.1
func (r *DiscoveryServer) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type DiscoveryServerConfigMapStatus ¶
type DiscoveryServerConfigMapStatus struct {
Created bool `json:"created,omitempty"`
}
func (*DiscoveryServerConfigMapStatus) DeepCopy ¶
func (in *DiscoveryServerConfigMapStatus) DeepCopy() *DiscoveryServerConfigMapStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryServerConfigMapStatus.
func (*DiscoveryServerConfigMapStatus) DeepCopyInto ¶
func (in *DiscoveryServerConfigMapStatus) DeepCopyInto(out *DiscoveryServerConfigMapStatus)
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 ¶
func (in *DiscoveryServerInstanceStatus) DeepCopy() *DiscoveryServerInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryServerInstanceStatus.
func (*DiscoveryServerInstanceStatus) DeepCopyInto ¶
func (in *DiscoveryServerInstanceStatus) DeepCopyInto(out *DiscoveryServerInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiscoveryServerInstanceType ¶
type DiscoveryServerInstanceType string
const ( DiscoveryServerInstanceTypeServer DiscoveryServerInstanceType = "Server" DiscoveryServerInstanceTypeClient DiscoveryServerInstanceType = "Client" )
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" DiscoveryServerPhaseCreatingServiceExport DiscoveryServerPhase = "CreatingServiceExport" 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 ¶
func (in *DiscoveryServerPodStatus) DeepCopy() *DiscoveryServerPodStatus
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 DiscoveryServerServiceExportStatus ¶ added in v0.1.5
type DiscoveryServerServiceExportStatus struct {
Created bool `json:"created,omitempty"`
}
func (*DiscoveryServerServiceExportStatus) DeepCopy ¶ added in v0.1.5
func (in *DiscoveryServerServiceExportStatus) DeepCopy() *DiscoveryServerServiceExportStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryServerServiceExportStatus.
func (*DiscoveryServerServiceExportStatus) DeepCopyInto ¶ added in v0.1.5
func (in *DiscoveryServerServiceExportStatus) DeepCopyInto(out *DiscoveryServerServiceExportStatus)
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 ¶
func (in *DiscoveryServerServiceStatus) DeepCopy() *DiscoveryServerServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryServerServiceStatus.
func (*DiscoveryServerServiceStatus) DeepCopyInto ¶
func (in *DiscoveryServerServiceStatus) DeepCopyInto(out *DiscoveryServerServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiscoveryServerSpec ¶
type DiscoveryServerSpec struct {
Type DiscoveryServerInstanceType `json:"type,omitempty"`
Reference corev1.ObjectReference `json:"reference,omitempty"`
Cluster string `json:"cluster,omitempty"`
Hostname string `json:"hostname,omitempty"`
Subdomain string `json:"subdomain,omitempty"`
Image string `json:"image,omitempty"`
Args []string `json:"args,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"`
ServiceExportStatus DiscoveryServerServiceExportStatus `json:"serviceExportStatus,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 ¶
func (in *DiscoveryServerStatus) DeepCopy() *DiscoveryServerStatus
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 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 container resource limits.
Resources Resources `json:"resources,omitempty"`
}
Launch description of a repository.
func (*Launch) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Launch.
func (*Launch) DeepCopyInto ¶
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 {
// Display connection.
Display bool `json:"display,omitempty"`
Launch map[string]Launch `json:"launch,omitempty"`
Run map[string]Run `json:"run,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 ManagerStatus ¶
type ManagerStatus struct {
Name string `json:"name,omitempty"`
Created bool `json:"created,omitempty"`
}
func (*ManagerStatus) DeepCopy ¶
func (in *ManagerStatus) DeepCopy() *ManagerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerStatus.
func (*ManagerStatus) DeepCopyInto ¶
func (in *ManagerStatus) DeepCopyInto(out *ManagerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemoryUtilization ¶ added in v0.1.5
type MemoryUtilization struct {
Value string `json:"value,omitempty"`
HostPercentage string `json:"hostPercentage,omitempty"`
Message string `json:"message,omitempty"`
}
func (*MemoryUtilization) DeepCopy ¶ added in v0.1.5
func (in *MemoryUtilization) DeepCopy() *MemoryUtilization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryUtilization.
func (*MemoryUtilization) DeepCopyInto ¶ added in v0.1.5
func (in *MemoryUtilization) DeepCopyInto(out *MemoryUtilization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricType ¶ added in v0.1.5
type MetricType string
const ( MetricTypeCPU MetricType = "CPU" MetricTypeMemory MetricType = "Memory" MetricTypeGPU MetricType = "GPU" MetricTypeNetworkLoad MetricType = "NetworkLoad" )
type MetricsCollector ¶ added in v0.1.5
type MetricsCollector struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MetricsCollectorSpec `json:"spec,omitempty"`
Status MetricsCollectorStatus `json:"status,omitempty"`
}
MetricsCollector is the Schema for the metricscollectors API
func (*MetricsCollector) DeepCopy ¶ added in v0.1.5
func (in *MetricsCollector) DeepCopy() *MetricsCollector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsCollector.
func (*MetricsCollector) DeepCopyInto ¶ added in v0.1.5
func (in *MetricsCollector) DeepCopyInto(out *MetricsCollector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetricsCollector) DeepCopyObject ¶ added in v0.1.5
func (in *MetricsCollector) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MetricsCollector) Default ¶ added in v0.1.5
func (r *MetricsCollector) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*MetricsCollector) SetupWebhookWithManager ¶ added in v0.1.5
func (r *MetricsCollector) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*MetricsCollector) ValidateCreate ¶ added in v0.1.5
func (r *MetricsCollector) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*MetricsCollector) ValidateDelete ¶ added in v0.1.5
func (r *MetricsCollector) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*MetricsCollector) ValidateUpdate ¶ added in v0.1.5
func (r *MetricsCollector) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type MetricsCollectorList ¶ added in v0.1.5
type MetricsCollectorList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MetricsCollector `json:"items"`
}
MetricsCollectorList contains a list of MetricsCollector
func (*MetricsCollectorList) DeepCopy ¶ added in v0.1.5
func (in *MetricsCollectorList) DeepCopy() *MetricsCollectorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsCollectorList.
func (*MetricsCollectorList) DeepCopyInto ¶ added in v0.1.5
func (in *MetricsCollectorList) DeepCopyInto(out *MetricsCollectorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetricsCollectorList) DeepCopyObject ¶ added in v0.1.5
func (in *MetricsCollectorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetricsCollectorPhase ¶ added in v0.1.5
type MetricsCollectorPhase string
const ( MetricsCollectorPhaseRobotNotFound MetricsCollectorPhase = "RobotNotFound" MetricsCollectorPhaseRunning MetricsCollectorPhase = "Running" )
type MetricsCollectorSpec ¶ added in v0.1.5
type MetricsCollectorSpec struct {
// TODO: Add default value
// +kubebuilder:default=10
WaitSeconds int64 `json:"waitSeconds"`
CPU bool `json:"cpu"`
Memory bool `json:"memory"`
GPU bool `json:"gpu"`
NetworkLoad bool `json:"networkLoad"`
}
MetricsCollectorSpec defines the desired state of MetricsCollector
func (*MetricsCollectorSpec) DeepCopy ¶ added in v0.1.5
func (in *MetricsCollectorSpec) DeepCopy() *MetricsCollectorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsCollectorSpec.
func (*MetricsCollectorSpec) DeepCopyInto ¶ added in v0.1.5
func (in *MetricsCollectorSpec) DeepCopyInto(out *MetricsCollectorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsCollectorStatus ¶ added in v0.1.5
type MetricsCollectorStatus struct {
LastUpdateTimestamp metav1.Time `json:"lastUpdateTimestamp,omitempty"`
ComponentMetrics []ComponentMetricStatus `json:"componentMetrics,omitempty"`
Allocatable corev1.ResourceList `json:"allocatable,omitempty"`
}
MetricsCollectorStatus defines the observed state of MetricsCollector
func (*MetricsCollectorStatus) DeepCopy ¶ added in v0.1.5
func (in *MetricsCollectorStatus) DeepCopy() *MetricsCollectorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsCollectorStatus.
func (*MetricsCollectorStatus) DeepCopyInto ¶ added in v0.1.5
func (in *MetricsCollectorStatus) DeepCopyInto(out *MetricsCollectorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkInterfaceUtilization ¶ added in v0.1.5
type NetworkInterfaceUtilization struct {
Name string `json:"name,omitempty"`
Transmit NetworkLoad `json:"transmit,omitempty"`
Receive NetworkLoad `json:"receive,omitempty"`
}
func (*NetworkInterfaceUtilization) DeepCopy ¶ added in v0.1.5
func (in *NetworkInterfaceUtilization) DeepCopy() *NetworkInterfaceUtilization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceUtilization.
func (*NetworkInterfaceUtilization) DeepCopyInto ¶ added in v0.1.5
func (in *NetworkInterfaceUtilization) DeepCopyInto(out *NetworkInterfaceUtilization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkLoad ¶ added in v0.1.5
type NetworkLoad struct {
Value string `json:"value,omitempty"`
Load string `json:"load,omitempty"`
LoadKBit string `json:"loadKBit,omitempty"`
}
func (*NetworkLoad) DeepCopy ¶ added in v0.1.5
func (in *NetworkLoad) DeepCopy() *NetworkLoad
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkLoad.
func (*NetworkLoad) DeepCopyInto ¶ added in v0.1.5
func (in *NetworkLoad) DeepCopyInto(out *NetworkLoad)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkLoadUtilization ¶ added in v0.1.5
type NetworkLoadUtilization struct {
Interfaces []NetworkInterfaceUtilization `json:"interfaces,omitempty"`
Message string `json:"message,omitempty"`
}
func (*NetworkLoadUtilization) DeepCopy ¶ added in v0.1.5
func (in *NetworkLoadUtilization) DeepCopy() *NetworkLoadUtilization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkLoadUtilization.
func (*NetworkLoadUtilization) DeepCopyInto ¶ added in v0.1.5
func (in *NetworkLoadUtilization) DeepCopyInto(out *NetworkLoadUtilization)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Prelaunch.
func (*Prelaunch) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RMWImplementation ¶ added in v0.1.7
type RMWImplementation string
RMW implementation selection. Robot operator currently supports only FastRTPS. See https://docs.ros.org/en/foxy/How-To-Guides/Working-with-multiple-RMW-implementations.html. +kubebuilder:validation:Enum=rmw_fastrtps_cpp
const ( // Cyclone DDS RMWImplementationCycloneDDS RMWImplementation = "rmw_cyclonedds_cpp" // FastRTPS RMWImplementationFastRTPS RMWImplementation = "rmw_fastrtps_cpp" // Connext RMWImplementationConnext RMWImplementation = "rmw_connext_cpp" // Gurum DDS RMWImplementationGurumDDS RMWImplementation = "rmw_gurumdds_cpp" )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ROSBridge.
func (*ROSBridge) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ROSBridge) DeepCopyObject ¶
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 ¶
func (in *ROSBridgeInstanceStatus) DeepCopy() *ROSBridgeInstanceStatus
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;humble
const ( // ROS Melodic Morenia ROSDistroMelodic ROSDistro = "melodic" // ROS Noetic Ninjemys ROSDistroNoetic ROSDistro = "noetic" // ROS 2 Foxy Fitzroy ROSDistroFoxy ROSDistro = "foxy" // ROS 2 Galactic Geochelone ROSDistroGalactic ROSDistro = "galactic" // ROS 2 Humble Hawksbill ROSDistroHumble ROSDistro = "humble" )
type Repository ¶
type Repository struct {
// Base URL of the repository.
// +kubebuilder:validation:Required
URL string `json:"url"`
// Branch of the repository to clone.
// +kubebuilder:validation:Required
Branch string `json:"branch"`
// [Autofilled] Absolute path of repository
Path string `json:"path,omitempty"`
// [Autofilled] User or organization, maintainer of repository
Owner string `json:"owner,omitempty"`
// [Autofilled] Repository name
Repo string `json:"repo,omitempty"`
// [Autofilled] Hash of last commit
Hash string `json:"hash,omitempty"`
}
Repository description.
func (*Repository) DeepCopy ¶
func (in *Repository) DeepCopy() *Repository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
func (*Repository) DeepCopyInto ¶
func (in *Repository) DeepCopyInto(out *Repository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resources ¶
type Resources struct {
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
func (*Resources) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Robot.
func (*Robot) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Robot) DeepCopyObject ¶
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) GetWorkspaceByName ¶ added in v0.1.5
func (*Robot) GetWorkspaceManagerMetadata ¶ added in v0.1.5
func (robot *Robot) GetWorkspaceManagerMetadata() *types.NamespacedName
func (*Robot) SetupWebhookWithManager ¶
func (*Robot) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Robot) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type RobotArtifact ¶
type RobotArtifact struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Template RobotSpec `json:"template,omitempty"`
}
RobotArtifact is the Schema for the robotartifacts API
func (*RobotArtifact) DeepCopy ¶
func (in *RobotArtifact) DeepCopy() *RobotArtifact
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RobotArtifact.
func (*RobotArtifact) DeepCopyInto ¶
func (in *RobotArtifact) DeepCopyInto(out *RobotArtifact)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RobotArtifact) DeepCopyObject ¶
func (in *RobotArtifact) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RobotArtifactList ¶
type RobotArtifactList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []RobotArtifact `json:"items"`
}
RobotArtifactList contains a list of RobotArtifact
func (*RobotArtifactList) DeepCopy ¶
func (in *RobotArtifactList) DeepCopy() *RobotArtifactList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RobotArtifactList.
func (*RobotArtifactList) DeepCopyInto ¶
func (in *RobotArtifactList) DeepCopyInto(out *RobotArtifactList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RobotArtifactList) DeepCopyObject ¶
func (in *RobotArtifactList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
func (in *RobotDevSuiteInstanceStatus) DeepCopy() *RobotDevSuiteInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RobotDevSuiteInstanceStatus.
func (*RobotDevSuiteInstanceStatus) DeepCopyInto ¶
func (in *RobotDevSuiteInstanceStatus) DeepCopyInto(out *RobotDevSuiteInstanceStatus)
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
const ( RobotDevSuitePhaseRobotNotFound RobotDevSuitePhase = "RobotNotFound" RobotDevSuitePhaseCreatingRobotVDI RobotDevSuitePhase = "CreatingRobotVDI" RobotDevSuitePhaseCreatingRobotIDE RobotDevSuitePhase = "CreatingRobotIDE" RobotDevSuitePhaseRunning RobotDevSuitePhase = "Running" RobotDevSuitePhaseDeactivating RobotDevSuitePhase = "Deactivating" RobotDevSuitePhaseInactive RobotDevSuitePhase = "Inactive" )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RobotIDE.
func (*RobotIDE) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RobotIDE) DeepCopyObject ¶
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 (*RobotIDE) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*RobotIDE) ValidateDelete ¶
ValidateDelete 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 ¶
func (in *RobotIDEIngressStatus) DeepCopy() *RobotIDEIngressStatus
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 ¶
func (in *RobotIDEInstanceStatus) DeepCopy() *RobotIDEInstanceStatus
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 ¶
func (in *RobotIDEServiceStatus) DeepCopy() *RobotIDEServiceStatus
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"`
// Display configuration.
Display bool `json:"display,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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RobotList.
func (*RobotList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RobotList) DeepCopyObject ¶
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" RobotPhaseConfiguringEnvironment RobotPhase = "ConfiguringEnvironment" RobotPhaseCreatingBridge RobotPhase = "CreatingBridge" RobotPhaseCreatingDevelopmentSuite RobotPhase = "CreatingDevelopmentSuite" RobotPhaseConfiguringWorkspaces RobotPhase = "ConfiguringWorkspaces" 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
// +kubebuilder:validation:MinItems=1
// +kubebuilder:validation:MaxItems=2
Distributions []ROSDistro `json:"distributions"`
// +kubebuilder:validation:Required
// +kubebuilder:default=rmw_fastrtps_cpp
RMWImplementation RMWImplementation `json:"rmwImplementation"`
// 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"`
// Workspace manager template
WorkspaceManagerTemplate WorkspaceManagerSpec `json:"workspaceManagerTemplate,omitempty"`
// Build manager template for initial configuration
BuildManagerTemplate BuildManagerSpec `json:"buildManagerTemplate,omitempty"`
// Launch manager template for initial configuration
LaunchManagerTemplates []LaunchManagerSpec `json:"launchManagerTemplates,omitempty"`
// Robot development suite template
RobotDevSuiteTemplate RobotDevSuiteSpec `json:"robotDevSuiteTemplate,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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RobotSpec.
func (*RobotSpec) DeepCopyInto ¶
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"`
// Workspace manager status
WorkspaceManagerStatus WorkspaceManagerInstanceStatus `json:"workspaceManagerStatus,omitempty"`
// Initial build manager creation status
InitialBuildManagerStatus ManagerStatus `json:"initialBuildManagerStatus,omitempty"`
// Initial launch manager creation status
InitialLaunchManagerStatuses []ManagerStatus `json:"initialLaunchManagerStatuses,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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RobotVDI.
func (*RobotVDI) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RobotVDI) DeepCopyObject ¶
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 (*RobotVDI) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*RobotVDI) ValidateDelete ¶
ValidateDelete 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 ¶
func (in *RobotVDIIngressStatus) DeepCopy() *RobotVDIIngressStatus
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 ¶
func (in *RobotVDIInstanceStatus) DeepCopy() *RobotVDIInstanceStatus
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 ¶
func (in *RobotVDIServiceTCPStatus) DeepCopy() *RobotVDIServiceTCPStatus
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 ¶
func (in *RobotVDIServiceUDPStatus) DeepCopy() *RobotVDIServiceUDPStatus
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"`
}
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 Run ¶ added in v0.2.4
type Run 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
Namespacing bool `json:"namespacing,omitempty"`
// Additional environment variables to set when launching ROS nodes.
Env []corev1.EnvVar `json:"env,omitempty"`
// Package name in `ros2 run <package> <executable>`.
// +kubebuilder:validation:Required
Package string `json:"package"`
// Executable name in `ros2 run <package> <executable>`.
Executable string `json:"executable"`
// 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 container resource limits.
Resources Resources `json:"resources,omitempty"`
}
Run description.
func (*Run) DeepCopy ¶ added in v0.2.4
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Run.
func (*Run) DeepCopyInto ¶ added in v0.2.4
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 ¶
func (in *ScriptConfigMapStatus) DeepCopy() *ScriptConfigMapStatus
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 {
// Cluster selector.
Selector map[string]string `json:"selector,omitempty"`
// 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Step.
func (*Step) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.
func (*Storage) DeepCopyInto ¶
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"`
// +kubebuilder:validation:Required
Distro ROSDistro `json:"distro"`
// 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace.
func (*Workspace) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceManager ¶ added in v0.1.5
type WorkspaceManager struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WorkspaceManagerSpec `json:"spec,omitempty"`
Status WorkspaceManagerStatus `json:"status,omitempty"`
}
WorkspaceManager is the Schema for the workspacemanagers API
func (*WorkspaceManager) DeepCopy ¶ added in v0.1.5
func (in *WorkspaceManager) DeepCopy() *WorkspaceManager
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceManager.
func (*WorkspaceManager) DeepCopyInto ¶ added in v0.1.5
func (in *WorkspaceManager) DeepCopyInto(out *WorkspaceManager)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkspaceManager) DeepCopyObject ¶ added in v0.1.5
func (in *WorkspaceManager) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*WorkspaceManager) Default ¶ added in v0.1.5
func (r *WorkspaceManager) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*WorkspaceManager) GetCleanupJobMetadata ¶ added in v0.1.5
func (workspacemanager *WorkspaceManager) GetCleanupJobMetadata() *types.NamespacedName
func (*WorkspaceManager) GetClonerJobMetadata ¶ added in v0.1.5
func (workspacemanager *WorkspaceManager) GetClonerJobMetadata() *types.NamespacedName
func (*WorkspaceManager) SetupWebhookWithManager ¶ added in v0.1.5
func (r *WorkspaceManager) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*WorkspaceManager) ValidateCreate ¶ added in v0.1.5
func (r *WorkspaceManager) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*WorkspaceManager) ValidateDelete ¶ added in v0.1.5
func (r *WorkspaceManager) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*WorkspaceManager) ValidateUpdate ¶ added in v0.1.5
func (r *WorkspaceManager) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type WorkspaceManagerInstanceStatus ¶ added in v0.1.5
type WorkspaceManagerInstanceStatus struct {
Created bool `json:"created,omitempty"`
Status WorkspaceManagerStatus `json:"status,omitempty"`
}
func (*WorkspaceManagerInstanceStatus) DeepCopy ¶ added in v0.1.5
func (in *WorkspaceManagerInstanceStatus) DeepCopy() *WorkspaceManagerInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceManagerInstanceStatus.
func (*WorkspaceManagerInstanceStatus) DeepCopyInto ¶ added in v0.1.5
func (in *WorkspaceManagerInstanceStatus) DeepCopyInto(out *WorkspaceManagerInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceManagerList ¶ added in v0.1.5
type WorkspaceManagerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WorkspaceManager `json:"items"`
}
WorkspaceManagerList contains a list of WorkspaceManager
func (*WorkspaceManagerList) DeepCopy ¶ added in v0.1.5
func (in *WorkspaceManagerList) DeepCopy() *WorkspaceManagerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceManagerList.
func (*WorkspaceManagerList) DeepCopyInto ¶ added in v0.1.5
func (in *WorkspaceManagerList) DeepCopyInto(out *WorkspaceManagerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkspaceManagerList) DeepCopyObject ¶ added in v0.1.5
func (in *WorkspaceManagerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkspaceManagerPhase ¶ added in v0.1.5
type WorkspaceManagerPhase string
const ( WorkspaceManagerPhaseConfiguringWorkspaces WorkspaceManagerPhase = "ConfiguringWorkspaces" WorkspaceManagerPhaseReady WorkspaceManagerPhase = "Ready" WorkspaceManagerPhaseFailed WorkspaceManagerPhase = "Failed" )
type WorkspaceManagerSpec ¶ added in v0.1.5
type WorkspaceManagerSpec struct {
// 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"`
// Need update
UpdateNeeded bool `json:"updateNeeded,omitempty"`
}
WorkspaceManagerSpec defines the desired state of WorkspaceManager
func (*WorkspaceManagerSpec) DeepCopy ¶ added in v0.1.5
func (in *WorkspaceManagerSpec) DeepCopy() *WorkspaceManagerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceManagerSpec.
func (*WorkspaceManagerSpec) DeepCopyInto ¶ added in v0.1.5
func (in *WorkspaceManagerSpec) DeepCopyInto(out *WorkspaceManagerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceManagerStatus ¶ added in v0.1.5
type WorkspaceManagerStatus struct {
Phase WorkspaceManagerPhase `json:"phase,omitempty"`
ClonerJobStatus ClonerJobStatus `json:"clonerJobStatus,omitempty"`
CleanupJobStatus CleanupJobStatus `json:"cleanupJobStatus,omitempty"`
Version int `json:"version,omitempty"`
}
WorkspaceManagerStatus defines the observed state of WorkspaceManager
func (*WorkspaceManagerStatus) DeepCopy ¶ added in v0.1.5
func (in *WorkspaceManagerStatus) DeepCopy() *WorkspaceManagerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceManagerStatus.
func (*WorkspaceManagerStatus) DeepCopyInto ¶ added in v0.1.5
func (in *WorkspaceManagerStatus) DeepCopyInto(out *WorkspaceManagerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.