mocks

package
v1.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 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 (*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