use of io.kubernetes.client.models.V1DeleteOptions in project java by kubernetes-client.
the class NetworkingV1ApiTest 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 CoreV1ApiTest method deleteNamespacedReplicationControllerTest.
/**
* delete a ReplicationController
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deleteNamespacedReplicationControllerTest() 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.deleteNamespacedReplicationController(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 CoreV1ApiTest method deleteNamespacedPodTest.
/**
* delete a Pod
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deleteNamespacedPodTest() 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.deleteNamespacedPod(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 CoreV1ApiTest method deleteNamespacedEventTest.
/**
* delete an Event
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deleteNamespacedEventTest() 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.deleteNamespacedEvent(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 CoreV1ApiTest method deletePersistentVolumeTest.
/**
* delete a PersistentVolume
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void deletePersistentVolumeTest() throws ApiException {
String name = null;
V1DeleteOptions body = null;
String pretty = null;
Integer gracePeriodSeconds = null;
Boolean orphanDependents = null;
String propagationPolicy = null;
V1Status response = api.deletePersistentVolume(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy);
// TODO: test validations
}
Aggregations