updater

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateStatusFunc

type UpdateStatusFunc func(combo *v1alpha1.CombinationStatus) bool

func EnsureCondition

func EnsureCondition(condition metav1.Condition) UpdateStatusFunc

func EnsureEvaluations

func EnsureEvaluations(evaluation []string) UpdateStatusFunc

type Updater

type Updater struct {
	// contains filtered or unexported fields
}

func New

func New(client client.Client) Updater

func (*Updater) Apply

func (u *Updater) Apply(ctx context.Context, c *v1alpha1.Combination) error

func (*Updater) UpdateStatus

func (u *Updater) UpdateStatus(fs ...UpdateStatusFunc)

Jump to

Keyboard shortcuts

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