1 package exec 2 3 import ( 4 "context" 5 "io" 6 ) 7 8 type Client interface { 9 // ExecuteCommand executes the given command in the pod's container, 10 // writing the output to the specified respective pipe writers 11 ExecuteCommand(ctx context.Context, command []string, podName string, containerName string, show bool, stdoutWriter *io.PipeWriter, stderrWriter *io.PipeWriter) (stdout []string, stderr []string, err error) 12 } 13