k8sutils

package module
v0.0.0-...-8a5c9ac Latest Latest
Warning

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

Go to latest
Published: May 11, 2018 License: MIT Imports: 7 Imported by: 0

README

k8sutils

kubernetes utility package

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListPods

func ListPods(c kubernetes.Interface, namespace, selector string) (*v1.PodList, error)

Returns the list of currently scheduled or running pods in `namespace` with the given selector

func WaitForPodBySelectorRunning

func WaitForPodBySelectorRunning(c kubernetes.Interface, namespace, selector string, timeout int) error

Wait up to timeout seconds for all pods in 'namespace' with given 'selector' to enter running state. Returns an error if no pods are found or not all discovered pods enter running state.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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