kubectlcmd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client provides an interface to kubectl

func New

func New() *Client

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

func (*Client) Apply

func (c *Client) Apply(ctx context.Context, namespace string, manifest string, 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