condition

package
v0.0.0-...-79b91ea Latest Latest
Warning

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

Go to latest
Published: May 18, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(reason string, err error) error

Types

type Cond

type Cond string

func (Cond) CreateUnknownIfNotExists

func (c Cond) CreateUnknownIfNotExists(obj runtime.Object)

func (Cond) Do

func (c Cond) Do(obj runtime.Object, f func() (runtime.Object, error)) (runtime.Object, error)

func (Cond) DoUntilTrue

func (c Cond) DoUntilTrue(obj runtime.Object, f func() (runtime.Object, error)) (runtime.Object, error)

func (Cond) False

func (c Cond) False(obj runtime.Object)

func (Cond) GetLastUpdated

func (c Cond) GetLastUpdated(obj runtime.Object) string

func (Cond) GetMessage

func (c Cond) GetMessage(obj runtime.Object) string

func (Cond) GetReason

func (c Cond) GetReason(obj runtime.Object) string

func (Cond) GetStatus

func (c Cond) GetStatus(obj runtime.Object) string

func (Cond) IsFalse

func (c Cond) IsFalse(obj runtime.Object) bool

func (Cond) IsTrue

func (c Cond) IsTrue(obj runtime.Object) bool

func (Cond) IsUnknown

func (c Cond) IsUnknown(obj runtime.Object) bool

func (Cond) LastUpdated

func (c Cond) LastUpdated(obj runtime.Object, ts string)

func (Cond) Message

func (c Cond) Message(obj runtime.Object, message string)

func (Cond) Once

func (c Cond) Once(obj runtime.Object, f func() (runtime.Object, error)) (runtime.Object, error)

func (Cond) Reason

func (c Cond) Reason(obj runtime.Object, reason string)

func (Cond) ReasonAndMessageFromError

func (c Cond) ReasonAndMessageFromError(obj runtime.Object, err error)

func (Cond) SetMessageIfBlank

func (c Cond) SetMessageIfBlank(obj runtime.Object, message string)

func (Cond) True

func (c Cond) True(obj runtime.Object)

func (Cond) Unknown

func (c Cond) Unknown(obj runtime.Object)

Jump to

Keyboard shortcuts

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