mock_cluster

package
v0.0.0-...-055f8da Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_cluster is a generated GoMock package.

Package mock_cluster is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClock

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

MockClock is a mock of Clock interface.

func NewMockClock

func NewMockClock(ctrl *gomock.Controller) *MockClock

NewMockClock creates a new mock instance.

func (*MockClock) Context

func (m *MockClock) Context() context.Context

Context mocks base method.

func (*MockClock) EXPECT

func (m *MockClock) EXPECT() *MockClockMockRecorder

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

func (*MockClock) Stop

func (m *MockClock) Stop()

Stop mocks base method.

func (*MockClock) Tick

func (m *MockClock) Tick() <-chan time.Time

Tick mocks base method.

type MockClockMockRecorder

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

MockClockMockRecorder is the mock recorder for MockClock.

func (*MockClockMockRecorder) Context

func (mr *MockClockMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context.

func (*MockClockMockRecorder) Stop

func (mr *MockClockMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

func (*MockClockMockRecorder) Tick

func (mr *MockClockMockRecorder) Tick() *gomock.Call

Tick indicates an expected call of Tick.

type MockRoutingTable

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

MockRoutingTable is a mock of RoutingTable interface.

func NewMockRoutingTable

func NewMockRoutingTable(ctrl *gomock.Controller) *MockRoutingTable

NewMockRoutingTable creates a new mock instance.

func (*MockRoutingTable) Advance

func (m *MockRoutingTable) Advance(arg0 time.Time)

Advance mocks base method.

func (*MockRoutingTable) EXPECT

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

func (*MockRoutingTable) Snapshot

func (m *MockRoutingTable) Snapshot() routing.Snapshot

Snapshot mocks base method.

func (*MockRoutingTable) Upsert

func (m *MockRoutingTable) Upsert(arg0 routing.Record) bool

Upsert mocks base method.

type MockRoutingTableMockRecorder

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

MockRoutingTableMockRecorder is the mock recorder for MockRoutingTable.

func (*MockRoutingTableMockRecorder) Advance

func (mr *MockRoutingTableMockRecorder) Advance(arg0 interface{}) *gomock.Call

Advance indicates an expected call of Advance.

func (*MockRoutingTableMockRecorder) Snapshot

func (mr *MockRoutingTableMockRecorder) Snapshot() *gomock.Call

Snapshot indicates an expected call of Snapshot.

func (*MockRoutingTableMockRecorder) Upsert

func (mr *MockRoutingTableMockRecorder) Upsert(arg0 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

type MockTopic

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

MockTopic is a mock of Topic interface.

func NewMockTopic

func NewMockTopic(ctrl *gomock.Controller) *MockTopic

NewMockTopic creates a new mock instance.

func (*MockTopic) EXPECT

func (m *MockTopic) EXPECT() *MockTopicMockRecorder

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

func (*MockTopic) Publish

func (m *MockTopic) Publish(arg0 context.Context, arg1 []byte, arg2 ...pubsub.PubOpt) error

Publish mocks base method.

func (*MockTopic) Relay

func (m *MockTopic) Relay() (pubsub.RelayCancelFunc, error)

Relay mocks base method.

func (*MockTopic) String

func (m *MockTopic) String() string

String mocks base method.

type MockTopicMockRecorder

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

MockTopicMockRecorder is the mock recorder for MockTopic.

func (*MockTopicMockRecorder) Publish

func (mr *MockTopicMockRecorder) Publish(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Publish indicates an expected call of Publish.

func (*MockTopicMockRecorder) Relay

func (mr *MockTopicMockRecorder) Relay() *gomock.Call

Relay indicates an expected call of Relay.

func (*MockTopicMockRecorder) String

func (mr *MockTopicMockRecorder) String() *gomock.Call

String indicates an expected call of String.

Jump to

Keyboard shortcuts

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