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

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

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

Constructors

new
RbacAuthorizationV1NamespacedApi(client: c.RestClient, namespace: string)

Methods

createRole(body: RbacAuthorizationV1.Role, opts?: operations.PutOpts): Promise<RbacAuthorizationV1.Role>
createRoleBinding(body: RbacAuthorizationV1.RoleBinding, opts?: operations.PutOpts): Promise<RbacAuthorizationV1.RoleBinding>
deleteRole(name: string, opts?: operations.DeleteOpts): Promise<RbacAuthorizationV1.Role | MetaV1.Status>
deleteRoleBinding(name: string, opts?: operations.DeleteOpts): Promise<RbacAuthorizationV1.RoleBinding | MetaV1.Status>
deleteRoleBindingList(opts?: operations.DeleteListOpts): Promise<RbacAuthorizationV1.RoleBindingList>
deleteRoleList(opts?: operations.DeleteListOpts): Promise<RbacAuthorizationV1.RoleList>
getRole(name: string, opts?: operations.NoOpts): Promise<RbacAuthorizationV1.Role>
getRoleBinding(name: string, opts?: operations.NoOpts): Promise<RbacAuthorizationV1.RoleBinding>
getRoleBindingList(opts?: operations.GetListOpts): Promise<RbacAuthorizationV1.RoleBindingList>
getRoleList(opts?: operations.GetListOpts): Promise<RbacAuthorizationV1.RoleList>
patchRole(
name: string,
type: c.PatchType,
body: RbacAuthorizationV1.Role | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<RbacAuthorizationV1.Role>
patchRoleBinding(
name: string,
type: c.PatchType,
body: RbacAuthorizationV1.RoleBinding | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<RbacAuthorizationV1.RoleBinding>
replaceRole(
name: string,
body: RbacAuthorizationV1.Role,
opts?: operations.PutOpts,
): Promise<RbacAuthorizationV1.Role>
replaceRoleBinding(
name: string,
body: RbacAuthorizationV1.RoleBinding,
opts?: operations.PutOpts,
): Promise<RbacAuthorizationV1.RoleBinding>
watchRoleBindingList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<RbacAuthorizationV1.RoleBinding>>
watchRoleList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<RbacAuthorizationV1.Role>>