Search in sources :

Example 46 with V1DeleteOptions

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

Example 47 with V1DeleteOptions

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

Example 48 with V1DeleteOptions

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

Example 49 with V1DeleteOptions

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

Example 50 with V1DeleteOptions

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
}
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