Documentation ¶
Index ¶
- func GetExternalVolumeMount(mountPrefix string, volume corev1.Volume) corev1.VolumeMount
- func GetGrantPermissionCmd(robot robotv1alpha1.Robot) string
- func GetVolumeConfigMaps(buildManager *robotv1alpha1.BuildManager) corev1.Volume
- func GetVolumeForSharedMemory(shmSize string) corev1.Volume
- func GetVolumeMountForSharedMemory() corev1.VolumeMount
- func GetVolumeWorkspace(robot *robotv1alpha1.Robot) corev1.Volume
- func GetVolumeX11Unix(robotVDI *robotv1alpha1.RobotVDI) corev1.Volume
- func GetVolumeXglCache() corev1.Volume
- type ContainerConfigInjector
- func (cfg *ContainerConfigInjector) InjectCustomPortConfiguration(container *corev1.Container, config robotv1alpha1.AdditionalConfig) *corev1.Container
- func (cfg *ContainerConfigInjector) InjectGPUUsageEnvironmentVariable(container *corev1.Container) *corev1.Container
- func (cfg *ContainerConfigInjector) InjectVolumeMountConfiguration(container *corev1.Container, robot robotv1alpha1.Robot, mountPrefix string) *corev1.Container
- func (cfg *ContainerConfigInjector) InjectWorkspaceEnvironmentVariable(container *corev1.Container, robot robotv1alpha1.Robot, workspace string) *corev1.Container
- type JobConfigInjector
- func (cfg *JobConfigInjector) InjectGenericEnvironmentVariables(job *batchv1.Job, robot robotv1alpha1.Robot) *batchv1.Job
- func (cfg *JobConfigInjector) InjectGenericRobotEnvironmentVariables(job *batchv1.Job, robot robotv1alpha1.Robot) *batchv1.Job
- func (cfg *JobConfigInjector) InjectImagePullPolicy(job *v1.Job) *v1.Job
- func (cfg *JobConfigInjector) InjectLinuxUserAndGroup(job *batchv1.Job, robot robotv1alpha1.Robot) *batchv1.Job
- func (cfg *JobConfigInjector) InjectRMWImplementationConfiguration(job *batchv1.Job, robot robotv1alpha1.Robot) *batchv1.Job
- func (cfg *JobConfigInjector) InjectTimezone(job *batchv1.Job, node corev1.Node) *batchv1.Job
- func (cfg *JobConfigInjector) InjectVolumeConfiguration(job *batchv1.Job, robot robotv1alpha1.Robot) *batchv1.Job
- func (cfg *JobConfigInjector) InjectWorkspaceEnvironmentVariable(job *batchv1.Job, robot robotv1alpha1.Robot, workspace string) *batchv1.Job
- func (cfg *JobConfigInjector) SchedulePod(job *batchv1.Job, obj metav1.Object) *batchv1.Job
- type PodConfigInjector
- func (cfg *PodConfigInjector) InjectBackgroundConfigFiles(pod *corev1.Pod, configMap corev1.ConfigMap) *corev1.Pod
- func (cfg *PodConfigInjector) InjectDiscoveryServerConnection(pod *corev1.Pod, connectionInfo robotv1alpha1.ConnectionInfo) *corev1.Pod
- func (cfg *PodConfigInjector) InjectDisplayConfiguration(pod *corev1.Pod, robotVDI robotv1alpha1.RobotVDI) *corev1.Pod
- func (cfg *PodConfigInjector) InjectDisplayConfigurationForLaunch(pod *corev1.Pod, launchManager robotv1alpha1.LaunchManager, ...) *corev1.Pod
- func (cfg *PodConfigInjector) InjectEncodingOption(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod
- func (cfg *PodConfigInjector) InjectGenericEnvironmentVariables(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod
- func (cfg *PodConfigInjector) InjectGenericRobotEnvironmentVariables(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod
- func (cfg *PodConfigInjector) InjectImagePullPolicy(pod *corev1.Pod) *corev1.Pod
- func (cfg *PodConfigInjector) InjectLinuxUserAndGroup(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod
- func (cfg *PodConfigInjector) InjectRMWImplementationConfiguration(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod
- func (cfg *PodConfigInjector) InjectROSDomainID(pod *corev1.Pod, domainID int) *corev1.Pod
- func (cfg *PodConfigInjector) InjectRemoteConfigurations(pod *corev1.Pod, robotIDE robotv1alpha1.RobotIDE) *corev1.Pod
- func (cfg *PodConfigInjector) InjectRuntimeClass(pod *corev1.Pod, robot v1alpha1.Robot, currentNode corev1.Node) *corev1.Pod
- func (cfg *PodConfigInjector) InjectRuntimeClassForMetricsExporter(pod *corev1.Pod, currentNode corev1.Node) *corev1.Pod
- func (cfg *PodConfigInjector) InjectSharedMemoryConfiguration(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod
- func (cfg *PodConfigInjector) InjectTimezone(pod *corev1.Pod, node corev1.Node) *corev1.Pod
- func (cfg *PodConfigInjector) InjectVolumeConfiguration(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod
- func (cfg *PodConfigInjector) InjectWorkspaceEnvironmentVariable(pod *corev1.Pod, robot robotv1alpha1.Robot, workspace string) *corev1.Pod
- func (cfg *PodConfigInjector) SchedulePod(pod *corev1.Pod, obj metav1.Object) *corev1.Pod
- type ServiceConfigInjector
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 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 ¶
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 (*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 ¶
type PodConfigInjector ¶
type PodConfigInjector struct{}
func (*PodConfigInjector) InjectBackgroundConfigFiles ¶
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 (*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 (*PodConfigInjector) InjectRuntimeClassForMetricsExporter ¶
func (*PodConfigInjector) InjectSharedMemoryConfiguration ¶
func (cfg *PodConfigInjector) InjectSharedMemoryConfiguration(pod *corev1.Pod, robot robotv1alpha1.Robot) *corev1.Pod
func (*PodConfigInjector) InjectTimezone ¶
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 ¶
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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.