Documentation ¶
Overview ¶
Package mock_status is a generated GoMock package.
Package mock_status is a generated GoMock package.
Index ¶
- type MockMaintainerClient
- func (m *MockMaintainerClient) ChangeStatus(arg0 context.Context, arg1 *status.StatusRequest, arg2 ...grpc.CallOption) (*status.StatusReply, error)
- func (m *MockMaintainerClient) EXPECT() *MockMaintainerClientMockRecorder
- func (m *MockMaintainerClient) Invalid(arg0 context.Context, arg1 ...grpc.CallOption) (status.Maintainer_InvalidClient, error)
- func (m *MockMaintainerClient) Query(arg0 context.Context, arg1 *status.QueryRequest, arg2 ...grpc.CallOption) (*status.QueryReply, error)
- func (m *MockMaintainerClient) Register(arg0 context.Context, arg1 *status.RegisterRequest, arg2 ...grpc.CallOption) (*status.RegisterReply, error)
- type MockMaintainerClientMockRecorder
- func (mr *MockMaintainerClientMockRecorder) ChangeStatus(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockMaintainerClientMockRecorder) Invalid(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockMaintainerClientMockRecorder) Query(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockMaintainerClientMockRecorder) Register(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockMaintainer_InvalidClient
- func (m *MockMaintainer_InvalidClient) CloseSend() error
- func (m *MockMaintainer_InvalidClient) Context() context.Context
- func (m *MockMaintainer_InvalidClient) EXPECT() *MockMaintainer_InvalidClientMockRecorder
- func (m *MockMaintainer_InvalidClient) Header() (metadata.MD, error)
- func (m *MockMaintainer_InvalidClient) Recv() (*status.InvalidReply, error)
- func (m *MockMaintainer_InvalidClient) RecvMsg(arg0 interface{}) error
- func (m *MockMaintainer_InvalidClient) Send(arg0 *status.InvalidRequest) error
- func (m *MockMaintainer_InvalidClient) SendMsg(arg0 interface{}) error
- func (m *MockMaintainer_InvalidClient) Trailer() metadata.MD
- type MockMaintainer_InvalidClientMockRecorder
- func (mr *MockMaintainer_InvalidClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockMaintainer_InvalidClientMockRecorder) Context() *gomock.Call
- func (mr *MockMaintainer_InvalidClientMockRecorder) Header() *gomock.Call
- func (mr *MockMaintainer_InvalidClientMockRecorder) Recv() *gomock.Call
- func (mr *MockMaintainer_InvalidClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockMaintainer_InvalidClientMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockMaintainer_InvalidClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockMaintainer_InvalidClientMockRecorder) Trailer() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMaintainerClient ¶
type MockMaintainerClient struct {
// contains filtered or unexported fields
}
MockMaintainerClient is a mock of MaintainerClient interface
func NewMockMaintainerClient ¶
func NewMockMaintainerClient(ctrl *gomock.Controller) *MockMaintainerClient
NewMockMaintainerClient creates a new mock instance
func (*MockMaintainerClient) ChangeStatus ¶
func (m *MockMaintainerClient) ChangeStatus(arg0 context.Context, arg1 *status.StatusRequest, arg2 ...grpc.CallOption) (*status.StatusReply, error)
ChangeStatus mocks base method
func (*MockMaintainerClient) EXPECT ¶
func (m *MockMaintainerClient) EXPECT() *MockMaintainerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMaintainerClient) Invalid ¶
func (m *MockMaintainerClient) Invalid(arg0 context.Context, arg1 ...grpc.CallOption) (status.Maintainer_InvalidClient, error)
Invalid mocks base method
func (*MockMaintainerClient) Query ¶
func (m *MockMaintainerClient) Query(arg0 context.Context, arg1 *status.QueryRequest, arg2 ...grpc.CallOption) (*status.QueryReply, error)
Query mocks base method
func (*MockMaintainerClient) Register ¶
func (m *MockMaintainerClient) Register(arg0 context.Context, arg1 *status.RegisterRequest, arg2 ...grpc.CallOption) (*status.RegisterReply, error)
Register mocks base method
type MockMaintainerClientMockRecorder ¶
type MockMaintainerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockMaintainerClientMockRecorder is the mock recorder for MockMaintainerClient
func (*MockMaintainerClientMockRecorder) ChangeStatus ¶
func (mr *MockMaintainerClientMockRecorder) ChangeStatus(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ChangeStatus indicates an expected call of ChangeStatus
func (*MockMaintainerClientMockRecorder) Invalid ¶
func (mr *MockMaintainerClientMockRecorder) Invalid(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Invalid indicates an expected call of Invalid
func (*MockMaintainerClientMockRecorder) Query ¶
func (mr *MockMaintainerClientMockRecorder) Query(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Query indicates an expected call of Query
func (*MockMaintainerClientMockRecorder) Register ¶
func (mr *MockMaintainerClientMockRecorder) Register(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Register indicates an expected call of Register
type MockMaintainer_InvalidClient ¶
type MockMaintainer_InvalidClient struct {
// contains filtered or unexported fields
}
MockMaintainer_InvalidClient is a mock of Maintainer_InvalidClient interface
func NewMockMaintainer_InvalidClient ¶
func NewMockMaintainer_InvalidClient(ctrl *gomock.Controller) *MockMaintainer_InvalidClient
NewMockMaintainer_InvalidClient creates a new mock instance
func (*MockMaintainer_InvalidClient) CloseSend ¶
func (m *MockMaintainer_InvalidClient) CloseSend() error
CloseSend mocks base method
func (*MockMaintainer_InvalidClient) Context ¶
func (m *MockMaintainer_InvalidClient) Context() context.Context
Context mocks base method
func (*MockMaintainer_InvalidClient) EXPECT ¶
func (m *MockMaintainer_InvalidClient) EXPECT() *MockMaintainer_InvalidClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMaintainer_InvalidClient) Header ¶
func (m *MockMaintainer_InvalidClient) Header() (metadata.MD, error)
Header mocks base method
func (*MockMaintainer_InvalidClient) Recv ¶
func (m *MockMaintainer_InvalidClient) Recv() (*status.InvalidReply, error)
Recv mocks base method
func (*MockMaintainer_InvalidClient) RecvMsg ¶
func (m *MockMaintainer_InvalidClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method
func (*MockMaintainer_InvalidClient) Send ¶
func (m *MockMaintainer_InvalidClient) Send(arg0 *status.InvalidRequest) error
Send mocks base method
func (*MockMaintainer_InvalidClient) SendMsg ¶
func (m *MockMaintainer_InvalidClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method
func (*MockMaintainer_InvalidClient) Trailer ¶
func (m *MockMaintainer_InvalidClient) Trailer() metadata.MD
Trailer mocks base method
type MockMaintainer_InvalidClientMockRecorder ¶
type MockMaintainer_InvalidClientMockRecorder struct {
// contains filtered or unexported fields
}
MockMaintainer_InvalidClientMockRecorder is the mock recorder for MockMaintainer_InvalidClient
func (*MockMaintainer_InvalidClientMockRecorder) CloseSend ¶
func (mr *MockMaintainer_InvalidClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend
func (*MockMaintainer_InvalidClientMockRecorder) Context ¶
func (mr *MockMaintainer_InvalidClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockMaintainer_InvalidClientMockRecorder) Header ¶
func (mr *MockMaintainer_InvalidClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockMaintainer_InvalidClientMockRecorder) Recv ¶
func (mr *MockMaintainer_InvalidClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv
func (*MockMaintainer_InvalidClientMockRecorder) RecvMsg ¶
func (mr *MockMaintainer_InvalidClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockMaintainer_InvalidClientMockRecorder) Send ¶
func (mr *MockMaintainer_InvalidClientMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockMaintainer_InvalidClientMockRecorder) SendMsg ¶
func (mr *MockMaintainer_InvalidClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockMaintainer_InvalidClientMockRecorder) Trailer ¶
func (mr *MockMaintainer_InvalidClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer