mocks

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockConduit

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

MockConduit is a mock of Conduit interface.

func NewMockConduit

func NewMockConduit(ctrl *gomock.Controller) *MockConduit

NewMockConduit creates a new mock instance.

func (*MockConduit) AddStream

func (m *MockConduit) AddStream(arg0 context.Context, arg1 *v1.Stream) error

AddStream mocks base method.

func (*MockConduit) Connect

func (m *MockConduit) Connect(ctx context.Context) error

Connect mocks base method.

func (*MockConduit) Disconnect

func (m *MockConduit) Disconnect(ctx context.Context) error

Disconnect mocks base method.

func (*MockConduit) EXPECT

func (m *MockConduit) EXPECT() *MockConduitMockRecorder

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

func (*MockConduit) Equals

func (m *MockConduit) Equals(arg0 *v1.Conduit) bool

Equals mocks base method.

func (*MockConduit) GetConduit

func (m *MockConduit) GetConduit() *v1.Conduit

GetConduit mocks base method.

func (*MockConduit) GetStreams

func (m *MockConduit) GetStreams() []*v1.Stream

GetStreams mocks base method.

func (*MockConduit) RemoveStream

func (m *MockConduit) RemoveStream(arg0 context.Context, arg1 *v1.Stream) error

RemoveStream mocks base method.

type MockConduitMockRecorder

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

MockConduitMockRecorder is the mock recorder for MockConduit.

func (*MockConduitMockRecorder) AddStream

func (mr *MockConduitMockRecorder) AddStream(arg0, arg1 interface{}) *gomock.Call

AddStream indicates an expected call of AddStream.

func (*MockConduitMockRecorder) Connect

func (mr *MockConduitMockRecorder) Connect(ctx interface{}) *gomock.Call

Connect indicates an expected call of Connect.

func (*MockConduitMockRecorder) Disconnect

func (mr *MockConduitMockRecorder) Disconnect(ctx interface{}) *gomock.Call

Disconnect indicates an expected call of Disconnect.

func (*MockConduitMockRecorder) Equals

func (mr *MockConduitMockRecorder) Equals(arg0 interface{}) *gomock.Call

Equals indicates an expected call of Equals.

func (*MockConduitMockRecorder) GetConduit

func (mr *MockConduitMockRecorder) GetConduit() *gomock.Call

GetConduit indicates an expected call of GetConduit.

func (*MockConduitMockRecorder) GetStreams

func (mr *MockConduitMockRecorder) GetStreams() *gomock.Call

GetStreams indicates an expected call of GetStreams.

func (*MockConduitMockRecorder) RemoveStream

func (mr *MockConduitMockRecorder) RemoveStream(arg0, arg1 interface{}) *gomock.Call

RemoveStream indicates an expected call of RemoveStream.

type MockRegistry

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

MockRegistry is a mock of Registry interface.

func NewMockRegistry

func NewMockRegistry(ctrl *gomock.Controller) *MockRegistry

NewMockRegistry creates a new mock instance.

func (*MockRegistry) EXPECT

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

func (*MockRegistry) Remove

func (m *MockRegistry) Remove(arg0 *v1.Stream)

Remove mocks base method.

func (*MockRegistry) SetStatus

func (m *MockRegistry) SetStatus(arg0 *v1.Stream, arg1 v1.StreamStatus_Status)

SetStatus mocks base method.

func (*MockRegistry) Watch

func (m *MockRegistry) Watch(arg0 context.Context, arg1 *v1.Stream) (types.Watcher, error)

Watch mocks base method.

type MockRegistryMockRecorder

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

MockRegistryMockRecorder is the mock recorder for MockRegistry.

func (*MockRegistryMockRecorder) Remove

func (mr *MockRegistryMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockRegistryMockRecorder) SetStatus

func (mr *MockRegistryMockRecorder) SetStatus(arg0, arg1 interface{}) *gomock.Call

SetStatus indicates an expected call of SetStatus.

func (*MockRegistryMockRecorder) Watch

