statuses

package
v0.8.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResourceStatuses

func NewResourceStatuses(previousResourceStatuses []v1alpha1.ResourceStatus, addConditionsFunc AddConditionsFunc) *resourceStatuses

Types

type AddConditionsFunc

type AddConditionsFunc func(conditionManager *conditions.ConditionManager, isOwner bool, err error)

type ResourceStatusList added in v0.5.4

type ResourceStatusList []v1alpha1.ResourceStatus

func (ResourceStatusList) ConditionsForResourceNamed added in v0.5.4

func (rsl ResourceStatusList) ConditionsForResourceNamed(resourceName string) utils.ConditionList

type ResourceStatuses

type ResourceStatuses interface {
	ChangedConditionTypes(realizedResourceName string) []string
	GetPreviousResourceStatus(realizedResourceName string) *v1alpha1.ResourceStatus
	Add(status *v1alpha1.RealizedResource, err error, isPassThrough bool, furtherConditions ...metav1.Condition)
	GetCurrent() ResourceStatusList
	IsChanged() bool
}

Jump to

Keyboard shortcuts

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