status

package
v0.0.0-...-0b904bf Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionAvailable   = "Available"
	ConditionProgressing = "Progressing"
	ConditionDegraded    = "Degraded"
	ConditionUpgradeable = "Upgradeable"
)

TODO: are we duping these?

Variables

This section is empty.

Functions

func FindCondition

func FindCondition(conditions []metav1.Condition, condition string) *metav1.Condition

func Update

func Update(ctx context.Context, client k8sclient.Client, rte *topologyexporterv1alpha1.ResourceTopologyExporter, condition string, reason string, message string) error

Types

type ErrResourcesNotReady

type ErrResourcesNotReady struct {
	Message string
}

func (ErrResourcesNotReady) Error

func (e ErrResourcesNotReady) Error() string

Jump to

Keyboard shortcuts

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