kubectl

package
v0.9.29 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kubectl

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

func New

func New(command string) *Kubectl

func (*Kubectl) AddFlag

func (k *Kubectl) AddFlag(flag string) *Kubectl

func (*Kubectl) AddParameter

func (k *Kubectl) AddParameter(key, value string) *Kubectl

func (*Kubectl) Build

func (k *Kubectl) Build() exec.Cmd

type KubectlApply added in v0.9.20

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

func NewApply added in v0.9.20

func NewApply(resultFilePath string) *KubectlApply

func (*KubectlApply) Build added in v0.9.20

func (k *KubectlApply) Build() exec.Cmd

type KubectlDelete added in v0.9.20

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

func NewDelete added in v0.9.20

func NewDelete(resultFilePath string) *KubectlDelete

func (*KubectlDelete) Build added in v0.9.20

func (k *KubectlDelete) Build() exec.Cmd

type KubectlLabel added in v0.9.20

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

func NewLabel added in v0.9.20

func NewLabel(resultFilePath string) *KubectlLabel

func (*KubectlLabel) AddParameter added in v0.9.20

func (k *KubectlLabel) AddParameter(key, value string) *KubectlLabel

func (*KubectlLabel) Apply added in v0.9.20

func (k *KubectlLabel) Apply(monitor mntr.Monitor, labels map[string]string) error

type KubectlVersion added in v0.9.17

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

func NewVersion added in v0.9.17

func NewVersion() *KubectlVersion

func (*KubectlVersion) GetKubeVersion added in v0.9.17

func (k *KubectlVersion) GetKubeVersion(monitor mntr.Monitor) (string, error)

type Version added in v0.9.17

type Version struct {
	BuildDate    string `yaml:"buildDate"`
	Compiler     string `yaml:"compiler"`
	GitCommit    string `yaml:"gitCommit"`
	GitTreeState string `yaml:"gitTreeState"`
	GitVersion   string `yaml:"gitVersion"`
	GoVersion    string `yaml:"goVersion"`
	Major        string `yaml:"major"`
	Minor        string `yaml:"minor"`
	Platform     string `yaml:"platform"`
}

type Versions added in v0.9.17

type Versions struct {
	ClientVersion *Version `yaml:"clientVersion"`
	ServerVersion *Version `yaml:"serverVersion"`
}

Jump to

Keyboard shortcuts

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