bahamut: go.aporeto.io/bahamut/mocks Index | Files

package mocks

import "go.aporeto.io/bahamut/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

pubsub_nats_client.go

type MockNATSClient Uses

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

MockNATSClient is a mock of NATSClient interface

func NewMockNATSClient Uses

func NewMockNATSClient(ctrl *gomock.Controller) *MockNATSClient

NewMockNATSClient creates a new mock instance

func (*MockNATSClient) Close Uses

func (m *MockNATSClient) Close()

Close mocks base method

func (*MockNATSClient) EXPECT Uses

func (m *MockNATSClient) EXPECT() *MockNATSClientMockRecorder

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

func (*MockNATSClient) Flush Uses

func (m *MockNATSClient) Flush() error

Flush mocks base method

func (*MockNATSClient) IsConnected Uses

func (m *MockNATSClient) IsConnected() bool

IsConnected mocks base method

func (*MockNATSClient) IsReconnecting Uses

func (m *MockNATSClient) IsReconnecting() bool

IsReconnecting mocks base method

func (*MockNATSClient) Publish Uses

func (m *MockNATSClient) Publish(arg0 string, arg1 []byte) error

Publish mocks base method

func (*MockNATSClient) QueueSubscribe Uses

func (m *MockNATSClient) QueueSubscribe(arg0, arg1 string, arg2 go_nats.MsgHandler) (*go_nats.Subscription, error)

QueueSubscribe mocks base method

func (*MockNATSClient) RequestWithContext Uses

func (m *MockNATSClient) RequestWithContext(arg0 context.Context, arg1 string, arg2 []byte) (*go_nats.Msg, error)

RequestWithContext mocks base method

func (*MockNATSClient) Subscribe Uses

func (m *MockNATSClient) Subscribe(arg0 string, arg1 go_nats.MsgHandler) (*go_nats.Subscription, error)

Subscribe mocks base method

type MockNATSClientMockRecorder Uses

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

MockNATSClientMockRecorder is the mock recorder for MockNATSClient

func (*MockNATSClientMockRecorder) Close Uses

func (mr *MockNATSClientMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockNATSClientMockRecorder) Flush Uses

func (mr *MockNATSClientMockRecorder) Flush() *gomock.Call

Flush indicates an expected call of Flush

func (*MockNATSClientMockRecorder) IsConnected Uses

func (mr *MockNATSClientMockRecorder) IsConnected() *gomock.Call

IsConnected indicates an expected call of IsConnected

func (*MockNATSClientMockRecorder) IsReconnecting Uses

func (mr *MockNATSClientMockRecorder) IsReconnecting() *gomock.Call

IsReconnecting indicates an expected call of IsReconnecting

func (*MockNATSClientMockRecorder) Publish Uses

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

Publish indicates an expected call of Publish

func (*MockNATSClientMockRecorder) QueueSubscribe Uses

func (mr *MockNATSClientMockRecorder) QueueSubscribe(arg0, arg1, arg2 interface{}) *gomock.Call

QueueSubscribe indicates an expected call of QueueSubscribe

func (*MockNATSClientMockRecorder) RequestWithContext Uses

func (mr *MockNATSClientMockRecorder) RequestWithContext(arg0, arg1, arg2 interface{}) *gomock.Call

RequestWithContext indicates an expected call of RequestWithContext

func (*MockNATSClientMockRecorder) Subscribe Uses

func (mr *MockNATSClientMockRecorder) Subscribe(arg0, arg1 interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe

Package mocks imports 4 packages (graph). Updated 2019-05-27. Refresh now. Tools for package owners.