pod

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	Pods corev1.PodInterface
	Name string
	// contains filtered or unexported fields
}

func (*Watcher) Start

func (w *Watcher) Start(ctx context.Context) error

Start watches the pod with Name using watch API

func (*Watcher) WaitForPod

func (w *Watcher) WaitForPod(ctx context.Context, predicate func(pod *v1.Pod) bool) (*v1.Pod, error)

Jump to

Keyboard shortcuts

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