exec

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecCli

type ExecCli struct {
	*exec.ExecOptions
	// contains filtered or unexported fields
}

func NewExecCli

func NewExecCli(clientSet *kubernetes.Clientset, conf *rest.Config) *ExecCli

func (*ExecCli) AccessLog

func (e *ExecCli) AccessLog(podName string) (err error)

func (*ExecCli) Commands

func (e *ExecCli) Commands(commands []string) *ExecCli

func (*ExecCli) Completion

func (e *ExecCli) Completion() *ExecCli

func (*ExecCli) Container

func (e *ExecCli) Container(cn string) *ExecCli

func (*ExecCli) SetNamespace

func (e *ExecCli) SetNamespace(ns string) *ExecCli

func (*ExecCli) SetPod

func (e *ExecCli) SetPod(podName string) *ExecCli

func (*ExecCli) Upgrade added in v0.3.0

func (e *ExecCli) Upgrade(podName string, recreate bool) (err error)

func (*ExecCli) Warmup

func (e *ExecCli) Warmup(podName, subpath string) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