kubectl

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployer

type Deployer struct {
	// Verbose logging.
	Verbose bool
}

Deployer implemented using the kubectl binary.

func NewDeployer

func NewDeployer() *Deployer

NewDeployer creates an instance of the kubectl-based deployer.

func (*Deployer) Deploy

func (d *Deployer) Deploy(name, image string) (address string, err error)

Deploy the named image.

type Remover

type Remover struct {
	// Verbose logging.
	Verbose bool
}

Remover implemented using the kubectl binary.

func NewRemover

func NewRemover() *Remover

NewRemover creates an instance of the kubectl-based deployer.

func (*Remover) Remove

func (d *Remover) Remove(name string) (err error)

Remove the named service. Name is expected

Jump to

Keyboard shortcuts

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