Search in sources :

Example 41 with V1DeleteOptions

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
}
Also used : V1DeleteOptions(io.kubernetes.client.models.V1DeleteOptions) V1Status(io.kubernetes.client.models.V1Status) Test(org.junit.Test)

Example 42 with V1DeleteOptions

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
}
Also used : V1DeleteOptions(io.kubernetes.client.models.V1DeleteOptions) V1Status(io.kubernetes.client.models.V1Status) Test(org.junit.Test)

Example 43 with V1DeleteOptions

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
}
Also used : V1DeleteOptions(io.kubernetes.client.models.V1DeleteOptions) V1Status(io.kubernetes.client.models.V1Status) Test(org.junit.Test)

Example 44 with V1DeleteOptions

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
}
Also used : V1DeleteOptions(io.kubernetes.client.models.V1DeleteOptions) V1Status(io.kubernetes.client.models.V1Status) Test(org.junit.Test)

Example 45 with V1DeleteOptions

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
}
Also used : V1DeleteOptions(io.kubernetes.client.models.V1DeleteOptions) V1Status(io.kubernetes.client.models.V1Status) Test(org.junit.Test)

Aggregations

V1DeleteOptions (io.kubernetes.client.models.V1DeleteOptions)58 Test (org.junit.Test)58 V1Status (io.kubernetes.client.models.V1Status)56