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