mock

package
v0.0.0-...-cdda5c5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLBUpdater

type MockLBUpdater struct {
	// contains filtered or unexported fields
}

MockLBUpdater is a mock of LBUpdater interface.

func NewMockLBUpdater

func NewMockLBUpdater(ctrl *gomock.Controller) *MockLBUpdater

NewMockLBUpdater creates a new mock instance.

func (*MockLBUpdater) DeleteStream

func (m *MockLBUpdater) DeleteStream(backendName string) error

DeleteStream mocks base method.

func (*MockLBUpdater) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLBUpdater) UpdateStream

func (m *MockLBUpdater) UpdateStream(backendName string, port int, protocol string, servers []services.Server, proxyTimeoutSeconds, proxyConnectTimeoutSeconds int) error

UpdateStream mocks base method.

type MockLBUpdaterMockRecorder

type MockLBUpdaterMockRecorder struct {
	// contains filtered or unexported fields
}

MockLBUpdaterMockRecorder is the mock recorder for MockLBUpdater.

func (*MockLBUpdaterMockRecorder) DeleteStream

func (mr *MockLBUpdaterMockRecorder) DeleteStream(backendName interface{}) *gomock.Call

DeleteStream indicates an expected call of DeleteStream.

func (*MockLBUpdaterMockRecorder) UpdateStream

func (mr *MockLBUpdaterMockRecorder) UpdateStream(backendName, port, protocol, servers, proxyTimeoutSeconds, proxyConnectTimeoutSeconds interface{}) *gomock.Call

UpdateStream indicates an expected call of UpdateStream.

Jump to

Keyboard shortcuts

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