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

x/kubernetes_apis/builtin/rbac.authorization.k8s.io@v1alpha1/mod.ts>RbacAuthorizationV1alpha1NamespacedApi

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

Constructors

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

Methods

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