Documentation ¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMockClient ¶
func UnsetMockClient ¶
func UnsetMockClient()
Types ¶
type Client ¶
type Client interface {
Action(ctx context.Context, req proto.ActionRequest) (proto.ActionResponse, error)
}
func GetMockClient ¶
func GetMockClient() Client
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) Action ¶
func (m *MockClient) Action(arg0 context.Context, arg1 proto.ActionRequest) (proto.ActionResponse, error)
Action mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Action ¶
func (mr *MockClientMockRecorder) Action(arg0, arg1 interface{}) *gomock.Call
Action indicates an expected call of Action.
Click to show internal directories.
Click to hide internal directories.