Documentation ¶
Index ¶
- func Create(k8sClient client.Client, deployment *appsv1.Deployment) error
- func CreateWithMap(k8sClient client.Client, cfg map[string]interface{}) error
- func Delete(k8sClient client.Client, deployment *appsv1.Deployment) error
- func DeleteOfAll(k8sClient client.Client, deployment *appsv1.Deployment, ...) error
- func Get(k8sClient client.Client, name, namespace string) (*appsv1.Deployment, error)
- func List(k8sClient client.Client, opts []client.ListOption) (*appsv1.DeploymentList, error)
- func ListPods(k8sClient client.Client, deploymentName, namespace string) (*corev1.PodList, error)
- func ListRunningPods(k8sClient client.Client, deploymentName, namespace string) ([]corev1.Pod, error)
- func WaitForDeployments(k8sClient client.Client, deployments []string, namespace string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteOfAll ¶
func DeleteOfAll(k8sClient client.Client, deployment *appsv1.Deployment, opts []client.DeleteAllOfOption) error
func List ¶
func List(k8sClient client.Client, opts []client.ListOption) (*appsv1.DeploymentList, error)
func ListRunningPods ¶ added in v1.1.0
func WaitForDeployments ¶
func WaitForDeployments(k8sClient client.Client, deployments []string, namespace string, tc openshiftTY.TimeoutConfig) error
wait for deployment
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.