case class NonResourcePolicyRule(nonResourceURLs: Vector[String], verbs: Vector[String]) extends Product with Serializable

NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.

nonResourceURLs

nonResourceURLs is a set of url prefixes that a user should have access to and may not be empty. For example: \- "/healthz" is legal \- "/hea*" is illegal \- "/hea" is legal but matches nothing \- "/hea/*" also matches nothing \- "/healthz/*" matches all per-component health checks. "*" matches all non-resource urls. if it is present, it must be the only entry. Required.

verbs

verbs is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonResourcePolicyRule
  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 NonResourcePolicyRule(nonResourceURLs: Vector[String], verbs: Vector[String])

    nonResourceURLs

    nonResourceURLs is a set of url prefixes that a user should have access to and may not be empty. For example: \- "/healthz" is legal \- "/hea*" is illegal \- "/hea" is legal but matches nothing \- "/hea/*" also matches nothing \- "/healthz/*" matches all per-component health checks. "*" matches all non-resource urls. if it is present, it must be the only entry. Required.

    verbs

    verbs is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required.

Value Members

  1. def getNonResourceURLs: IO[K8sFailure, Vector[String]]

    nonResourceURLs is a set of url prefixes that a user should have access to and may not be empty.

    nonResourceURLs is a set of url prefixes that a user should have access to and may not be empty. For example: \- "/healthz" is legal \- "/hea*" is illegal \- "/hea" is legal but matches nothing \- "/hea/*" also matches nothing \- "/healthz/*" matches all per-component health checks. "*" matches all non-resource urls. if it is present, it must be the only entry. Required.

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

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

    verbs is a list of matching verbs and may not be empty.

    verbs is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required.

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

  3. val nonResourceURLs: Vector[String]
  4. val verbs: Vector[String]