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