status

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInactive

func IsInactive(r *model.Resource) bool

IsInactive tells whether the given resource is inactive.

func IsStatusDeleted

func IsStatusDeleted(entity *model.Resource) bool

IsStatusDeleted returns true if the resource is deleted or to be deleted.

func IsStatusDeployed

func IsStatusDeployed(entity *model.Resource) bool

IsStatusDeployed returns true if the resource is deployed or to be deployed.

func IsStatusError

func IsStatusError(entity *model.Resource) bool

IsStatusError returns true if the resource is in error status.

func IsStatusReady

func IsStatusReady(entity *model.Resource) bool

IsStatusReady returns true if the resource is ready.

func IsStatusStopped

func IsStatusStopped(entity *model.Resource) bool

IsStatusStopped returns true if the resource is stopped or to be stopped.

func UpdateStatus

func UpdateStatus(
	ctx context.Context,
	mc model.ClientSet,
	entity *model.Resource,
) error

UpdateStatus updates the status of the given resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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