import { type PolicyRulesWithSubjects } from "https://deno.land/x/kubernetes_apis@v0.5.3/builtin/flowcontrol.apiserver.k8s.io@v1/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> | nulloptional
resourceRules: Array<ResourcePolicyRule> | nullsubjects: Array<Subject>