case class ResourceRule(apiGroups: Optional[Vector[String]] = Optional.Absent, resourceNames: Optional[Vector[String]] = Optional.Absent, resources: Optional[Vector[String]] = Optional.Absent, verbs: Vector[String]) extends Product with Serializable

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.

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.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResourceRule
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResourceRule(apiGroups: Optional[Vector[String]] = Optional.Absent, resourceNames: Optional[Vector[String]] = Optional.Absent, resources: Optional[Vector[String]] = Optional.Absent, verbs: Vector[String])

    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.

Value Members

  1. val apiGroups: Optional[Vector[String]]
  2. def getApiGroups: IO[K8sFailure, Vector[String]]

    APIGroups is the name of the APIGroup that contains the resources.

    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.

  3. def getResourceNames: IO[K8sFailure, Vector[String]]

    ResourceNames is an optional white list of names that the rule applies to.

    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.

  4. def getResources: IO[K8sFailure, Vector[String]]

    Resources is a list of resources this rule applies to.

    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.

  5. def getVerbs: IO[K8sFailure, Vector[String]]

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

    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.

  6. val resourceNames: Optional[Vector[String]]
  7. val resources: Optional[Vector[String]]
  8. val verbs: Vector[String]