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

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

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

Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22.

Properties

optional
apiVersion: "rbac.authorization.k8s.io/v1alpha1"
optional
kind: "Role"
optional
metadata: MetaV1.ObjectMeta | null
optional
rules: Array<PolicyRule> | null