Documentation ¶
Index ¶
- Constants
- type PodBase
- func (p *PodBase) Exec(stdin io.Reader, command ...string) ([]byte, error)
- func (p *PodBase) ExecCommand(commands []string) (string, error)
- func (p *PodBase) GetUserPath() (string, error)
- func (p *PodBase) InstallKOTools() error
- func (p *PodBase) NewPodExec() *podexec.PodExec
- func (p *PodBase) OsAndArch(nodeName string) (osType string, arch string)
- func (p *PodBase) PodInfo() (*coreV1.Pod, error)
Constants ¶
View Source
const KotoolsPath = "/kotools"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodBase ¶
type PodBase struct { Namespace string PodName string Container string K8sClient *kubernetes.Clientset RestClient *rest.Config }
func (*PodBase) GetUserPath ¶
func (*PodBase) InstallKOTools ¶
func (*PodBase) NewPodExec ¶
Click to show internal directories.
Click to hide internal directories.