kubernetes

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	Apply(manifestFile string) ([]byte, error)
	Get(manifestFile string) ([]byte, error)
}

type Kubernetes

type Kubernetes struct {
	Kubeconfig  string
	KubectlPath string
}

func New

func New(kubeconfig string) (*Kubernetes, error)

func (*Kubernetes) Apply

func (k *Kubernetes) Apply(manifestFile string) ([]byte, error)

func (*Kubernetes) Exec

func (k *Kubernetes) Exec(args ...string) (out []byte, err error)

func (*Kubernetes) Get

func (k *Kubernetes) Get(manifestFile string) ([]byte, error)

Jump to

Keyboard shortcuts

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