resources

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

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 GenerateLaunchCommandAsEnv added in v0.2.4

func GenerateLaunchCommandAsEnv(launch robotv1alpha1.Launch, robot robotv1alpha1.Robot) corev1.EnvVar

func GeneratePrelaunchCommandAsEnv

func GeneratePrelaunchCommandAsEnv(prelaunch robotv1alpha1.Prelaunch, robot robotv1alpha1.Robot) corev1.EnvVar

func GenerateRunCommandAsEnv

func GenerateRunCommandAsEnv(run robotv1alpha1.Run, robot robotv1alpha1.Robot) corev1.EnvVar

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) *corev1.Pod

func GetLaunchfilePathAbsolute

func GetLaunchfilePathAbsolute(workspacesPath string, wsName string, repoName string, lfRelativePath string) string

func GetLoaderJob

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

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 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) *corev1.Pod

func GetRobotIDEService

func GetRobotIDEService(robotIDE *robotv1alpha1.RobotIDE, svcNamespacedName *types.NamespacedName) *corev1.Service

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, isK3s bool) *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 GetWorkspaceSourceFilePath

func GetWorkspaceSourceFilePath(workspacesPath string, wsName string, distro robotv1alpha1.ROSDistro) string

func HasLaunchInThisInstance added in v0.1.9

func HasLaunchInThisInstance(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