Command wraps the utils.ExecCommand pre-setting values constant during tests
( ctx context.Context, kubeInterface kubernetes.Interface, restConfig *rest.Config, pod corev1.Pod, containerName string, timeout *time.Duration, command ...string, )
| 161 | // Command wraps the utils.ExecCommand pre-setting values constant during |
| 162 | // tests |
| 163 | func Command( |
| 164 | ctx context.Context, |
| 165 | kubeInterface kubernetes.Interface, |
| 166 | restConfig *rest.Config, |
| 167 | pod corev1.Pod, |
| 168 | containerName string, |
| 169 | timeout *time.Duration, |
| 170 | command ...string, |
| 171 | ) (string, string, error) { |
| 172 | return pkgutils.ExecCommand(ctx, kubeInterface, restConfig, |
| 173 | pod, containerName, timeout, command...) |
| 174 | } |
no outgoing calls