mocks

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 types.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) GetIPs

func (m *MockConduit) GetIPs() []string

GetIPs mocks base method.

func (*MockConduit) GetName

func (m *MockConduit) GetName() string

GetName mocks base method.

func (*MockConduit) GetStatus

func (m *MockConduit) GetStatus() types.ConduitStatus

GetStatus mocks base method.

func (*MockConduit) GetStreams

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

GetStreams mocks base method.

func (*MockConduit) GetTrench

func (m *MockConduit) GetTrench() types.Trench

GetTrench mocks base method.

func (*MockConduit) RemoveStream

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

RemoveStream mocks base method.

func (*MockConduit) SetVIPs

func (m *MockConduit) SetVIPs(vips []string) error

SetVIPs 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) GetIPs

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

GetIPs indicates an expected call of GetIPs.

func (*MockConduitMockRecorder) GetName

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

GetName indicates an expected call of GetName.

func (*MockConduitMockRecorder) GetStatus

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

GetStatus indicates an expected call of GetStatus.

func (*MockConduitMockRecorder) GetStreams

func (mr *MockConduitMockRecorder) GetStreams(stream interface{}) *gomock.Call

GetStreams indicates an expected call of GetStreams.

func (*MockConduitMockRecorder) GetTrench

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

GetTrench indicates an expected call of GetTrench.

func (*MockConduitMockRecorder) RemoveStream

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

RemoveStream indicates an expected call of RemoveStream.

func (*MockConduitMockRecorder) SetVIPs

func (mr *MockConduitMockRecorder) SetVIPs(vips interface{}) *gomock.Call

SetVIPs indicates an expected call of SetVIPs.

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

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

GetConduits mocks base method.

func (*MockTrench) GetName

func (m *MockTrench) GetName() string

GetName mocks base method.

func (*MockTrench) GetNamespace

func (m *MockTrench) GetNamespace() string

GetNamespace mocks base method.

func (*MockTrench) GetTargetRegistryClient

func (m *MockTrench) GetTargetRegistryClient() v1.TargetRegistryClient

GetTargetRegistryClient mocks base method.

func (*MockTrench) RemoveConduit

func (m *MockTrench) RemoveConduit(arg0 context.Context, arg1 types.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) GetConduits

func (mr *MockTrenchMockRecorder) GetConduits(conduit interface{}) *gomock.Call

GetConduits indicates an expected call of GetConduits.

func (*MockTrenchMockRecorder) GetName

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

GetName indicates an expected call of GetName.

func (*MockTrenchMockRecorder) GetNamespace

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

GetNamespace indicates an expected call of GetNamespace.

func (*MockTrenchMockRecorder) GetTargetRegistryClient

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

GetTargetRegistryClient indicates an expected call of GetTargetRegistryClient.

func (*MockTrenchMockRecorder) RemoveConduit

func (mr *MockTrenchMockRecorder) RemoveConduit(arg0, arg1 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