api

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(k8sClient client.Client, pod *corev1.Pod) error

func CreateAndWait

func CreateAndWait(k8sClient client.Client, pod *corev1.Pod) error

func CreateWithMap

func CreateWithMap(k8sClient client.Client, cfg map[string]interface{}) error

func Delete

func Delete(k8sClient client.Client, pod *corev1.Pod) error

func DeleteOfAll

func DeleteOfAll(k8sClient client.Client, pod *corev1.Pod, opts []client.DeleteAllOfOption) error

func Get

func Get(k8sClient client.Client, name, namespace string) (*corev1.Pod, error)

func List

func List(k8sClient client.Client, opts []client.ListOption) (*corev1.PodList, error)

func WaitForPods

func WaitForPods(k8sClient client.Client, pods []string, namespace string, tc openshiftTY.TimeoutConfig) error

wait for pods

Types

This section is empty.

Jump to

Keyboard shortcuts

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