Package io.kubernetes.client.examples
Class ExecExample
java.lang.Object
io.kubernetes.client.examples.ExecExample
A simple example of how to use the Java API
Easiest way to run this: mvn exec:java -Dexec.mainClass="io.kubernetes.client.examples.ExecExample"
From inside $REPO_DIR/examples
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExecExample
public ExecExample()
-
-
Method Details
-
main
public static void main(String[] args) throws IOException, io.kubernetes.client.openapi.ApiException, InterruptedException, org.apache.commons.cli.ParseException - Throws:
IOExceptionio.kubernetes.client.openapi.ApiExceptionInterruptedExceptionorg.apache.commons.cli.ParseException
-