kubectl

package
v0.0.13-rc5 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KUBECTL = "kubectl"

KUBECTL the path to kubectl

Functions

This section is empty.

Types

type Cli added in v0.1.0

type Cli struct {
	KubeOptions []string
}

Cli ...

func (*Cli) ApplyDashboardToCluster added in v0.1.0

func (k *Cli) ApplyDashboardToCluster() *exec.Cmd

ApplyDashboardToCluster ...

func (*Cli) PortForward added in v0.1.1

func (k *Cli) PortForward(namespace, resource string, remotePort int) *exec.Cmd

PortForward ...

func (*Cli) PortForwardDashboardToLocal added in v0.1.0

func (k *Cli) PortForwardDashboardToLocal(port string) *exec.Cmd

PortForwardDashboardToLocal ...

func (*Cli) Version added in v0.1.0

func (k *Cli) Version() *exec.Cmd

Version ...

type CliInterface added in v0.1.0

type CliInterface interface {
	Version() *exec.Cmd
	ApplyDashboardToCluster() *exec.Cmd
	PortForwardDashboardToLocal(port string) *exec.Cmd
	PortForward(namespace, resource string, remotePort int) *exec.Cmd
}

CliInterface ...

Jump to

Keyboard shortcuts

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