mocks

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrafficRoutingReconciler

type TrafficRoutingReconciler struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL