com.coralogix.zio.k8s.model.flowcontrol.v1beta1
NonResourcePolicyRule
Companion object NonResourcePolicyRule
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.
- Alphabetic
- By Inheritance
- NonResourcePolicyRule
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
-
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.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nonResourceURLs: Vector[String]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val verbs: Vector[String]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated