mocks

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTrenchWatcher

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

MockTrenchWatcher is a mock of TrenchWatcher interface.

func NewMockTrenchWatcher

func NewMockTrenchWatcher(ctrl *gomock.Controller) *MockTrenchWatcher

NewMockTrenchWatcher creates a new mock instance.

func (*MockTrenchWatcher) AddConduit

func (m *MockTrenchWatcher) AddConduit(ctx context.Context, name string) (types.Conduit, error)

AddConduit mocks base method.

func (*MockTrenchWatcher) EXPECT

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

func (*MockTrenchWatcher) RemoveConduit

func (m *MockTrenchWatcher) RemoveConduit(ctx context.Context, name string) error

RemoveConduit mocks base method.

type MockTrenchWatcherMockRecorder

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

MockTrenchWatcherMockRecorder is the mock recorder for MockTrenchWatcher.

func (*MockTrenchWatcherMockRecorder) AddConduit

func (mr *MockTrenchWatcherMockRecorder) AddConduit(ctx, name interface{}) *gomock.Call

AddConduit indicates an expected call of AddConduit.

func (*MockTrenchWatcherMockRecorder) RemoveConduit

func (mr *MockTrenchWatcherMockRecorder) RemoveConduit(ctx, name interface{}) *gomock.Call

RemoveConduit indicates an expected call of RemoveConduit.

Jump to

Keyboard shortcuts

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