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.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FlowSchemaSpec
  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 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

  1. val distinguisherMethod: Optional[FlowDistinguisherMethod]
  2. def getDistinguisherMethod: IO[K8sFailure, FlowDistinguisherMethod]

    Gets distinguisherMethod.

    Gets distinguisherMethod.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  3. 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.

  4. def getPriorityLevelConfiguration: IO[K8sFailure, PriorityLevelConfigurationReference]

    Gets priorityLevelConfiguration.

    Gets priorityLevelConfiguration.

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

  5. 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.

  6. val matchingPrecedence: Optional[Int]
  7. val priorityLevelConfiguration: PriorityLevelConfigurationReference
  8. val rules: Optional[Vector[PolicyRulesWithSubjects]]