k8sutil

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrUpdateEndpoints added in v0.6.0

func CreateOrUpdateEndpoints(eclient clientv1.EndpointsInterface, eps *v1.Endpoints) error

func CreateOrUpdateService added in v0.6.0

func CreateOrUpdateService(sclient clientv1.ServiceInterface, svc *v1.Service) error

func IsResourceNotFoundError

func IsResourceNotFoundError(err error) bool

func NewClusterConfig

func NewClusterConfig(host string, tlsInsecure bool, tlsConfig *rest.TLSClientConfig) (*rest.Config, error)

func PodRunningAndReady

func PodRunningAndReady(pod v1.Pod) (bool, error)

PodRunningAndReady returns whether a pod is running and each container has passed it's ready state.

func WaitForTPRReady

func WaitForTPRReady(restClient rest.Interface, tprGroup, tprVersion, tprName string) error

WaitForTPRReady waits for a third party resource to be available for use.

Types

This section is empty.

Jump to

Keyboard shortcuts

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