Search in sources :

Example 36 with V1DeleteOptions

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

Example 37 with V1DeleteOptions

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

Example 38 with V1DeleteOptions

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

Example 39 with V1DeleteOptions

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

Example 40 with V1DeleteOptions

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

Aggregations

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