integration-tests/src/test/java/oracle/kubernetes/operator/utils/TestUtils.java
public static void kubectlexec(String podName, String namespace, String scriptPath)
      throws Exception {

    ExecResult result = kubectlexecNoCheck(podName, namespace, scriptPath);
    if (result.exitValue() != 0) {
      throw new RuntimeException("FAILURE: command failed, returned " + result.stderr());
    }
  }
/**
   * kubectl exec.
   * @param podName pod name
   * @param namespace namespace
   * @param scriptPath script path
   * @throws Exception on failure
   */
kubectl exec.
@param podName pod name
@param namespace namespace
@param scriptPath script path
@throws Exception on failure
kubectl exec . @param podName pod name @param namespace namespace @param scriptPath script path @throws Exception on failure
public static void kubectlexec(String podName, String namespace, String scriptPath)
      throws Exception {
    ExecResult result = kubectlexecNoCheck(podName, namespace, scriptPath);
    if (result.exitValue() != 0) {
      throw new RuntimeException("FAILURE: command failed, returned " + result.stderr());
    }
  }
public static void kubectlexec ( String podName , String namespace , String scriptPath ) throws Exception { ExecResult result = kubectlexecNoCheck ( podName , namespace , scriptPath ) ; if ( result . exitValue ( ) != 0 ) { throw new RuntimeException ( "FAILURE: command failed, returned " + result . stderr ( ) ) ; } }
kubectl exec.
kubectl exec .