applier

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applier

type Applier interface {
	Applyx(ctx context.Context, namespace string, manifest string, validate bool, extraArgs ...string) error
}

type DirectApplier

type DirectApplier struct {
	// contains filtered or unexported fields
}

func NewDirectApplier

func NewDirectApplier() *DirectApplier

func (*DirectApplier) Apply

func (d *DirectApplier) Apply(ctx context.Context,
	namespace string,
	manifest string,
	validate bool,
	extraArgs ...string,
) error

type ExecKubectl

type ExecKubectl struct {
	// contains filtered or unexported fields
}

ExecKubectl provides an interface to kubectl

func NewExec

func NewExec() *ExecKubectl

New creates a Client that runs kubectl avaliable on the path with default authentication

func (*ExecKubectl) Apply

func (c *ExecKubectl) Apply(ctx context.Context, namespace string, manifest string, validate bool,
	extraArgs ...string) error

Apply runs the kubectl apply with the provided manifest argument

Jump to

Keyboard shortcuts

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