Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrafficRoutingReconciler ¶
type TrafficRoutingReconciler interface { // UpdateHash informs a traffic routing reconciler about new canary/stable pod hashes UpdateHash(canaryHash, stableHash string) error // SetWeight sets the canary weight to the desired weight SetWeight(desiredWeight int32, additionalDestinations ...v1alpha1.WeightDestination) error // VerifyWeight returns true if the canary is at the desired weight and additonalDestinations are at the weights specified // Returns nil if weight verification is not supported or not applicable VerifyWeight(desiredWeight int32, additionalDestinations ...v1alpha1.WeightDestination) (*bool, error) // Type returns the type of the traffic routing reconciler Type() string }
TrafficRoutingReconciler common function across all TrafficRouting implementation
Click to show internal directories.
Click to hide internal directories.