api

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: Apache-2.0 Imports: 9 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 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