configure

package
v0.2.7-alpha.7.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExternalVolumeMount

func GetExternalVolumeMount(
	mountPrefix string,
	volume corev1.Volume,
) corev1.VolumeMount

func GetGrantPermissionCmd

func GetGrantPermissionCmd(robot robotv1alpha1.Robot) string

func GetVolumeConfigMaps

func GetVolumeConfigMaps(buildManager *robotv1alpha1.BuildManager) corev1.Volume

func GetVolumeForSharedMemory

func GetVolumeForSharedMemory(shmSize string) corev1.Volume

func GetVolumeMountForSharedMemory

func GetVolumeMountForSharedMemory() corev1.VolumeMount

func GetVolumeWorkspace

func GetVolumeWorkspace(robot *robotv1alpha1.Robot) corev1.Volume

func GetVolumeX11Unix

func GetVolumeX11Unix(robotVDI *robotv1alpha1.RobotVDI) corev1.Volume

func GetVolumeXglCache

func GetVolumeXglCache() corev1.Volume

Types

type ContainerConfigInjector

type ContainerConfigInjector struct{}

func (*ContainerConfigInjector) InjectCustomPortConfiguration

func (cfg *ContainerConfigInjector) InjectCustomPortConfiguration(container *corev1.Container, config robotv1alpha1.AdditionalConfig) *corev1.Container

func (*ContainerConfigInjector) InjectGPUUsageEnvironmentVariable

func (cfg *ContainerConfigInjector) InjectGPUUsageEnvironmentVariable(container *corev1.Container) *corev1.Container

func (*ContainerConfigInjector) InjectVolumeMountConfiguration

func (cfg *ContainerConfigInjector) InjectVolumeMountConfiguration(container *corev1.Container, robot robotv1alpha1.Robot, mountPrefix string) *corev1.Container

func (*ContainerConfigInjector) InjectWorkspaceEnvironmentVariable

func (cfg *ContainerConfigInjector) InjectWorkspaceEnvironmentVariable(container *corev1.Container, robot robotv1alpha1.Robot, workspace string) *corev1.Container

type JobConfigInjector

type JobConfigInjector struct{}

func (*JobConfigInjector) InjectGenericEnvironmentVariables

func (cfg *JobConfigInjector) InjectGenericEnvironmentVariables(job *batchv1.Job, robot robotv1alpha1.Robot) *batchv1.Job

func (*JobConfigInjector) InjectGenericRobotEnvironmentVariables

func (cfg *JobConfigInjector) InjectGenericRobotEnvironmentVariables(job *batchv1.Job, robot robotv1alpha1.Robot) *batchv1.Job

func (*JobConfigInjector) InjectImagePullPolicy

func (cfg *JobConfigInjector) InjectImagePullPolicy(job *v1.Job) *v1.Job

func (*JobConfigInjector) InjectLinuxUserAndGroup

func (cfg *JobConfigInjector) InjectLinuxUserAndGroup(job *batchv1.Job, robot robotv1alpha1.Robot) *batchv1.Job

func (*JobConfigInjector) InjectRMWImplementationConfiguration

func (cfg *JobConfigInjector) InjectRMWImplementationConfiguration(job *batchv1.Job, robot robotv1alpha1.Robot) *batchv1.Job

func (*JobConfigInjector) InjectTimezone

func (cfg *JobConfigInjector) InjectTimezone(job *batchv1.Job, node corev1.Node) *batchv1.Job

func (*JobConfigInjector) InjectVolumeConfiguration

func (cfg *JobConfigInjector) InjectVolumeConfiguration(job *batchv1.Job, robot robotv1alpha1.Robot) *batchv1.Job

func (*JobConfigInjector) InjectWorkspaceEnvironmentVariable

func (cfg *JobConfigInjector) InjectWorkspaceEnvironmentVariable(job *batchv1.Job, robot robotv1alpha1.Robot, workspace string) *batchv1.Job

func (*JobConfigInjector) SchedulePod

func (cfg *JobConfigInjector) SchedulePod(job *batchv1.Job, obj metav1.Object) *batchv1.Job

type PodConfigInjector

type PodConfigInjector struct{}

