Search in sources :

Example 36 with V1Status

use of io.kubernetes.client.models.V1Status in project java by kubernetes-client.

the class ExtensionsV1beta1ApiTest method deleteNamespacedReplicaSetTest.

/**
 * delete a ReplicaSet
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void deleteNamespacedReplicaSetTest() 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.deleteNamespacedReplicaSet(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 37 with V1Status

use of io.kubernetes.client.models.V1Status in project java by kubernetes-client.

the class ExtensionsV1beta1ApiTest method deleteCollectionNamespacedDaemonSetTest.

/**
 * delete collection of DaemonSet
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void deleteCollectionNamespacedDaemonSetTest() throws ApiException {
    String namespace = null;
    String pretty = null;
    String _continue = null;
    String fieldSelector = null;
    Boolean includeUninitialized = null;
    String labelSelector = null;
    Integer limit = null;
    String resourceVersion = null;
    Integer timeoutSeconds = null;
    Boolean watch = null;
    V1Status response = api.deleteCollectionNamespacedDaemonSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch);
// TODO: test validations
}
Also used : V1Status(io.kubernetes.client.models.V1Status) Test(org.junit.Test)

Example 38 with V1Status

use of io.kubernetes.client.models.V1Status in project java by kubernetes-client.

the class ExtensionsV1beta1ApiTest method deleteCollectionNamespacedDeploymentTest.

/**
 * delete collection of Deployment
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void deleteCollectionNamespacedDeploymentTest() throws ApiException {
    String namespace = null;
    String pretty = null;
    String _continue = null;
    String fieldSelector = null;
    Boolean includeUninitialized = null;
    String labelSelector = null;
    Integer limit = null;
    String resourceVersion = null;
    Integer timeoutSeconds = null;
    Boolean watch = null;
    V1Status response = api.deleteCollectionNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch);
// TODO: test validations
}
Also used : V1Status(io.kubernetes.client.models.V1Status) Test(org.junit.Test)

Example 39 with V1Status

use of io.kubernetes.client.models.V1Status in project java by kubernetes-client.

the class ExtensionsV1beta1ApiTest method deleteCollectionNamespacedReplicaSetTest.

/**
 * delete collection of ReplicaSet
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void deleteCollectionNamespacedReplicaSetTest() throws ApiException {
    String namespace = null;
    String pretty = null;
    String _continue = null;
    String fieldSelector = null;
    Boolean includeUninitialized = null;
    String labelSelector = null;
    Integer limit = null;
    String resourceVersion = null;
    Integer timeoutSeconds = null;
    Boolean watch = null;
    V1Status response = api.deleteCollectionNamespacedReplicaSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch);
// TODO: test validations
}
Also used : V1Status(io.kubernetes.client.models.V1Status) Test(org.junit.Test)

Example 40 with V1Status

use of io.kubernetes.client.models.V1Status in project java by kubernetes-client.

the class CoreV1ApiTest method deleteNamespacedPodTemplateTest.

/**
 * delete a PodTemplate
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void deleteNamespacedPodTemplateTest() 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.deleteNamespacedPodTemplate(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

V1Status (io.kubernetes.client.models.V1Status)336 Type (java.lang.reflect.Type)224 ProgressRequestBody (io.kubernetes.client.ProgressRequestBody)112 ProgressResponseBody (io.kubernetes.client.ProgressResponseBody)112 Test (org.junit.Test)112 V1DeleteOptions (io.kubernetes.client.models.V1DeleteOptions)56