const maxKubectlExecRetries …
type TestKubeconfig …
func NewTestKubeconfig(certdir, host, kubeconfig, kubecontext, kubectlpath, namespace string) *TestKubeconfig { … }
func (tk *TestKubeconfig) KubectlCmd(args ...string) *exec.Cmd { … }
func LogFailedContainers(ctx context.Context, c clientset.Interface, ns string, logFunc func(ftm string, args ...interface{ … }
func kubectlLogPod(ctx context.Context, c clientset.Interface, pod v1.Pod, containerNameSubstr string, logFunc func(ftm string, args ...interface{ … }
func (tk *TestKubeconfig) WriteFileViaContainer(podName, containerName string, path string, contents string) error { … }
func (tk *TestKubeconfig) ReadFileViaContainer(podName, containerName string, path string) (string, error) { … }
func (tk *TestKubeconfig) kubectlExecWithRetry(namespace string, podName, containerName string, args ...string) ([]byte, []byte, error) { … }
func (tk *TestKubeconfig) kubectlExec(namespace string, podName, containerName string, args ...string) ([]byte, []byte, error) { … }