Package io.quarkus.kubernetes.deployment
Class TrafficConfig
- java.lang.Object
-
- io.quarkus.kubernetes.deployment.TrafficConfig
-
public class TrafficConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Optional<Boolean>latestRevisionLatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target.(package private) Optional<Long>percentPercent indicates that percentage based routing should be used and the value indicates the percent of traffic that is be routed to this Revision or Configuration.(package private) Optional<String>revisionNameRevisionName of a specific revision to which to send this portion of traffic.(package private) Optional<String>tagTag is optionally used to expose a dedicated url for referencing this target exclusively.
-
Constructor Summary
Constructors Constructor Description TrafficConfig()
-
-
-
Field Detail
-
tag
@ConfigItem Optional<String> tag
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
-
revisionName
@ConfigItem Optional<String> revisionName
RevisionName of a specific revision to which to send this portion of traffic.
-
latestRevision
@ConfigItem(defaultValue="false") Optional<Boolean> latestRevision
LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty.
-
-