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 (*Kubectl) AddParameter ¶
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
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"` }
Click to show internal directories.
Click to hide internal directories.