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

x/kubernetes_apis/builtin/flowcontrol.apiserver.k8s.io@v1beta2/structs.ts>PolicyRulesWithSubjects

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Go to Latest
interface PolicyRulesWithSubjects
import { type PolicyRulesWithSubjects } from "https://deno.land/x/kubernetes_apis@v0.5.0/builtin/flowcontrol.apiserver.k8s.io@v1beta2/structs.ts";

PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.

Properties

optional
nonResourceRules: Array<NonResourcePolicyRule> | null
optional
resourceRules: Array<ResourcePolicyRule> | null
subjects: Array<Subject>