conditions

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConditionsManager

type ConditionsManager struct {
	// contains filtered or unexported fields
}

func NewConditionsManager

func NewConditionsManager() *ConditionsManager

func (*ConditionsManager) Delete

func (c *ConditionsManager) Delete(name string)

func (*ConditionsManager) Find

func (c *ConditionsManager) Find(name string, conditionType string) *metav1.Condition

func (*ConditionsManager) Get

func (c *ConditionsManager) Get(name string) []metav1.Condition

func (*ConditionsManager) IsTrue

func (c *ConditionsManager) IsTrue(name string, conditionType string) bool

func (*ConditionsManager) Ready

func (c *ConditionsManager) Ready(name string, conditionTypes ...string) (bool, string)

func (*ConditionsManager) Set

func (c *ConditionsManager) Set(name string, newCondition metav1.Condition)

func (*ConditionsManager) SetWithDuration

func (c *ConditionsManager) SetWithDuration(name string, newCondition metav1.Condition, dur time.Duration) bool

Jump to

Keyboard shortcuts

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