Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kubernetes_apis/builtin/rbac.authorization.k8s.io@v1/mod.ts>RbacAuthorizationV1Api

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
class RbacAuthorizationV1Api
import { RbacAuthorizationV1Api } from "https://deno.land/x/kubernetes_apis@v0.5.3/builtin/rbac.authorization.k8s.io@v1/mod.ts";

Constructors

new
RbacAuthorizationV1Api(client: c.RestClient)

Methods

createClusterRole(body: RbacAuthorizationV1.ClusterRole, opts?: operations.PutOpts): Promise<RbacAuthorizationV1.ClusterRole>
createClusterRoleBinding(body: RbacAuthorizationV1.ClusterRoleBinding, opts?: operations.PutOpts): Promise<RbacAuthorizationV1.ClusterRoleBinding>
deleteClusterRole(name: string, opts?: operations.DeleteOpts): Promise<RbacAuthorizationV1.ClusterRole | MetaV1.Status>
deleteClusterRoleBinding(name: string, opts?: operations.DeleteOpts): Promise<RbacAuthorizationV1.ClusterRoleBinding | MetaV1.Status>
deleteClusterRoleBindingList(opts?: operations.DeleteListOpts): Promise<RbacAuthorizationV1.ClusterRoleBindingList>
deleteClusterRoleList(opts?: operations.DeleteListOpts): Promise<RbacAuthorizationV1.ClusterRoleList>
getClusterRole(name: string, opts?: operations.NoOpts): Promise<RbacAuthorizationV1.ClusterRole>
getClusterRoleBinding(name: string, opts?: operations.NoOpts): Promise<RbacAuthorizationV1.ClusterRoleBinding>
getClusterRoleBindingList(opts?: operations.GetListOpts): Promise<RbacAuthorizationV1.ClusterRoleBindingList>
getClusterRoleList(opts?: operations.GetListOpts): Promise<RbacAuthorizationV1.ClusterRoleList>
getRoleBindingListForAllNamespaces(opts?: operations.GetListOpts): Promise<RbacAuthorizationV1.RoleBindingList>
getRoleListForAllNamespaces(opts?: operations.GetListOpts): Promise<RbacAuthorizationV1.RoleList>
patchClusterRole(
name: string,
type: c.PatchType,
body: RbacAuthorizationV1.ClusterRole | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<RbacAuthorizationV1.ClusterRole>
patchClusterRoleBinding(
name: string,
type: c.PatchType,
body: RbacAuthorizationV1.ClusterRoleBinding | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<RbacAuthorizationV1.ClusterRoleBinding>
replaceClusterRole(
name: string,
body: RbacAuthorizationV1.ClusterRole,
opts?: operations.PutOpts,
): Promise<RbacAuthorizationV1.ClusterRole>
replaceClusterRoleBinding(
name: string,
body: RbacAuthorizationV1.ClusterRoleBinding,
opts?: operations.PutOpts,
): Promise<RbacAuthorizationV1.ClusterRoleBinding>
watchClusterRoleBindingList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<RbacAuthorizationV1.ClusterRoleBinding>>
watchClusterRoleList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<RbacAuthorizationV1.ClusterRole>>
watchRoleBindingListForAllNamespaces(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<RbacAuthorizationV1.RoleBinding>>
watchRoleListForAllNamespaces(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<RbacAuthorizationV1.Role>>