status

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BulkUpdate

func BulkUpdate(key string, objectType string, options []status.StatusOptions) error

func DequeueStatus

func DequeueStatus(objIntf interface{}) error

func Record

func Record(key string, obj runtime.Object, status *Status)

Types

type Condition

type Condition interface {
	Type(string) Condition
	Reason(string) Condition
	Status(metav1.ConditionStatus) Condition
	Message(string) Condition
	ObservedGeneration(int64) Condition
	SetIn(*[]metav1.Condition)
}

func NewCondition

func NewCondition() Condition

type StatusUpdater

type StatusUpdater interface {
	Update(key string, option status.StatusOptions)
	BulkUpdate(key string, options []status.StatusOptions)
	Patch(key string, obj runtime.Object, status *Status, retryNum ...int)
	Delete(key string, option status.StatusOptions)
}

func New

func New(ObjectType string) StatusUpdater

Jump to

Keyboard shortcuts

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