Documentation ¶
Index ¶
- Constants
- type Applier
- func (a *Applier) AddAppliedObjectsIntoValues(values map[string]interface{}) map[string]interface{}
- func (a *Applier) Apply(oldAppliers []*Applier, prune bool) error
- func (a *Applier) AreResourcesReady() (bool, error)
- func (a *Applier) Count() int
- func (a *Applier) Load() error
- func (a *Applier) UpdatePruneStatus(status *compositionv1alpha1.PlanStatus)
- func (a *Applier) UpdateStageStatus(status *compositionv1alpha1.PlanStatus)
- type ApplierClient
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 (*Applier) AreResourcesReady ¶
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 }
Click to show internal directories.
Click to hide internal directories.