Documentation ¶
Index ¶
- func AddKubernetesApiBlackhole(pods *v1.PodList, containerName string)
- func DeleteKubernetesApiBlackhole(pods *v1.PodList, containerName string)
- func GetRunningPodByLabel(virtCli kubecli.KubevirtClient, label string, labelType string, ...) (*k8sv1.Pod, error)
- func RenderHostPathPod(podName string, dir string, hostPathType v1.HostPathType, ...) *v1.Pod
- func RenderPod(name string, cmd []string, args []string) *v1.Pod
- func RenderPrivilegedPod(name string, cmd []string, args []string) *v1.Pod
- func RenderTargetcliPod(name, disksPVC string) *v1.Pod
- type PodsByCreationTimestamp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRunningPodByLabel ¶
func RenderHostPathPod ¶
func RenderHostPathPod(podName string, dir string, hostPathType v1.HostPathType, mountPropagation v1.MountPropagationMode, cmd []string, args []string) *v1.Pod
func RenderPrivilegedPod ¶
func RenderTargetcliPod ¶
Types ¶
type PodsByCreationTimestamp ¶
PodsByCreationTimestamp sorts a list of Pods by creation timestamp, using their names as a tie breaker.
func (PodsByCreationTimestamp) Len ¶
func (o PodsByCreationTimestamp) Len() int
func (PodsByCreationTimestamp) Less ¶
func (o PodsByCreationTimestamp) Less(i, j int) bool
func (PodsByCreationTimestamp) Swap ¶
func (o PodsByCreationTimestamp) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.