Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
func Exec(commandDetails *PodDetails, clients clients.ClientSets, command []string) (string, error)
Exec function will run the provide commands inside the target container
func SetExecCommandAttributes ¶
func SetExecCommandAttributes(podDetails *PodDetails, PodName, ContainerName, Namespace string)
SetExecCommandAttributes initialise all the pod details to run exec command
Types ¶
type PodDetails ¶
PodDetails contains all the required variables to exec inside a container
Click to show internal directories.
Click to hide internal directories.