Documentation ¶
Index ¶
- func IsInactive(r *model.Resource) bool
- func IsStatusDeleted(entity *model.Resource) bool
- func IsStatusDeployed(entity *model.Resource) bool
- func IsStatusError(entity *model.Resource) bool
- func IsStatusReady(entity *model.Resource) bool
- func IsStatusStopped(entity *model.Resource) bool
- func UpdateStatus(ctx context.Context, mc model.ClientSet, entity *model.Resource) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInactive ¶
IsInactive tells whether the given resource is inactive.
func IsStatusDeleted ¶
IsStatusDeleted returns true if the resource is deleted or to be deleted.
func IsStatusDeployed ¶
IsStatusDeployed returns true if the resource is deployed or to be deployed.
func IsStatusError ¶
IsStatusError returns true if the resource is in error status.
func IsStatusReady ¶
IsStatusReady returns true if the resource is ready.
func IsStatusStopped ¶
IsStatusStopped returns true if the resource is stopped or to be stopped.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.