readychecker

package
v0.0.0-...-8e281e2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadyChecker

type ReadyChecker struct {
	GVR       schema.GroupVersionResource
	Namespace string
	Name      string
	Lister    cache.GenericLister
}

ReadyChecker stores the information needed to determine if a Kubernetes resource is ready or succeeded yet.

func (*ReadyChecker) IsReady

func (r *ReadyChecker) IsReady() bool

IsReady returns whether the selected resource is in a terminal state. (Ready or Succeeded Condition Type with a Status of True.)

func (*ReadyChecker) String

func (r *ReadyChecker) String() string

String represents the resource that a ReadyChecker is watching as a string.

Jump to

Keyboard shortcuts

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