Documentation ¶
Index ¶
- type Remediator
- func (r *Remediator) AddWatches(_ context.Context, watches map[schema.GroupVersionKind]struct{}, _ string) status.MultiError
- func (r *Remediator) ManagementConflict() bool
- func (r *Remediator) NeedsUpdate() bool
- func (r *Remediator) Pause()
- func (r *Remediator) Remediating() bool
- func (r *Remediator) Resume()
- func (r *Remediator) UpdateWatches(_ context.Context, watches map[schema.GroupVersionKind]struct{}, _ string) status.MultiError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Remediator ¶
type Remediator struct { ManagementConflictOutput bool Watches map[schema.GroupVersionKind]struct{} AddWatchesError status.MultiError UpdateWatchesError status.MultiError Watching bool Paused bool // contains filtered or unexported fields }
Remediator fakes remediator.Remediator.
This is not in kpt.dev/configsync/pkg/testing/fake because that would cause a import loop (remediator -> fake -> remediator).
func (*Remediator) AddWatches ¶
func (r *Remediator) AddWatches(_ context.Context, watches map[schema.GroupVersionKind]struct{}, _ string) status.MultiError
AddWatches fakes remediator.Remediator.AddWatches
func (*Remediator) ManagementConflict ¶
func (r *Remediator) ManagementConflict() bool
ManagementConflict fakes remediator.Remediator.ManagementConflict
func (*Remediator) NeedsUpdate ¶
func (r *Remediator) NeedsUpdate() bool
NeedsUpdate fakes remediator.Remediator.NeedsUpdate
func (*Remediator) Remediating ¶
func (r *Remediator) Remediating() bool
Remediating returns true if not paused
func (*Remediator) UpdateWatches ¶
func (r *Remediator) UpdateWatches(_ context.Context, watches map[schema.GroupVersionKind]struct{}, _ string) status.MultiError
UpdateWatches fakes remediator.Remediator.UpdateWatches
Click to show internal directories.
Click to hide internal directories.