use of io.kubernetes.client.models.V1DeleteOptions in project java by kubernetes-client.
the class ExtensionsV1beta1ApiTest method deleteNamespacedDeploymentTest.
/**
* delete a Deployment
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deleteNamespacedDeploymentTest() 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.deleteNamespacedDeployment(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 ExtensionsV1beta1ApiTest method deleteNamespacedNetworkPolicyTest.
/**
* delete a NetworkPolicy
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deleteNamespacedNetworkPolicyTest() 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.deleteNamespacedNetworkPolicy(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 ExtensionsV1beta1ApiTest method deleteNamespacedDaemonSetTest.
/**
* delete a DaemonSet
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deleteNamespacedDaemonSetTest() 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.deleteNamespacedDaemonSet(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 ExtensionsV1beta1ApiTest method deletePodSecurityPolicyTest.
/**
* delete a PodSecurityPolicy
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deletePodSecurityPolicyTest() throws ApiException {
String name = null;
V1DeleteOptions body = null;
String pretty = null;
Integer gracePeriodSeconds = null;
Boolean orphanDependents = null;
String propagationPolicy = null;
V1Status response = api.deletePodSecurityPolicy(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 deleteNamespacedConfigMapTest.
/**
* delete a ConfigMap
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deleteNamespacedConfigMapTest() 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.deleteNamespacedConfigMap(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy);
// TODO: test validations
}
Aggregations