Documentation ¶
Index ¶
- Constants
- func GetBridgeIngress(rosBridge *robotv1alpha1.ROSBridge, ...) *networkingv1.Ingress
- func GetBridgePod(rosbridge *robotv1alpha1.ROSBridge, podNamespacedName *types.NamespacedName, ...) *corev1.Pod
- func GetBridgeService(rosbridge *robotv1alpha1.ROSBridge, svcNamespacedName *types.NamespacedName) *corev1.Service
- func GetBuildJob(buildManager *robotv1alpha1.BuildManager, robot *robotv1alpha1.Robot, ...) *batchv1.Job
- func GetBuildManager(robot *robotv1alpha1.Robot, bmNamespacedName *types.NamespacedName) *robotv1alpha1.BuildManager
- func GetCleanupJob(workspaceManager *robotv1alpha1.WorkspaceManager, ...) *batchv1.Job
- func GetCloneCommand(workspaces []robotv1alpha1.Workspace, wsKey int) string
- func GetClonerJob(workspaceManager *robotv1alpha1.WorkspaceManager, ...) *batchv1.Job
- func GetConfigMap(buildManager *robotv1alpha1.BuildManager) (*corev1.ConfigMap, error)
- func GetDiscoveryServer(robot *robotv1alpha1.Robot, dsNamespacedName *types.NamespacedName) *robotv1alpha1.DiscoveryServer
- func GetDiscoveryServerConfigMap(discoveryServer *robotv1alpha1.DiscoveryServer, ...) (*corev1.ConfigMap, error)
- func GetDiscoveryServerDNS(discoveryServer robotv1alpha1.DiscoveryServer) string
- func GetDiscoveryServerPod(discoveryServer *robotv1alpha1.DiscoveryServer, ...) *corev1.Pod
- func GetDiscoveryServerService(discoveryServer *robotv1alpha1.DiscoveryServer, ...) *corev1.Service
- func GetDiscoveryServerServiceExport(discoveryServer *robotv1alpha1.DiscoveryServer, ...) (*mcsv1alpha1.ServiceExport, error)
- func GetLaunchManager(robot *robotv1alpha1.Robot, lmNamespacedName *types.NamespacedName, key int) *robotv1alpha1.LaunchManager
- func GetLaunchPod(launchManager *robotv1alpha1.LaunchManager, ...) *corev1.Pod
- func GetLoaderJob(robot *robotv1alpha1.Robot, jobNamespacedName *types.NamespacedName, ...) *batchv1.Job
- func GetMetricsExporterPod(metricsExporter *robotv1alpha1.MetricsExporter, ...) *corev1.Pod
- func GetMetricsExporterRole(metricsExporter *robotv1alpha1.MetricsExporter, ...) *rbacv1.Role
- func GetMetricsExporterRoleBinding(metricsExporter *robotv1alpha1.MetricsExporter, ...) *rbacv1.RoleBinding
- func GetMetricsExporterServiceAccount(metricsExporter *robotv1alpha1.MetricsExporter, ...) *corev1.ServiceAccount
- func GetPersistentVolumeClaim(robot *robotv1alpha1.Robot, pvcNamespacedName *types.NamespacedName) *corev1.PersistentVolumeClaim
- func GetROSBridge(robot *robotv1alpha1.Robot, bridgeNamespacedName *types.NamespacedName) *robotv1alpha1.ROSBridge
- func GetRelayServerIngress(relayserver *robotv1alpha1.RelayServer, ...) *networkingv1.Ingress
- func GetRelayServerPod(relayserver *robotv1alpha1.RelayServer, ...) *corev1.Pod
- func GetRelayServerService(relayserver *robotv1alpha1.RelayServer, ...) *corev1.Service
- func GetRemoteIDERelayServer(robotDevSuite *robotv1alpha1.RobotDevSuite, ...) *robotv1alpha1.RelayServer
- func GetRobotDevSuite(robot *robotv1alpha1.Robot, rdsNamespacedName *types.NamespacedName) *robotv1alpha1.RobotDevSuite
- func GetRobotIDE(robotDevSuite *robotv1alpha1.RobotDevSuite, ...) *robotv1alpha1.RobotIDE
- func GetRobotIDEIngress(robotIDE *robotv1alpha1.RobotIDE, ingressNamespacedName *types.NamespacedName, ...) *networkingv1.Ingress
- func GetRobotIDEPod(robotIDE *robotv1alpha1.RobotIDE, podNamespacedName *types.NamespacedName, ...) *corev1.Pod
- func GetRobotIDEService(robotIDE *robotv1alpha1.RobotIDE, svcNamespacedName *types.NamespacedName) *corev1.Service
- func GetRobotIDEServiceExport(robotIDE *robotv1alpha1.RobotIDE, ...) *mcsv1alpha1.ServiceExport
- func GetRobotVDI(robotDevSuite *robotv1alpha1.RobotDevSuite, ...) *robotv1alpha1.RobotVDI
- func GetRobotVDIIngress(robotVDI *robotv1alpha1.RobotVDI, ingressNamespacedName *types.NamespacedName, ...) *networkingv1.Ingress
- func GetRobotVDIPVC(robotVDI *robotv1alpha1.RobotVDI, pvcNamespacedName *types.NamespacedName, ...) *corev1.PersistentVolumeClaim
- func GetRobotVDIPod(robotVDI *robotv1alpha1.RobotVDI, podNamespacedName *types.NamespacedName, ...) *corev1.Pod
- func GetRobotVDIServiceTCP(robotVDI *robotv1alpha1.RobotVDI, svcNamespacedName *types.NamespacedName) *corev1.Service
- func GetRobotVDIServiceUDP(robotVDI *robotv1alpha1.RobotVDI, svcNamespacedName *types.NamespacedName) *corev1.Service
- func GetWorkspaceManager(robot *robotv1alpha1.Robot, wsmNamespacedName *types.NamespacedName) *robotv1alpha1.WorkspaceManager
- func InstanceNeedDisplay(launchManager robotv1alpha1.LaunchManager, robot robotv1alpha1.Robot) bool
Constants ¶
View Source
const ( RELAY_SERVER_PORT_NAME = "relay-server" RELAY_SERVER_PORT = 7000 )
View Source
const ( ROBOT_IDE_PORT_NAME = "code-server" ROBOT_IDE_PORT = 9000 )
View Source
const ( ROBOT_VDI_PORT_NAME = "http" ROBOT_VDI_PORT = 8055 )
View Source
const ( ROS_BRIDGE_PORT_NAME = "bridge-server" ROS_BRIDGE_PORT = 9090 ROS2_BRIDGE_PORT_NAME = "bridge-server-2" ROS2_BRIDGE_PORT = 9091 )
Variables ¶
This section is empty.
Functions ¶
func GetBridgeIngress ¶
func GetBridgeIngress(rosBridge *robotv1alpha1.ROSBridge, ingressNamespacedName *types.NamespacedName, robot robotv1alpha1.Robot) *networkingv1.Ingress
func GetBridgePod ¶
func GetBridgePod(rosbridge *robotv1alpha1.ROSBridge, podNamespacedName *types.NamespacedName, robot robotv1alpha1.Robot) *corev1.Pod
func GetBridgeService ¶
func GetBridgeService(rosbridge *robotv1alpha1.ROSBridge, svcNamespacedName *types.NamespacedName) *corev1.Service
func GetBuildJob ¶
func GetBuildJob(buildManager *robotv1alpha1.BuildManager, robot *robotv1alpha1.Robot, step robotv1alpha1.Step) *batchv1.Job
func GetBuildManager ¶ added in v0.1.2
func GetBuildManager(robot *robotv1alpha1.Robot, bmNamespacedName *types.NamespacedName) *robotv1alpha1.BuildManager
func GetCleanupJob ¶ added in v0.1.5
func GetCleanupJob(workspaceManager *robotv1alpha1.WorkspaceManager, jobNamespacedName *types.NamespacedName, robot *robotv1alpha1.Robot) *batchv1.Job
func GetCloneCommand ¶
func GetCloneCommand(workspaces []robotv1alpha1.Workspace, wsKey int) string
func GetClonerJob ¶ added in v0.1.5
func GetClonerJob(workspaceManager *robotv1alpha1.WorkspaceManager, jobNamespacedName *types.NamespacedName, robot *robotv1alpha1.Robot) *batchv1.Job
func GetConfigMap ¶
func GetConfigMap(buildManager *robotv1alpha1.BuildManager) (*corev1.ConfigMap, error)
func GetDiscoveryServer ¶
func GetDiscoveryServer(robot *robotv1alpha1.Robot, dsNamespacedName *types.NamespacedName) *robotv1alpha1.DiscoveryServer
func GetDiscoveryServerConfigMap ¶
func GetDiscoveryServerConfigMap(discoveryServer *robotv1alpha1.DiscoveryServer, cmNamespacedName *types.NamespacedName) (*corev1.ConfigMap, error)
func GetDiscoveryServerDNS ¶
func GetDiscoveryServerDNS(discoveryServer robotv1alpha1.DiscoveryServer) string
func GetDiscoveryServerPod ¶
func GetDiscoveryServerPod(discoveryServer *robotv1alpha1.DiscoveryServer, podNamespacedName *types.NamespacedName) *corev1.Pod
func GetDiscoveryServerService ¶
func GetDiscoveryServerService(discoveryServer *robotv1alpha1.DiscoveryServer, svcNamespacedName *types.NamespacedName) *corev1.Service
func GetDiscoveryServerServiceExport ¶ added in v0.1.5
func GetDiscoveryServerServiceExport(discoveryServer *robotv1alpha1.DiscoveryServer, svcNamespacedName *types.NamespacedName) (*mcsv1alpha1.ServiceExport, error)
func GetLaunchManager ¶ added in v0.1.2
func GetLaunchManager(robot *robotv1alpha1.Robot, lmNamespacedName *types.NamespacedName, key int) *robotv1alpha1.LaunchManager
func GetLaunchPod ¶
func GetLaunchPod(launchManager *robotv1alpha1.LaunchManager, podNamespacedName *types.NamespacedName, robot robotv1alpha1.Robot, buildManager robotv1alpha1.BuildManager, robotVDI robotv1alpha1.RobotVDI, node corev1.Node) *corev1.Pod
func GetLoaderJob ¶
func GetLoaderJob(robot *robotv1alpha1.Robot, jobNamespacedName *types.NamespacedName, hasGPU bool) *batchv1.Job
func GetMetricsExporterPod ¶
func GetMetricsExporterPod(metricsExporter *robotv1alpha1.MetricsExporter, podNamespacedName *types.NamespacedName, node corev1.Node) *corev1.Pod
func GetMetricsExporterRole ¶
func GetMetricsExporterRole(metricsExporter *robotv1alpha1.MetricsExporter, roleNamespacedName *types.NamespacedName) *rbacv1.Role
func GetMetricsExporterRoleBinding ¶
func GetMetricsExporterRoleBinding(metricsExporter *robotv1alpha1.MetricsExporter, rbNamespacedName *types.NamespacedName) *rbacv1.RoleBinding
func GetMetricsExporterServiceAccount ¶
func GetMetricsExporterServiceAccount(metricsExporter *robotv1alpha1.MetricsExporter, saNamespacedName *types.NamespacedName) *corev1.ServiceAccount
func GetPersistentVolumeClaim ¶
func GetPersistentVolumeClaim(robot *robotv1alpha1.Robot, pvcNamespacedName *types.NamespacedName) *corev1.PersistentVolumeClaim
func GetROSBridge ¶
func GetROSBridge(robot *robotv1alpha1.Robot, bridgeNamespacedName *types.NamespacedName) *robotv1alpha1.ROSBridge
func GetRelayServerIngress ¶
func GetRelayServerIngress(relayserver *robotv1alpha1.RelayServer, ingressNamespacedName *types.NamespacedName) *networkingv1.Ingress
func GetRelayServerPod ¶
func GetRelayServerPod(relayserver *robotv1alpha1.RelayServer, podNamespacedName *types.NamespacedName) *corev1.Pod
func GetRelayServerService ¶
func GetRelayServerService(relayserver *robotv1alpha1.RelayServer, svcNamespacedName *types.NamespacedName) *corev1.Service
func GetRemoteIDERelayServer ¶
func GetRemoteIDERelayServer(robotDevSuite *robotv1alpha1.RobotDevSuite, relayServerNamespacedName *types.NamespacedName) *robotv1alpha1.RelayServer
func GetRobotDevSuite ¶
func GetRobotDevSuite(robot *robotv1alpha1.Robot, rdsNamespacedName *types.NamespacedName) *robotv1alpha1.RobotDevSuite
func GetRobotIDE ¶
func GetRobotIDE(robotDevSuite *robotv1alpha1.RobotDevSuite, robotIDENamespacedName *types.NamespacedName) *robotv1alpha1.RobotIDE
func GetRobotIDEIngress ¶
func GetRobotIDEIngress(robotIDE *robotv1alpha1.RobotIDE, ingressNamespacedName *types.NamespacedName, robot robotv1alpha1.Robot) *networkingv1.Ingress
func GetRobotIDEPod ¶
func GetRobotIDEPod(robotIDE *robotv1alpha1.RobotIDE, podNamespacedName *types.NamespacedName, robot robotv1alpha1.Robot, robotVDI robotv1alpha1.RobotVDI, node corev1.Node) *corev1.Pod
func GetRobotIDEService ¶
func GetRobotIDEService(robotIDE *robotv1alpha1.RobotIDE, svcNamespacedName *types.NamespacedName) *corev1.Service
func GetRobotIDEServiceExport ¶
func GetRobotIDEServiceExport(robotIDE *robotv1alpha1.RobotIDE, svcExportNamespacedName *types.NamespacedName) *mcsv1alpha1.ServiceExport
func GetRobotVDI ¶
func GetRobotVDI(robotDevSuite *robotv1alpha1.RobotDevSuite, robotVDINamespacedName *types.NamespacedName) *robotv1alpha1.RobotVDI
func GetRobotVDIIngress ¶
func GetRobotVDIIngress(robotVDI *robotv1alpha1.RobotVDI, ingressNamespacedName *types.NamespacedName, robot robotv1alpha1.Robot) *networkingv1.Ingress
func GetRobotVDIPVC ¶
func GetRobotVDIPVC(robotVDI *robotv1alpha1.RobotVDI, pvcNamespacedName *types.NamespacedName, robot robotv1alpha1.Robot) *corev1.PersistentVolumeClaim
func GetRobotVDIPod ¶
func GetRobotVDIPod(robotVDI *robotv1alpha1.RobotVDI, podNamespacedName *types.NamespacedName, robot robotv1alpha1.Robot, node corev1.Node) *corev1.Pod
func GetRobotVDIServiceTCP ¶
func GetRobotVDIServiceTCP(robotVDI *robotv1alpha1.RobotVDI, svcNamespacedName *types.NamespacedName) *corev1.Service
func GetRobotVDIServiceUDP ¶
func GetRobotVDIServiceUDP(robotVDI *robotv1alpha1.RobotVDI, svcNamespacedName *types.NamespacedName) *corev1.Service
func GetWorkspaceManager ¶ added in v0.1.5
func GetWorkspaceManager(robot *robotv1alpha1.Robot, wsmNamespacedName *types.NamespacedName) *robotv1alpha1.WorkspaceManager
func InstanceNeedDisplay ¶
func InstanceNeedDisplay(launchManager robotv1alpha1.LaunchManager, robot robotv1alpha1.Robot) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.