Documentation ¶
Index ¶
- type TrafficRoutingReconciler
- func (_m *TrafficRoutingReconciler) RemoveManagedRoutes() error
- func (_m *TrafficRoutingReconciler) SetHeaderRoute(setHeaderRoute *v1alpha1.SetHeaderRoute) error
- func (_m *TrafficRoutingReconciler) SetMirrorRoute(setMirrorRoute *v1alpha1.SetMirrorRoute) error
- func (_m *TrafficRoutingReconciler) SetWeight(desiredWeight int32, additionalDestinations ...v1alpha1.WeightDestination) error
- func (_m *TrafficRoutingReconciler) Type() string
- func (_m *TrafficRoutingReconciler) UpdateHash(canaryHash string, stableHash string, ...) error
- func (_m *TrafficRoutingReconciler) VerifyWeight(desiredWeight int32, additionalDestinations ...v1alpha1.WeightDestination) (*bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrafficRoutingReconciler ¶
TrafficRoutingReconciler is an autogenerated mock type for the TrafficRoutingReconciler type
func NewTrafficRoutingReconciler ¶ added in v1.3.0
func NewTrafficRoutingReconciler(t mockConstructorTestingTNewTrafficRoutingReconciler) *TrafficRoutingReconciler
NewTrafficRoutingReconciler creates a new instance of TrafficRoutingReconciler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TrafficRoutingReconciler) RemoveManagedRoutes ¶ added in v1.3.0
func (_m *TrafficRoutingReconciler) RemoveManagedRoutes() error
RemoveManagedRoutes provides a mock function with given fields:
func (*TrafficRoutingReconciler) SetHeaderRoute ¶ added in v1.3.0
func (_m *TrafficRoutingReconciler) SetHeaderRoute(setHeaderRoute *v1alpha1.SetHeaderRoute) error
SetHeaderRoute provides a mock function with given fields: setHeaderRoute
func (*TrafficRoutingReconciler) SetMirrorRoute ¶ added in v1.3.0
func (_m *TrafficRoutingReconciler) SetMirrorRoute(setMirrorRoute *v1alpha1.SetMirrorRoute) error
SetMirrorRoute provides a mock function with given fields: setMirrorRoute
func (*TrafficRoutingReconciler) SetWeight ¶
func (_m *TrafficRoutingReconciler) SetWeight(desiredWeight int32, additionalDestinations ...v1alpha1.WeightDestination) error
SetWeight provides a mock function with given fields: desiredWeight, additionalDestinations
func (*TrafficRoutingReconciler) Type ¶
func (_m *TrafficRoutingReconciler) Type() string
Type provides a mock function with given fields:
func (*TrafficRoutingReconciler) UpdateHash ¶
func (_m *TrafficRoutingReconciler) UpdateHash(canaryHash string, stableHash string, additionalDestinations ...v1alpha1.WeightDestination) error
UpdateHash provides a mock function with given fields: canaryHash, stableHash, additionalDestinations
func (*TrafficRoutingReconciler) VerifyWeight ¶
func (_m *TrafficRoutingReconciler) VerifyWeight(desiredWeight int32, additionalDestinations ...v1alpha1.WeightDestination) (*bool, error)
VerifyWeight provides a mock function with given fields: desiredWeight, additionalDestinations