case class FlowSchemaSpec(distinguisherMethod: Optional[FlowDistinguisherMethod] = Optional.Absent, matchingPrecedence: Optional[Int] = Optional.Absent, priorityLevelConfiguration: PriorityLevelConfigurationReference, rules: Optional[Vector[PolicyRulesWithSubjects]] = Optional.Absent) extends Product with Serializable
FlowSchemaSpec describes how the FlowSchema's specification looks like.
- matchingPrecedence
matchingPrecedence
is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.- rules
rules
describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.
- Alphabetic
- By Inheritance
- FlowSchemaSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
FlowSchemaSpec(distinguisherMethod: Optional[FlowDistinguisherMethod] = Optional.Absent, matchingPrecedence: Optional[Int] = Optional.Absent, priorityLevelConfiguration: PriorityLevelConfigurationReference, rules: Optional[Vector[PolicyRulesWithSubjects]] = Optional.Absent)
- matchingPrecedence
matchingPrecedence
is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.- rules
rules
describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.
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()
- val distinguisherMethod: Optional[FlowDistinguisherMethod]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getDistinguisherMethod: IO[K8sFailure, FlowDistinguisherMethod]
Gets distinguisherMethod.
Gets distinguisherMethod.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getMatchingPrecedence: IO[K8sFailure, Int]
matchingPrecedence
is used to choose among the FlowSchemas that match a given request.matchingPrecedence
is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getPriorityLevelConfiguration: IO[K8sFailure, PriorityLevelConfigurationReference]
Gets priorityLevelConfiguration.
Gets priorityLevelConfiguration.
This effect always succeeds, it is safe to use the field priorityLevelConfiguration directly.
-
def
getRules: IO[K8sFailure, Vector[PolicyRulesWithSubjects]]
rules
describes which requests will match this flow schema.rules
describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val matchingPrecedence: Optional[Int]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val priorityLevelConfiguration: PriorityLevelConfigurationReference
- val rules: Optional[Vector[PolicyRulesWithSubjects]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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