statuses

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: Apache-2.0 Imports: 4 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 ResourceStatuses

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

Jump to

Keyboard shortcuts

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