resources

package
v0.2.6-alpha.12.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

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 GetCleanupJob added in v0.1.5

func GetCleanupJob(workspaceManager *robotv1alpha1.WorkspaceManager, jobNamespacedName *types.NamespacedName, robot *robotv1alpha1.Robot) *batchv1.Job

func GetCloneCommand

func GetCloneCommand(robot robotv1alpha1.Robot, 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 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 GetLoaderJobForEnvironment

func GetLoaderJobForEnvironment(robot *robotv1alpha1.Robot, jobNamespacedName *types.NamespacedName, hasGPU bool) *batchv1.Job

func GetLoaderJobForRobot

func GetLoaderJobForRobot(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 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 GetRobotIDECustomIngress

func GetRobotIDECustomIngress(robotIDE *robotv1alpha1.RobotIDE, ingressNamespacedName *types.NamespacedName, robot robotv1alpha1.Robot) *networkingv1.Ingress

func GetRobotIDECustomService

func GetRobotIDECustomService(robotIDE *robotv1alpha1.RobotIDE, svcNamespacedName *types.NamespacedName, robot robotv1alpha1.Robot) *corev1.Service

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 GetRobotVDICustomIngress

func GetRobotVDICustomIngress(robotVDI *robotv1alpha1.RobotVDI, ingressNamespacedName *types.NamespacedName, robot robotv1alpha1.Robot) *networkingv1.Ingress

func GetRobotVDICustomService

func GetRobotVDICustomService(robotVDI *robotv1alpha1.RobotVDI, svcNamespacedName *types.NamespacedName, robot robotv1alpha1.Robot) *corev1.Service

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.

Jump to

Keyboard shortcuts

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