Skip to content

authorization.v1.resourceRule

"ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."

Index

Fields

fn withApiGroups

withApiGroups(apiGroups)

"APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all."

fn withApiGroupsMixin

withApiGroupsMixin(apiGroups)

"APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all."

Note: This function appends passed data to existing values

fn withResourceNames

withResourceNames(resourceNames)

"ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all."

fn withResourceNamesMixin

withResourceNamesMixin(resourceNames)

"ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all."

Note: This function appends passed data to existing values

fn withResources

withResources(resources)

"Resources is a list of resources this rule applies to. \"\" means all in the specified apiGroups.\n \"/foo\" represents the subresource 'foo' for all resources in the specified apiGroups."

fn withResourcesMixin

withResourcesMixin(resources)

"Resources is a list of resources this rule applies to. \"\" means all in the specified apiGroups.\n \"/foo\" represents the subresource 'foo' for all resources in the specified apiGroups."

Note: This function appends passed data to existing values

fn withVerbs

withVerbs(verbs)

"Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all."

fn withVerbsMixin

withVerbsMixin(verbs)

"Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all."

Note: This function appends passed data to existing values