helper

package
v0.0.0-...-e602a8a Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeSchedulingPolicy

func ChangeSchedulingPolicy(pod *corev1.Pod, command string) (outStr, errStr string, err error)

func ConfigurePrivilegedServiceAccount

func ConfigurePrivilegedServiceAccount(namespace string) error

func DefineExclusivePod

func DefineExclusivePod(podName string, namespace string, image string, label map[string]string) *corev1.Pod

func DefineRtPod

func DefineRtPod(podName string, namespace string, image string, label map[string]string) *corev1.Pod

func DefineRtPodInIsolatedCPUPool

func DefineRtPodInIsolatedCPUPool(namespace string, rtc *nodev1.RuntimeClass) (*corev1.Pod, error)

func ExecCommandContainer

func ExecCommandContainer(
	pod *corev1.Pod, command string) (stdout, stderr string, err error)

ExecCommand runs command in the pod and returns buffer output.

func RedefinePodWithSharedContainer

func RedefinePodWithSharedContainer(pod *corev1.Pod, containerIndex int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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