mocks

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: Apache-2.0 Imports: 1 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) error

SetWeight provides a mock function with given fields: desiredWeight

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) error

UpdateHash provides a mock function with given fields: canaryHash, stableHash

func (*TrafficRoutingReconciler) VerifyWeight

func (_m *TrafficRoutingReconciler) VerifyWeight(desiredWeight int32) (bool, error)

VerifyWeight provides a mock function with given fields: desiredWeight

Jump to

Keyboard shortcuts

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