mocks

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClientConn

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

MockClientConn is a mock of ClientConn interface.

func NewMockClientConn

func NewMockClientConn(ctrl *gomock.Controller) *MockClientConn

NewMockClientConn creates a new mock instance.

func (*MockClientConn) EXPECT

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

func (*MockClientConn) NewSubConn

NewSubConn mocks base method.

func (*MockClientConn) RemoveSubConn

func (m *MockClientConn) RemoveSubConn(arg0 balancer.SubConn)

RemoveSubConn mocks base method.

func (*MockClientConn) ResolveNow

func (m *MockClientConn) ResolveNow(arg0 resolver.ResolveNowOptions)

ResolveNow mocks base method.

func (*MockClientConn) Target

func (m *MockClientConn) Target() string

Target mocks base method.

func (*MockClientConn) UpdateAddresses

func (m *MockClientConn) UpdateAddresses(arg0 balancer.SubConn, arg1 []resolver.Address)

UpdateAddresses mocks base method.

func (*MockClientConn) UpdateState

func (m *MockClientConn) UpdateState(arg0 balancer.State)

UpdateState mocks base method.

type MockClientConnMockRecorder

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

MockClientConnMockRecorder is the mock recorder for MockClientConn.

func (*MockClientConnMockRecorder) NewSubConn

func (mr *MockClientConnMockRecorder) NewSubConn(arg0, arg1 interface{}) *gomock.Call

NewSubConn indicates an expected call of NewSubConn.

func (*MockClientConnMockRecorder) RemoveSubConn

func (mr *MockClientConnMockRecorder) RemoveSubConn(arg0 interface{}) *gomock.Call

RemoveSubConn indicates an expected call of RemoveSubConn.

func (*MockClientConnMockRecorder) ResolveNow

func (mr *MockClientConnMockRecorder) ResolveNow(arg0 interface{}) *gomock.Call

ResolveNow indicates an expected call of ResolveNow.

func (*MockClientConnMockRecorder) Target

func (mr *MockClientConnMockRecorder) Target() *gomock.Call

Target indicates an expected call of Target.

func (*MockClientConnMockRecorder) UpdateAddresses

func (mr *MockClientConnMockRecorder) UpdateAddresses(arg0, arg1 interface{}) *gomock.Call

UpdateAddresses indicates an expected call of UpdateAddresses.

func (*MockClientConnMockRecorder) UpdateState

func (mr *MockClientConnMockRecorder) UpdateState(arg0 interface{}) *gomock.Call

UpdateState indicates an expected call of UpdateState.

type MockClientStream

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

MockClientStream is a mock of ClientStream interface.

func NewMockClientStream

func NewMockClientStream(ctrl *gomock.Controller) *MockClientStream

NewMockClientStream creates a new mock instance.

func (*MockClientStream) CloseSend

func (m *MockClientStream) CloseSend() error

CloseSend mocks base method.

func (*MockClientStream) Context

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

Context mocks base method.

func (*MockClientStream) EXPECT

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

func (*MockClientStream) Header

func (m *MockClientStream) Header() (metadata.MD, error)

Header mocks base method.

func (*MockClientStream) RecvMsg

func (m *MockClientStream) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method.

func (*MockClientStream) SendMsg

func (m *MockClientStream) SendMsg(arg0 interface{}) error

SendMsg mocks base method.

func (*MockClientStream) Trailer

func (m *MockClientStream) Trailer() metadata.MD

Trailer mocks base method.

type MockClientStreamMockRecorder

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

MockClientStreamMockRecorder is the mock recorder for MockClientStream.

func (*MockClientStreamMockRecorder) CloseSend

func (mr *MockClientStreamMockRecorder) CloseSend() *gomock.Call

CloseSend indicates an expected call of CloseSend.

func (*MockClientStreamMockRecorder) Context

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

Context indicates an expected call of Context.

func (*MockClientStreamMockRecorder) Header

Header indicates an expected call of Header.

func (*MockClientStreamMockRecorder) RecvMsg

func (mr *MockClientStreamMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockClientStreamMockRecorder) SendMsg

func (mr *MockClientStreamMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockClientStreamMockRecorder) Trailer

func (mr *MockClientStreamMockRecorder) Trailer() *gomock.Call

Trailer indicates an expected call of Trailer.

type MockSubConn

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

MockSubConn is a mock of SubConn interface.

func NewMockSubConn

func NewMockSubConn(ctrl *gomock.Controller) *MockSubConn

NewMockSubConn creates a new mock instance.

func (*MockSubConn) Connect

func (m *MockSubConn) Connect()

Connect mocks base method.

func (*MockSubConn) EXPECT

func (m *MockSubConn) EXPECT() *MockSubConnMockRecorder

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

func (*MockSubConn) GetOrBuildProducer added in v1.4.0

func (m *MockSubConn) GetOrBuildProducer(arg0 balancer.ProducerBuilder) (balancer.Producer, func())

GetOrBuildProducer mocks base method.

func (*MockSubConn) UpdateAddresses

func (m *MockSubConn) UpdateAddresses(arg0 []resolver.Address)

UpdateAddresses mocks base method.

type MockSubConnMockRecorder

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

MockSubConnMockRecorder is the mock recorder for MockSubConn.

func (*MockSubConnMockRecorder) Connect

func (mr *MockSubConnMockRecorder) Connect() *gomock.Call

Connect indicates an expected call of Connect.

func (*MockSubConnMockRecorder) GetOrBuildProducer added in v1.4.0

func (mr *MockSubConnMockRecorder) GetOrBuildProducer(arg0 interface{}) *gomock.Call

GetOrBuildProducer indicates an expected call of GetOrBuildProducer.

func (*MockSubConnMockRecorder) UpdateAddresses

func (mr *MockSubConnMockRecorder) UpdateAddresses(arg0 interface{}) *gomock.Call

UpdateAddresses indicates an expected call of UpdateAddresses.

Jump to

Keyboard shortcuts

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