applier

package
v0.0.0-...-10a8790 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const StageLabel = "compositions.google.com/applier-stage"

Variables

This section is empty.

Functions

This section is empty.

Types

type Applier

type Applier struct {
	Dryrun bool
	// contains filtered or unexported fields
}

func NewApplier

func NewApplier(
	ctx context.Context, logger logr.Logger,
	ac ApplierClient,
	stage string, namespace string, resource string,
	plan *compositionv1alpha1.Plan,
	readiness []compositionv1alpha1.ReadyOn,
) *Applier

func (*Applier) AddAppliedObjectsIntoValues

func (a *Applier) AddAppliedObjectsIntoValues(values map[string]interface{}) map[string]interface{}

func (*Applier) Apply

func (a *Applier) Apply(oldAppliers []*Applier, prune bool) error

func (*Applier) AreResourcesReady

func (a *Applier) AreResourcesReady() (bool, error)

func (*Applier) Count

func (a *Applier) Count() int

func (*Applier) Load

func (a *Applier) Load() error

func (*Applier) UpdatePruneStatus

func (a *Applier) UpdatePruneStatus(status *compositionv1alpha1.PlanStatus)

func (*Applier) UpdateStageStatus

func (a *Applier) UpdateStageStatus(status *compositionv1alpha1.PlanStatus)

type ApplierClient

type ApplierClient struct {
	RESTMapper meta.RESTMapper
	Dynamic    *dynamic.DynamicClient
	Client     client.Client
}

Jump to

Keyboard shortcuts

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