kubeutil

package
v5.0.0-beta.2+incompat... Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrImagePullReason = "ErrImagePull"
	ErrorReason        = "Error"
)

Variables

This section is empty.

Functions

func DeploymentRolloutComplete

func DeploymentRolloutComplete(deployment *v1beta1.Deployment) bool

func GetReplicaSetForDeployment

func GetReplicaSetForDeployment(client kubernetes.Interface, deployment *v1beta1.Deployment) (*v1beta1.ReplicaSet, error)

func IsOwner

func IsOwner(parent, child v1meta.ObjectMeta) bool

func PodWarnings

func PodWarnings(pod *v1.Pod) error

func WatchDeployments

func WatchDeployments(ctx context.Context, client kubernetes.Interface, selector fields.Selector) chan *v1beta1.Deployment

func WatchPods

func WatchPods(ctx context.Context, client kubernetes.Interface, selector fields.Selector) chan *v1.Pod

Types

type ErrCrash

type ErrCrash struct {
	Name         string
	ExitCode     int32
	RestartCount int32
}

func (ErrCrash) Error

func (err ErrCrash) Error() string

type ErrImagePull

type ErrImagePull struct{}

func (ErrImagePull) Error

func (err ErrImagePull) Error() string

Jump to

Keyboard shortcuts

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