Search in sources :

Example 51 with V1DeleteOptions

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

the class RbacAuthorizationV1ApiTest method deleteClusterRoleTest.

/**
 * delete a ClusterRole
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void deleteClusterRoleTest() throws ApiException {
    String name = null;
    V1DeleteOptions body = null;
    String pretty = null;
    Integer gracePeriodSeconds = null;
    Boolean orphanDependents = null;
    String propagationPolicy = null;
    V1Status response = api.deleteClusterRole(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 52 with V1DeleteOptions

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

the class RbacAuthorizationV1ApiTest method deleteNamespacedRoleBindingTest.

/**
 * delete a RoleBinding
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void deleteNamespacedRoleBindingTest() 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.deleteNamespacedRoleBinding(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 53 with V1DeleteOptions

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

the class RbacAuthorizationV1ApiTest method deleteClusterRoleBindingTest.

/**
 * delete a ClusterRoleBinding
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void deleteClusterRoleBindingTest() throws ApiException {
    String name = null;
    V1DeleteOptions body = null;
    String pretty = null;
    Integer gracePeriodSeconds = null;
    Boolean orphanDependents = null;
    String propagationPolicy = null;
    V1Status response = api.deleteClusterRoleBinding(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 54 with V1DeleteOptions

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

the class RbacAuthorizationV1ApiTest method deleteNamespacedRoleTest.

/**
 * delete a Role
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void deleteNamespacedRoleTest() 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.deleteNamespacedRole(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 55 with V1DeleteOptions

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

the class RbacAuthorizationV1alpha1ApiTest method deleteClusterRoleTest.

/**
 * delete a ClusterRole
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void deleteClusterRoleTest() throws ApiException {
    String name = null;
    V1DeleteOptions body = null;
    String pretty = null;
    Integer gracePeriodSeconds = null;
    Boolean orphanDependents = null;
    String propagationPolicy = null;
    V1Status response = api.deleteClusterRole(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