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
- val distinguisherMethod: Optional[FlowDistinguisherMethod]
-
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.
- val matchingPrecedence: Optional[Int]
- val priorityLevelConfiguration: PriorityLevelConfigurationReference
- val rules: Optional[Vector[PolicyRulesWithSubjects]]