api

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(k8sClient client.Client, deployment *appsv1.Deployment) error

func CreateWithMap

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

func Delete

func Delete(k8sClient client.Client, deployment *appsv1.Deployment) error

func DeleteOfAll

func DeleteOfAll(k8sClient client.Client, deployment *appsv1.Deployment, opts []client.DeleteAllOfOption) error

func Get

func Get(k8sClient client.Client, name, namespace string) (*appsv1.Deployment, error)

func List

func List(k8sClient client.Client, opts []client.ListOption) (*appsv1.DeploymentList, error)

func ListPods added in v1.1.0

func ListPods(k8sClient client.Client, deploymentName, namespace string) (*corev1.PodList, error)

func ListRunningPods added in v1.1.0

func ListRunningPods(k8sClient client.Client, deploymentName, namespace string) ([]corev1.Pod, error)

func WaitForDeployments

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

wait for deployment

Types

This section is empty.

Jump to

Keyboard shortcuts

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