Search in sources :

Example 56 with V1DeleteOptions

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

the class RbacAuthorizationV1alpha1ApiTest 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 57 with V1DeleteOptions

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

the class RbacAuthorizationV1alpha1ApiTest 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 58 with V1DeleteOptions

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

the class RbacAuthorizationV1beta1ApiTest 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)

Aggregations

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