ResourceRule

com.coralogix.zio.k8s.model.authorization.v1.ResourceRule
See theResourceRule companion object
case class ResourceRule(apiGroups: Optional[Vector[String]], resourceNames: Optional[Vector[String]], resources: Optional[Vector[String]], verbs: Vector[String])

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.

Value parameters

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.

resourceNames

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

resources

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

verbs

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

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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.

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.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

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

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

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

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

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

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

This effect always succeeds, it is safe to use the field verbs directly.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product