use of io.kubernetes.client.models.V1DeleteOptions in project java by kubernetes-client.
the class CoreV1ApiTest method deleteNamespaceTest.
/**
* delete a Namespace
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deleteNamespaceTest() throws ApiException {
String name = null;
V1DeleteOptions body = null;
String pretty = null;
Integer gracePeriodSeconds = null;
Boolean orphanDependents = null;
String propagationPolicy = null;
V1Status response = api.deleteNamespace(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy);
// TODO: test validations
}
use of io.kubernetes.client.models.V1DeleteOptions in project java by kubernetes-client.
the class CoreV1ApiTest method deleteNodeTest.
/**
* delete a Node
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deleteNodeTest() throws ApiException {
String name = null;
V1DeleteOptions body = null;
String pretty = null;
Integer gracePeriodSeconds = null;
Boolean orphanDependents = null;
String propagationPolicy = null;
V1Status response = api.deleteNode(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy);
// TODO: test validations
}
use of io.kubernetes.client.models.V1DeleteOptions in project java by kubernetes-client.
the class BatchV2alpha1ApiTest method deleteNamespacedCronJobTest.
/**
* delete a CronJob
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deleteNamespacedCronJobTest() throws ApiException {
String name = null;
String namespace = null;
V1DeleteOptions body = null;
String pretty = null;
Integer gracePeriodSeconds = null;
Boolean orphanDependents = null;
String propagationPolicy = null;
V1Status response = api.deleteNamespacedCronJob(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy);
// TODO: test validations
}
use of io.kubernetes.client.models.V1DeleteOptions in project java by kubernetes-client.
the class CustomObjectsApiTest method deleteNamespacedCustomObjectTest.
/**
* Deletes the specified namespace scoped custom object
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deleteNamespacedCustomObjectTest() throws ApiException {
String group = null;
String version = null;
String namespace = null;
String plural = null;
String name = null;
V1DeleteOptions body = null;
Integer gracePeriodSeconds = null;
Boolean orphanDependents = null;
String propagationPolicy = null;
Object response = api.deleteNamespacedCustomObject(group, version, namespace, plural, name, body, gracePeriodSeconds, orphanDependents, propagationPolicy);
// TODO: test validations
}
use of io.kubernetes.client.models.V1DeleteOptions in project java by kubernetes-client.
the class CustomObjectsApiTest method deleteClusterCustomObjectTest.
/**
* Deletes the specified cluster scoped custom object
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deleteClusterCustomObjectTest() throws ApiException {
String group = null;
String version = null;
String plural = null;
String name = null;
V1DeleteOptions body = null;
Integer gracePeriodSeconds = null;
Boolean orphanDependents = null;
String propagationPolicy = null;
Object response = api.deleteClusterCustomObject(group, version, plural, name, body, gracePeriodSeconds, orphanDependents, propagationPolicy);
// TODO: test validations
}
Aggregations