func (*PodConfigInjector) InjectBackgroundConfigFiles

func (cfg *PodConfigInjector) InjectBackgroundConfigFiles(pod *corev1.Pod, configMap corev1.ConfigMap) *corev1.Pod

func (*PodConfigInjector) InjectDiscoveryServerConnection

func (cfg *PodConfigInjector) InjectDiscoveryServerConnection(pod *corev1.Pod, connectionInfo robotv1alpha1.ConnectionInfo) *corev1.Pod

func (*PodConfigInjector) InjectDisplayConfiguration

func (cfg *PodConfigInjector) InjectDisplayConfiguration(pod *corev1.Pod, robotVDI robotv1alpha1.RobotVDI) *corev1.Pod

func (*PodConfigInjector) InjectDisplayConfigurationForLaunch

func (cfg *PodConfigInjector) InjectDisplayConfigurationForLaunch(pod *corev1.Pod, launchManager robotv1alpha1.LaunchManager, robotVDI robotv1alpha1.RobotVDI) *corev1.Pod

func (*PodConfigInjector) InjectEncodingOption

func (cfg *PodConfigInjector) InjectEncodingOption(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod

func (*PodConfigInjector) InjectGenericEnvironmentVariables

func (cfg *PodConfigInjector) InjectGenericEnvironmentVariables(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod

func (*PodConfigInjector) InjectGenericRobotEnvironmentVariables

func (cfg *PodConfigInjector) InjectGenericRobotEnvironmentVariables(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod

func (*PodConfigInjector) InjectImagePullPolicy

func (cfg *PodConfigInjector) InjectImagePullPolicy(pod *corev1.Pod) *corev1.Pod

func (*PodConfigInjector) InjectLinuxUserAndGroup

func (cfg *PodConfigInjector) InjectLinuxUserAndGroup(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod

func (*PodConfigInjector) InjectRMWImplementationConfiguration

func (cfg *PodConfigInjector) InjectRMWImplementationConfiguration(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod

func (*PodConfigInjector) InjectROSDomainID

func (cfg *PodConfigInjector) InjectROSDomainID(pod *corev1.Pod, domainID int) *corev1.Pod

func (*PodConfigInjector) InjectRemoteConfigurations

func (cfg *PodConfigInjector) InjectRemoteConfigurations(pod *corev1.Pod, robotIDE robotv1alpha1.RobotIDE) *corev1.Pod

It should be applied ONLY in physical instances.

func (*PodConfigInjector) InjectRuntimeClass

func (cfg *PodConfigInjector) InjectRuntimeClass(pod *corev1.Pod, robot v1alpha1.Robot, currentNode corev1.Node) *corev1.Pod

func (*PodConfigInjector) InjectRuntimeClassForMetricsExporter

func (cfg *PodConfigInjector) InjectRuntimeClassForMetricsExporter(pod *corev1.Pod, currentNode corev1.Node) *corev1.Pod

func (*PodConfigInjector) InjectSharedMemoryConfiguration

func (cfg *PodConfigInjector) InjectSharedMemoryConfiguration(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod

func (*PodConfigInjector) InjectTimezone

func (cfg *PodConfigInjector) InjectTimezone(pod *corev1.Pod, node corev1.Node) *corev1.Pod

func (*PodConfigInjector) InjectVolumeConfiguration

func (cfg *PodConfigInjector) InjectVolumeConfiguration(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod

func (*PodConfigInjector) InjectWorkspaceEnvironmentVariable

func (cfg *PodConfigInjector) InjectWorkspaceEnvironmentVariable(pod *corev1.Pod, robot robotv1alpha1.Robot, workspace string) *corev1.Pod

func (*PodConfigInjector) SchedulePod

func (cfg *PodConfigInjector) SchedulePod(pod *corev1.Pod, obj metav1.Object) *corev1.Pod

type ServiceConfigInjector

type ServiceConfigInjector struct{}

func (*ServiceConfigInjector) InjectRemoteConfigurations

func (cfg *ServiceConfigInjector) InjectRemoteConfigurations(service *corev1.Service) *corev1.Service

It should be applied ONLY in physical instances.

Jump to

Keyboard shortcuts

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