Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockBrokerServiceClient
- type MockBrokerServiceClientMockRecorder
- type MockExecutorServiceClient
- func (m *MockExecutorServiceClient) ConfirmDispatchTask(arg0 context.Context, arg1 *enginepb.ConfirmDispatchTaskRequest, ...) (*enginepb.ConfirmDispatchTaskResponse, error)
- func (m *MockExecutorServiceClient) EXPECT() *MockExecutorServiceClientMockRecorder
- func (m *MockExecutorServiceClient) PreDispatchTask(arg0 context.Context, arg1 *enginepb.PreDispatchTaskRequest, ...) (*enginepb.PreDispatchTaskResponse, error)
- type MockExecutorServiceClientMockRecorder
- type MockResourceManagerClient
- func (m *MockResourceManagerClient) CreateResource(arg0 context.Context, arg1 *enginepb.CreateResourceRequest, ...) (*enginepb.CreateResourceResponse, error)
- func (m *MockResourceManagerClient) EXPECT() *MockResourceManagerClientMockRecorder
- func (m *MockResourceManagerClient) QueryResource(arg0 context.Context, arg1 *enginepb.QueryResourceRequest, ...) (*enginepb.QueryResourceResponse, error)
- func (m *MockResourceManagerClient) RemoveResource(arg0 context.Context, arg1 *enginepb.RemoveResourceRequest, ...) (*enginepb.RemoveResourceResponse, error)
- type MockResourceManagerClientMockRecorder
- func (mr *MockResourceManagerClientMockRecorder) CreateResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockResourceManagerClientMockRecorder) QueryResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockResourceManagerClientMockRecorder) RemoveResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBrokerServiceClient ¶
type MockBrokerServiceClient struct {
// contains filtered or unexported fields
}
MockBrokerServiceClient is a mock of BrokerServiceClient interface.
func NewMockBrokerServiceClient ¶
func NewMockBrokerServiceClient(ctrl *gomock.Controller) *MockBrokerServiceClient
NewMockBrokerServiceClient creates a new mock instance.
func (*MockBrokerServiceClient) EXPECT ¶
func (m *MockBrokerServiceClient) EXPECT() *MockBrokerServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBrokerServiceClient) RemoveResource ¶
func (m *MockBrokerServiceClient) RemoveResource(arg0 context.Context, arg1 *enginepb.RemoveLocalResourceRequest, arg2 ...grpc.CallOption) (*enginepb.RemoveLocalResourceResponse, error)
RemoveResource mocks base method.
type MockBrokerServiceClientMockRecorder ¶
type MockBrokerServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockBrokerServiceClientMockRecorder is the mock recorder for MockBrokerServiceClient.
func (*MockBrokerServiceClientMockRecorder) RemoveResource ¶
func (mr *MockBrokerServiceClientMockRecorder) RemoveResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
RemoveResource indicates an expected call of RemoveResource.
type MockExecutorServiceClient ¶
type MockExecutorServiceClient struct {
// contains filtered or unexported fields
}
MockExecutorServiceClient is a mock of ExecutorServiceClient interface.
func NewMockExecutorServiceClient ¶
func NewMockExecutorServiceClient(ctrl *gomock.Controller) *MockExecutorServiceClient
NewMockExecutorServiceClient creates a new mock instance.
func (*MockExecutorServiceClient) ConfirmDispatchTask ¶
func (m *MockExecutorServiceClient) ConfirmDispatchTask(arg0 context.Context, arg1 *enginepb.ConfirmDispatchTaskRequest, arg2 ...grpc.CallOption) (*enginepb.ConfirmDispatchTaskResponse, error)
ConfirmDispatchTask mocks base method.
func (*MockExecutorServiceClient) EXPECT ¶
func (m *MockExecutorServiceClient) EXPECT() *MockExecutorServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExecutorServiceClient) PreDispatchTask ¶
func (m *MockExecutorServiceClient) PreDispatchTask(arg0 context.Context, arg1 *enginepb.PreDispatchTaskRequest, arg2 ...grpc.CallOption) (*enginepb.PreDispatchTaskResponse, error)
PreDispatchTask mocks base method.
type MockExecutorServiceClientMockRecorder ¶
type MockExecutorServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockExecutorServiceClientMockRecorder is the mock recorder for MockExecutorServiceClient.
func (*MockExecutorServiceClientMockRecorder) ConfirmDispatchTask ¶
func (mr *MockExecutorServiceClientMockRecorder) ConfirmDispatchTask(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ConfirmDispatchTask indicates an expected call of ConfirmDispatchTask.
func (*MockExecutorServiceClientMockRecorder) PreDispatchTask ¶
func (mr *MockExecutorServiceClientMockRecorder) PreDispatchTask(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
PreDispatchTask indicates an expected call of PreDispatchTask.
type MockResourceManagerClient ¶
type MockResourceManagerClient struct {
// contains filtered or unexported fields
}
MockResourceManagerClient is a mock of ResourceManagerClient interface.
func NewMockResourceManagerClient ¶
func NewMockResourceManagerClient(ctrl *gomock.Controller) *MockResourceManagerClient
NewMockResourceManagerClient creates a new mock instance.
func (*MockResourceManagerClient) CreateResource ¶
func (m *MockResourceManagerClient) CreateResource(arg0 context.Context, arg1 *enginepb.CreateResourceRequest, arg2 ...grpc.CallOption) (*enginepb.CreateResourceResponse, error)
CreateResource mocks base method.
func (*MockResourceManagerClient) EXPECT ¶
func (m *MockResourceManagerClient) EXPECT() *MockResourceManagerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResourceManagerClient) QueryResource ¶
func (m *MockResourceManagerClient) QueryResource(arg0 context.Context, arg1 *enginepb.QueryResourceRequest, arg2 ...grpc.CallOption) (*enginepb.QueryResourceResponse, error)
QueryResource mocks base method.
func (*MockResourceManagerClient) RemoveResource ¶
func (m *MockResourceManagerClient) RemoveResource(arg0 context.Context, arg1 *enginepb.RemoveResourceRequest, arg2 ...grpc.CallOption) (*enginepb.RemoveResourceResponse, error)
RemoveResource mocks base method.
type MockResourceManagerClientMockRecorder ¶
type MockResourceManagerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceManagerClientMockRecorder is the mock recorder for MockResourceManagerClient.
func (*MockResourceManagerClientMockRecorder) CreateResource ¶
func (mr *MockResourceManagerClientMockRecorder) CreateResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateResource indicates an expected call of CreateResource.
func (*MockResourceManagerClientMockRecorder) QueryResource ¶
func (mr *MockResourceManagerClientMockRecorder) QueryResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
QueryResource indicates an expected call of QueryResource.
func (*MockResourceManagerClientMockRecorder) RemoveResource ¶
func (mr *MockResourceManagerClientMockRecorder) RemoveResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
RemoveResource indicates an expected call of RemoveResource.