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 ¶
type KubectlApply struct {
// contains filtered or unexported fields
}
func NewApply ¶
func NewApply(resultFilePath string) *KubectlApply
func (*KubectlApply) Build ¶
func (k *KubectlApply) Build() exec.Cmd
func (*KubectlApply) Force ¶ added in v0.21.1
func (k *KubectlApply) Force() *KubectlApply
type KubectlDelete ¶
type KubectlDelete struct {
// contains filtered or unexported fields
}
func NewDelete ¶
func NewDelete(resultFilePath string) *KubectlDelete
func (*KubectlDelete) Build ¶
func (k *KubectlDelete) Build() exec.Cmd
type KubectlLabel ¶
type KubectlLabel struct {
// contains filtered or unexported fields
}
func NewLabel ¶
func NewLabel(resultFilePath string) *KubectlLabel
func (*KubectlLabel) AddParameter ¶
func (k *KubectlLabel) AddParameter(key, value string) *KubectlLabel
type KubectlVersion ¶
type KubectlVersion struct {
// contains filtered or unexported fields
}
func NewVersion ¶
func NewVersion() *KubectlVersion
func (*KubectlVersion) GetKubeVersion ¶
func (k *KubectlVersion) GetKubeVersion(monitor mntr.Monitor) (string, error)
type Version ¶
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.