Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceManager ¶
type ResourceManager interface { Apply(ctx context.Context, resources []model.Resource) error Delete(ctx context.Context, resources []model.Resource) error }
ResourceManager knows how to manage resources on clusters.
func NewDryRunManager ¶
func NewDryRunManager(disableColor bool, out io.Writer) ResourceManager
NewDryRunManager returns a resource manager that dry runs the changes without the need of an apiserver.
func NewNoopManager ¶
func NewNoopManager(logger log.Logger) ResourceManager
NewNoopManager returns a resource manager that noops the operations and logs them
Click to show internal directories.
Click to hide internal directories.