public class PatchExample extends Object
Easiest way to run this: mvn exec:java -Dexec.mainClass="io.kubernetes.client.examples.PatchExample"
From inside $REPO_DIR/examples
| Constructor and Description |
|---|
PatchExample() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionsV1beta1Deployment |
createDeployment(String namespace,
ExtensionsV1beta1Deployment body,
String pretty) |
Object |
deserialize(String jsonStr,
Class<?> targetClass) |
static void |
main(String[] args) |
ExtensionsV1beta1Deployment |
PatchDeployment(String deployName,
String namespace,
Object body,
String pretty) |
public static void main(String[] args) throws IOException, ApiException
IOExceptionApiExceptionpublic ExtensionsV1beta1Deployment createDeployment(String namespace, ExtensionsV1beta1Deployment body, String pretty) throws ApiException
ApiExceptionpublic ExtensionsV1beta1Deployment PatchDeployment(String deployName, String namespace, Object body, String pretty) throws ApiException
ApiExceptionCopyright © 2018. All rights reserved.