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