Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodExecutor ¶
type PodExecutor struct { Pod *v1.Pod KubeCli *kubernetes.Clientset RestConfig *rest.Config genericclioptions.IOStreams }
PodExecutor run pod once, attach to it, and clean pod when session complete
func NewPodExecutor ¶
func NewPodExecutor(kubeCli *kubernetes.Clientset, pod *v1.Pod, restConfig *rest.Config, streams genericclioptions.IOStreams) *PodExecutor
func (*PodExecutor) Execute ¶
func (t *PodExecutor) Execute() error
Click to show internal directories.
Click to hide internal directories.