func (mr *MockRegistryMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call

Watch indicates an expected call of Watch.

type MockStream

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

MockStream is a mock of Stream interface.

func NewMockStream

func NewMockStream(ctrl *gomock.Controller) *MockStream

NewMockStream creates a new mock instance.

func (*MockStream) Close

func (m *MockStream) Close(ctx context.Context) error

Close mocks base method.

func (*MockStream) EXPECT

func (m *MockStream) EXPECT() *MockStreamMockRecorder

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

func (*MockStream) Equals

func (m *MockStream) Equals(arg0 *v1.Stream) bool

Equals mocks base method.

func (*MockStream) GetStream

func (m *MockStream) GetStream() *v1.Stream

GetStream mocks base method.

func (*MockStream) Open

func (m *MockStream) Open(ctx context.Context, nspStream *v10.Stream) error

Open mocks base method.

type MockStreamMockRecorder

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

MockStreamMockRecorder is the mock recorder for MockStream.

func (*MockStreamMockRecorder) Close

func (mr *MockStreamMockRecorder) Close(ctx interface{}) *gomock.Call

Close indicates an expected call of Close.

func (*MockStreamMockRecorder) Equals

func (mr *MockStreamMockRecorder) Equals(arg0 interface{}) *gomock.Call

Equals indicates an expected call of Equals.

func (*MockStreamMockRecorder) GetStream

func (mr *MockStreamMockRecorder) GetStream() *gomock.Call

GetStream indicates an expected call of GetStream.

func (*MockStreamMockRecorder) Open

func (mr *MockStreamMockRecorder) Open(ctx, nspStream interface{}) *gomock.Call

Open indicates an expected call of Open.

type MockTrench

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

MockTrench is a mock of Trench interface.

func NewMockTrench

func NewMockTrench(ctrl *gomock.Controller) *MockTrench

NewMockTrench creates a new mock instance.

func (*MockTrench) AddConduit

func (m *MockTrench) AddConduit(arg0 context.Context, arg1 *v1.Conduit) (types.Conduit, error)

AddConduit mocks base method.

func (*MockTrench) Delete

func (m *MockTrench) Delete(ctx context.Context) error

Delete mocks base method.

func (*MockTrench) EXPECT

func (m *MockTrench) EXPECT() *MockTrenchMockRecorder

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

func (*MockTrench) Equals

func (m *MockTrench) Equals(arg0 *v1.Trench) bool

Equals mocks base method.

func (*MockTrench) GetConduit

func (m *MockTrench) GetConduit(arg0 *v1.Conduit) types.Conduit

GetConduit mocks base method.

func (*MockTrench) GetConduits

func (m *MockTrench) GetConduits() []types.Conduit

GetConduits mocks base method.

func (*MockTrench) GetTrench

func (m *MockTrench) GetTrench() *v1.Trench

GetTrench mocks base method.

func (*MockTrench) RemoveConduit

func (m *MockTrench) RemoveConduit(arg0 context.Context, arg1 *v1.Conduit) error

RemoveConduit mocks base method.

type MockTrenchMockRecorder

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

MockTrenchMockRecorder is the mock recorder for MockTrench.

func (*MockTrenchMockRecorder) AddConduit

func (mr *MockTrenchMockRecorder) AddConduit(arg0, arg1 interface{}) *gomock.Call

AddConduit indicates an expected call of AddConduit.

func (*MockTrenchMockRecorder) Delete

func (mr *MockTrenchMockRecorder) Delete(ctx interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockTrenchMockRecorder) Equals

func (mr *MockTrenchMockRecorder) Equals(arg0 interface{}) *gomock.Call

Equals indicates an expected call of Equals.

func (*MockTrenchMockRecorder) GetConduit

func (mr *MockTrenchMockRecorder) GetConduit(arg0 interface{}) *gomock.Call

GetConduit indicates an expected call of GetConduit.

func (*MockTrenchMockRecorder) GetConduits

func (mr *MockTrenchMockRecorder) GetConduits() *gomock.Call

GetConduits indicates an expected call of GetConduits.

func (*MockTrenchMockRecorder) GetTrench

func (mr *MockTrenchMockRecorder) GetTrench() *gomock.Call

GetTrench indicates an expected call of GetTrench.

func (*MockTrenchMockRecorder) RemoveConduit

func (mr *MockTrenchMockRecorder) RemoveConduit(arg0, arg1 interface{}) *gomock.Call

RemoveConduit indicates an expected call of RemoveConduit.

type MockWatcher

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

MockWatcher is a mock of Watcher interface.

func NewMockWatcher

func NewMockWatcher(ctrl *gomock.Controller) *MockWatcher

NewMockWatcher creates a new mock instance.

func (*MockWatcher) EXPECT

func (m *MockWatcher) EXPECT() *MockWatcherMockRecorder

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

func (*MockWatcher) ResultChan

func (m *MockWatcher) ResultChan() <-chan []*v1.StreamStatus

ResultChan mocks base method.

func (*MockWatcher) Stop

func (m *MockWatcher) Stop()

Stop mocks base method.

type MockWatcherMockRecorder

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

MockWatcherMockRecorder is the mock recorder for MockWatcher.

func (*MockWatcherMockRecorder) ResultChan

func (mr *MockWatcherMockRecorder) ResultChan() *gomock.Call

ResultChan indicates an expected call of ResultChan.

func (*MockWatcherMockRecorder) Stop

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

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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