manage

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 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 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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