Documentation
¶
Index ¶
- type MockCSAServiceClient
- func (_m *MockCSAServiceClient) EXPECT() *MockCSAServiceClient_Expecter
- func (_mock *MockCSAServiceClient) GetKeypair(ctx context.Context, in *csa.GetKeypairRequest, opts ...grpc.CallOption) (*csa.GetKeypairResponse, error)
- func (_mock *MockCSAServiceClient) ListKeypairs(ctx context.Context, in *csa.ListKeypairsRequest, opts ...grpc.CallOption) (*csa.ListKeypairsResponse, error)
- type MockCSAServiceClient_Expecter
- type MockCSAServiceClient_GetKeypair_Call
- func (_c *MockCSAServiceClient_GetKeypair_Call) Return(getKeypairResponse *csa.GetKeypairResponse, err error) *MockCSAServiceClient_GetKeypair_Call
- func (_c *MockCSAServiceClient_GetKeypair_Call) Run(...) *MockCSAServiceClient_GetKeypair_Call
- func (_c *MockCSAServiceClient_GetKeypair_Call) RunAndReturn(...) *MockCSAServiceClient_GetKeypair_Call
- type MockCSAServiceClient_ListKeypairs_Call
- func (_c *MockCSAServiceClient_ListKeypairs_Call) Return(listKeypairsResponse *csa.ListKeypairsResponse, err error) *MockCSAServiceClient_ListKeypairs_Call
- func (_c *MockCSAServiceClient_ListKeypairs_Call) Run(...) *MockCSAServiceClient_ListKeypairs_Call
- func (_c *MockCSAServiceClient_ListKeypairs_Call) RunAndReturn(...) *MockCSAServiceClient_ListKeypairs_Call
- type MockClients
- type MockCognitoClient
- type MockCognitoClient_Expecter
- type MockCognitoClient_InitiateAuth_Call
- func (_c *MockCognitoClient_InitiateAuth_Call) Return(initiateAuthOutput *cognitoidentityprovider.InitiateAuthOutput, err error) *MockCognitoClient_InitiateAuth_Call
- func (_c *MockCognitoClient_InitiateAuth_Call) Run(...) *MockCognitoClient_InitiateAuth_Call
- func (_c *MockCognitoClient_InitiateAuth_Call) RunAndReturn(...) *MockCognitoClient_InitiateAuth_Call
- type MockJDClient
- type MockJobServiceClient
- func (_mock *MockJobServiceClient) BatchProposeJob(ctx context.Context, in *job.BatchProposeJobRequest, opts ...grpc.CallOption) (*job.BatchProposeJobResponse, error)
- func (_mock *MockJobServiceClient) DeleteJob(ctx context.Context, in *job.DeleteJobRequest, opts ...grpc.CallOption) (*job.DeleteJobResponse, error)
- func (_m *MockJobServiceClient) EXPECT() *MockJobServiceClient_Expecter
- func (_mock *MockJobServiceClient) GetJob(ctx context.Context, in *job.GetJobRequest, opts ...grpc.CallOption) (*job.GetJobResponse, error)
- func (_mock *MockJobServiceClient) GetProposal(ctx context.Context, in *job.GetProposalRequest, opts ...grpc.CallOption) (*job.GetProposalResponse, error)
- func (_mock *MockJobServiceClient) ListJobs(ctx context.Context, in *job.ListJobsRequest, opts ...grpc.CallOption) (*job.ListJobsResponse, error)
- func (_mock *MockJobServiceClient) ListProposals(ctx context.Context, in *job.ListProposalsRequest, opts ...grpc.CallOption) (*job.ListProposalsResponse, error)
- func (_mock *MockJobServiceClient) ProposeJob(ctx context.Context, in *job.ProposeJobRequest, opts ...grpc.CallOption) (*job.ProposeJobResponse, error)
- func (_mock *MockJobServiceClient) RevokeJob(ctx context.Context, in *job.RevokeJobRequest, opts ...grpc.CallOption) (*job.RevokeJobResponse, error)
- func (_mock *MockJobServiceClient) UpdateJob(ctx context.Context, in *job.UpdateJobRequest, opts ...grpc.CallOption) (*job.UpdateJobResponse, error)
- type MockJobServiceClient_BatchProposeJob_Call
- func (_c *MockJobServiceClient_BatchProposeJob_Call) Return(batchProposeJobResponse *job.BatchProposeJobResponse, err error) *MockJobServiceClient_BatchProposeJob_Call
- func (_c *MockJobServiceClient_BatchProposeJob_Call) Run(...) *MockJobServiceClient_BatchProposeJob_Call
- func (_c *MockJobServiceClient_BatchProposeJob_Call) RunAndReturn(...) *MockJobServiceClient_BatchProposeJob_Call
- type MockJobServiceClient_DeleteJob_Call
- func (_c *MockJobServiceClient_DeleteJob_Call) Return(deleteJobResponse *job.DeleteJobResponse, err error) *MockJobServiceClient_DeleteJob_Call
- func (_c *MockJobServiceClient_DeleteJob_Call) Run(...) *MockJobServiceClient_DeleteJob_Call
- func (_c *MockJobServiceClient_DeleteJob_Call) RunAndReturn(...) *MockJobServiceClient_DeleteJob_Call
- type MockJobServiceClient_Expecter
- func (_e *MockJobServiceClient_Expecter) BatchProposeJob(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_BatchProposeJob_Call
- func (_e *MockJobServiceClient_Expecter) DeleteJob(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_DeleteJob_Call
- func (_e *MockJobServiceClient_Expecter) GetJob(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_GetJob_Call
- func (_e *MockJobServiceClient_Expecter) GetProposal(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_GetProposal_Call
- func (_e *MockJobServiceClient_Expecter) ListJobs(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_ListJobs_Call
- func (_e *MockJobServiceClient_Expecter) ListProposals(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_ListProposals_Call
- func (_e *MockJobServiceClient_Expecter) ProposeJob(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_ProposeJob_Call
- func (_e *MockJobServiceClient_Expecter) RevokeJob(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_RevokeJob_Call
- func (_e *MockJobServiceClient_Expecter) UpdateJob(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_UpdateJob_Call
- type MockJobServiceClient_GetJob_Call
- func (_c *MockJobServiceClient_GetJob_Call) Return(getJobResponse *job.GetJobResponse, err error) *MockJobServiceClient_GetJob_Call
- func (_c *MockJobServiceClient_GetJob_Call) Run(run func(ctx context.Context, in *job.GetJobRequest, opts ...grpc.CallOption)) *MockJobServiceClient_GetJob_Call
- func (_c *MockJobServiceClient_GetJob_Call) RunAndReturn(...) *MockJobServiceClient_GetJob_Call
- type MockJobServiceClient_GetProposal_Call
- func (_c *MockJobServiceClient_GetProposal_Call) Return(getProposalResponse *job.GetProposalResponse, err error) *MockJobServiceClient_GetProposal_Call
- func (_c *MockJobServiceClient_GetProposal_Call) Run(...) *MockJobServiceClient_GetProposal_Call
- func (_c *MockJobServiceClient_GetProposal_Call) RunAndReturn(...) *MockJobServiceClient_GetProposal_Call
- type MockJobServiceClient_ListJobs_Call
- func (_c *MockJobServiceClient_ListJobs_Call) Return(listJobsResponse *job.ListJobsResponse, err error) *MockJobServiceClient_ListJobs_Call
- func (_c *MockJobServiceClient_ListJobs_Call) Run(...) *MockJobServiceClient_ListJobs_Call
- func (_c *MockJobServiceClient_ListJobs_Call) RunAndReturn(...) *MockJobServiceClient_ListJobs_Call
- type MockJobServiceClient_ListProposals_Call
- func (_c *MockJobServiceClient_ListProposals_Call) Return(listProposalsResponse *job.ListProposalsResponse, err error) *MockJobServiceClient_ListProposals_Call
- func (_c *MockJobServiceClient_ListProposals_Call) Run(...) *MockJobServiceClient_ListProposals_Call
- func (_c *MockJobServiceClient_ListProposals_Call) RunAndReturn(...) *MockJobServiceClient_ListProposals_Call
- type MockJobServiceClient_ProposeJob_Call
- func (_c *MockJobServiceClient_ProposeJob_Call) Return(proposeJobResponse *job.ProposeJobResponse, err error) *MockJobServiceClient_ProposeJob_Call
- func (_c *MockJobServiceClient_ProposeJob_Call) Run(...) *MockJobServiceClient_ProposeJob_Call
- func (_c *MockJobServiceClient_ProposeJob_Call) RunAndReturn(...) *MockJobServiceClient_ProposeJob_Call
- type MockJobServiceClient_RevokeJob_Call
- func (_c *MockJobServiceClient_RevokeJob_Call) Return(revokeJobResponse *job.RevokeJobResponse, err error) *MockJobServiceClient_RevokeJob_Call
- func (_c *MockJobServiceClient_RevokeJob_Call) Run(...) *MockJobServiceClient_RevokeJob_Call
- func (_c *MockJobServiceClient_RevokeJob_Call) RunAndReturn(...) *MockJobServiceClient_RevokeJob_Call
- type MockJobServiceClient_UpdateJob_Call
- func (_c *MockJobServiceClient_UpdateJob_Call) Return(updateJobResponse *job.UpdateJobResponse, err error) *MockJobServiceClient_UpdateJob_Call
- func (_c *MockJobServiceClient_UpdateJob_Call) Run(...) *MockJobServiceClient_UpdateJob_Call
- func (_c *MockJobServiceClient_UpdateJob_Call) RunAndReturn(...) *MockJobServiceClient_UpdateJob_Call
- type MockNodeServiceClient
- func (_mock *MockNodeServiceClient) DisableNode(ctx context.Context, in *node.DisableNodeRequest, opts ...grpc.CallOption) (*node.DisableNodeResponse, error)
- func (_m *MockNodeServiceClient) EXPECT() *MockNodeServiceClient_Expecter
- func (_mock *MockNodeServiceClient) EnableNode(ctx context.Context, in *node.EnableNodeRequest, opts ...grpc.CallOption) (*node.EnableNodeResponse, error)
- func (_mock *MockNodeServiceClient) GetNode(ctx context.Context, in *node.GetNodeRequest, opts ...grpc.CallOption) (*node.GetNodeResponse, error)
- func (_mock *MockNodeServiceClient) ListNodeChainConfigs(ctx context.Context, in *node.ListNodeChainConfigsRequest, ...) (*node.ListNodeChainConfigsResponse, error)
- func (_mock *MockNodeServiceClient) ListNodes(ctx context.Context, in *node.ListNodesRequest, opts ...grpc.CallOption) (*node.ListNodesResponse, error)
- func (_mock *MockNodeServiceClient) RegisterNode(ctx context.Context, in *node.RegisterNodeRequest, opts ...grpc.CallOption) (*node.RegisterNodeResponse, error)
- func (_mock *MockNodeServiceClient) UpdateNode(ctx context.Context, in *node.UpdateNodeRequest, opts ...grpc.CallOption) (*node.UpdateNodeResponse, error)
- type MockNodeServiceClient_DisableNode_Call
- func (_c *MockNodeServiceClient_DisableNode_Call) Return(disableNodeResponse *node.DisableNodeResponse, err error) *MockNodeServiceClient_DisableNode_Call
- func (_c *MockNodeServiceClient_DisableNode_Call) Run(...) *MockNodeServiceClient_DisableNode_Call
- func (_c *MockNodeServiceClient_DisableNode_Call) RunAndReturn(...) *MockNodeServiceClient_DisableNode_Call
- type MockNodeServiceClient_EnableNode_Call
- func (_c *MockNodeServiceClient_EnableNode_Call) Return(enableNodeResponse *node.EnableNodeResponse, err error) *MockNodeServiceClient_EnableNode_Call
- func (_c *MockNodeServiceClient_EnableNode_Call) Run(...) *MockNodeServiceClient_EnableNode_Call
- func (_c *MockNodeServiceClient_EnableNode_Call) RunAndReturn(...) *MockNodeServiceClient_EnableNode_Call
- type MockNodeServiceClient_Expecter
- func (_e *MockNodeServiceClient_Expecter) DisableNode(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_DisableNode_Call
- func (_e *MockNodeServiceClient_Expecter) EnableNode(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_EnableNode_Call
- func (_e *MockNodeServiceClient_Expecter) GetNode(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_GetNode_Call
- func (_e *MockNodeServiceClient_Expecter) ListNodeChainConfigs(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_ListNodeChainConfigs_Call
- func (_e *MockNodeServiceClient_Expecter) ListNodes(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_ListNodes_Call
- func (_e *MockNodeServiceClient_Expecter) RegisterNode(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_RegisterNode_Call
- func (_e *MockNodeServiceClient_Expecter) UpdateNode(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_UpdateNode_Call
- type MockNodeServiceClient_GetNode_Call
- func (_c *MockNodeServiceClient_GetNode_Call) Return(getNodeResponse *node.GetNodeResponse, err error) *MockNodeServiceClient_GetNode_Call
- func (_c *MockNodeServiceClient_GetNode_Call) Run(...) *MockNodeServiceClient_GetNode_Call
- func (_c *MockNodeServiceClient_GetNode_Call) RunAndReturn(...) *MockNodeServiceClient_GetNode_Call
- type MockNodeServiceClient_ListNodeChainConfigs_Call
- func (_c *MockNodeServiceClient_ListNodeChainConfigs_Call) Return(listNodeChainConfigsResponse *node.ListNodeChainConfigsResponse, err error) *MockNodeServiceClient_ListNodeChainConfigs_Call
- func (_c *MockNodeServiceClient_ListNodeChainConfigs_Call) Run(run func(ctx context.Context, in *node.ListNodeChainConfigsRequest, ...)) *MockNodeServiceClient_ListNodeChainConfigs_Call
- func (_c *MockNodeServiceClient_ListNodeChainConfigs_Call) RunAndReturn(...) *MockNodeServiceClient_ListNodeChainConfigs_Call
- type MockNodeServiceClient_ListNodes_Call
- func (_c *MockNodeServiceClient_ListNodes_Call) Return(listNodesResponse *node.ListNodesResponse, err error) *MockNodeServiceClient_ListNodes_Call
- func (_c *MockNodeServiceClient_ListNodes_Call) Run(...) *MockNodeServiceClient_ListNodes_Call
- func (_c *MockNodeServiceClient_ListNodes_Call) RunAndReturn(...) *MockNodeServiceClient_ListNodes_Call
- type MockNodeServiceClient_RegisterNode_Call
- func (_c *MockNodeServiceClient_RegisterNode_Call) Return(registerNodeResponse *node.RegisterNodeResponse, err error) *MockNodeServiceClient_RegisterNode_Call
- func (_c *MockNodeServiceClient_RegisterNode_Call) Run(...) *MockNodeServiceClient_RegisterNode_Call
- func (_c *MockNodeServiceClient_RegisterNode_Call) RunAndReturn(...) *MockNodeServiceClient_RegisterNode_Call
- type MockNodeServiceClient_UpdateNode_Call
- func (_c *MockNodeServiceClient_UpdateNode_Call) Return(updateNodeResponse *node.UpdateNodeResponse, err error) *MockNodeServiceClient_UpdateNode_Call
- func (_c *MockNodeServiceClient_UpdateNode_Call) Run(...) *MockNodeServiceClient_UpdateNode_Call
- func (_c *MockNodeServiceClient_UpdateNode_Call) RunAndReturn(...) *MockNodeServiceClient_UpdateNode_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCSAServiceClient ¶
MockCSAServiceClient is an autogenerated mock type for the CSAServiceClient type
func NewMockCSAServiceClient ¶
func NewMockCSAServiceClient(t interface { mock.TestingT Cleanup(func()) }) *MockCSAServiceClient
NewMockCSAServiceClient creates a new instance of MockCSAServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockCSAServiceClient) EXPECT ¶
func (_m *MockCSAServiceClient) EXPECT() *MockCSAServiceClient_Expecter
func (*MockCSAServiceClient) GetKeypair ¶
func (_mock *MockCSAServiceClient) GetKeypair(ctx context.Context, in *csa.GetKeypairRequest, opts ...grpc.CallOption) (*csa.GetKeypairResponse, error)
GetKeypair provides a mock function for the type MockCSAServiceClient
func (*MockCSAServiceClient) ListKeypairs ¶
func (_mock *MockCSAServiceClient) ListKeypairs(ctx context.Context, in *csa.ListKeypairsRequest, opts ...grpc.CallOption) (*csa.ListKeypairsResponse, error)
ListKeypairs provides a mock function for the type MockCSAServiceClient
type MockCSAServiceClient_Expecter ¶
type MockCSAServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCSAServiceClient_Expecter) GetKeypair ¶
func (_e *MockCSAServiceClient_Expecter) GetKeypair(ctx interface{}, in interface{}, opts ...interface{}) *MockCSAServiceClient_GetKeypair_Call
GetKeypair is a helper method to define mock.On call
- ctx context.Context
- in *csa.GetKeypairRequest
- opts ...grpc.CallOption
func (*MockCSAServiceClient_Expecter) ListKeypairs ¶
func (_e *MockCSAServiceClient_Expecter) ListKeypairs(ctx interface{}, in interface{}, opts ...interface{}) *MockCSAServiceClient_ListKeypairs_Call
ListKeypairs is a helper method to define mock.On call
- ctx context.Context
- in *csa.ListKeypairsRequest
- opts ...grpc.CallOption
type MockCSAServiceClient_GetKeypair_Call ¶
MockCSAServiceClient_GetKeypair_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKeypair'
func (*MockCSAServiceClient_GetKeypair_Call) Return ¶
func (_c *MockCSAServiceClient_GetKeypair_Call) Return(getKeypairResponse *csa.GetKeypairResponse, err error) *MockCSAServiceClient_GetKeypair_Call
func (*MockCSAServiceClient_GetKeypair_Call) Run ¶
func (_c *MockCSAServiceClient_GetKeypair_Call) Run(run func(ctx context.Context, in *csa.GetKeypairRequest, opts ...grpc.CallOption)) *MockCSAServiceClient_GetKeypair_Call
func (*MockCSAServiceClient_GetKeypair_Call) RunAndReturn ¶
func (_c *MockCSAServiceClient_GetKeypair_Call) RunAndReturn(run func(ctx context.Context, in *csa.GetKeypairRequest, opts ...grpc.CallOption) (*csa.GetKeypairResponse, error)) *MockCSAServiceClient_GetKeypair_Call
type MockCSAServiceClient_ListKeypairs_Call ¶
MockCSAServiceClient_ListKeypairs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListKeypairs'
func (*MockCSAServiceClient_ListKeypairs_Call) Return ¶
func (_c *MockCSAServiceClient_ListKeypairs_Call) Return(listKeypairsResponse *csa.ListKeypairsResponse, err error) *MockCSAServiceClient_ListKeypairs_Call
func (*MockCSAServiceClient_ListKeypairs_Call) Run ¶
func (_c *MockCSAServiceClient_ListKeypairs_Call) Run(run func(ctx context.Context, in *csa.ListKeypairsRequest, opts ...grpc.CallOption)) *MockCSAServiceClient_ListKeypairs_Call
func (*MockCSAServiceClient_ListKeypairs_Call) RunAndReturn ¶
func (_c *MockCSAServiceClient_ListKeypairs_Call) RunAndReturn(run func(ctx context.Context, in *csa.ListKeypairsRequest, opts ...grpc.CallOption) (*csa.ListKeypairsResponse, error)) *MockCSAServiceClient_ListKeypairs_Call
type MockClients ¶
type MockClients struct { CSAServiceClient *MockCSAServiceClient JobServiceClient *MockJobServiceClient NodeServiceClient *MockNodeServiceClient }
MockClients is a mock of the Job Distributor protobuf clients.
func NewMockClients ¶
func NewMockClients(t *testing.T) *MockClients
NewMockClients creates a new MockClients.
type MockCognitoClient ¶
MockCognitoClient is an autogenerated mock type for the CognitoClient type
func NewMockCognitoClient ¶
func NewMockCognitoClient(t interface { mock.TestingT Cleanup(func()) }) *MockCognitoClient
NewMockCognitoClient creates a new instance of MockCognitoClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockCognitoClient) EXPECT ¶
func (_m *MockCognitoClient) EXPECT() *MockCognitoClient_Expecter
func (*MockCognitoClient) InitiateAuth ¶
func (_mock *MockCognitoClient) InitiateAuth(ctx context.Context, params *cognitoidentityprovider.InitiateAuthInput, optFns ...func(*cognitoidentityprovider.Options)) (*cognitoidentityprovider.InitiateAuthOutput, error)
InitiateAuth provides a mock function for the type MockCognitoClient
type MockCognitoClient_Expecter ¶
type MockCognitoClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCognitoClient_Expecter) InitiateAuth ¶
func (_e *MockCognitoClient_Expecter) InitiateAuth(ctx interface{}, params interface{}, optFns ...interface{}) *MockCognitoClient_InitiateAuth_Call
InitiateAuth is a helper method to define mock.On call
- ctx context.Context
- params *cognitoidentityprovider.InitiateAuthInput
- optFns ...func(*cognitoidentityprovider.Options)
type MockCognitoClient_InitiateAuth_Call ¶
MockCognitoClient_InitiateAuth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitiateAuth'
func (*MockCognitoClient_InitiateAuth_Call) Return ¶
func (_c *MockCognitoClient_InitiateAuth_Call) Return(initiateAuthOutput *cognitoidentityprovider.InitiateAuthOutput, err error) *MockCognitoClient_InitiateAuth_Call
func (*MockCognitoClient_InitiateAuth_Call) Run ¶
func (_c *MockCognitoClient_InitiateAuth_Call) Run(run func(ctx context.Context, params *cognitoidentityprovider.InitiateAuthInput, optFns ...func(*cognitoidentityprovider.Options))) *MockCognitoClient_InitiateAuth_Call
func (*MockCognitoClient_InitiateAuth_Call) RunAndReturn ¶
func (_c *MockCognitoClient_InitiateAuth_Call) RunAndReturn(run func(ctx context.Context, params *cognitoidentityprovider.InitiateAuthInput, optFns ...func(*cognitoidentityprovider.Options)) (*cognitoidentityprovider.InitiateAuthOutput, error)) *MockCognitoClient_InitiateAuth_Call
type MockJDClient ¶
type MockJDClient struct { *MockJobServiceClient *MockNodeServiceClient *MockCSAServiceClient }
MockJDClient is a composite client that implements the offchain.Client interface by embedding the individual mock service clients
func NewMockJDClient ¶
func NewMockJDClient(t *testing.T) *MockJDClient
NewMockJDClient creates a new MockJDClient.
type MockJobServiceClient ¶
MockJobServiceClient is an autogenerated mock type for the JobServiceClient type
func NewMockJobServiceClient ¶
func NewMockJobServiceClient(t interface { mock.TestingT Cleanup(func()) }) *MockJobServiceClient
NewMockJobServiceClient creates a new instance of MockJobServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockJobServiceClient) BatchProposeJob ¶
func (_mock *MockJobServiceClient) BatchProposeJob(ctx context.Context, in *job.BatchProposeJobRequest, opts ...grpc.CallOption) (*job.BatchProposeJobResponse, error)
BatchProposeJob provides a mock function for the type MockJobServiceClient
func (*MockJobServiceClient) DeleteJob ¶
func (_mock *MockJobServiceClient) DeleteJob(ctx context.Context, in *job.DeleteJobRequest, opts ...grpc.CallOption) (*job.DeleteJobResponse, error)
DeleteJob provides a mock function for the type MockJobServiceClient
func (*MockJobServiceClient) EXPECT ¶
func (_m *MockJobServiceClient) EXPECT() *MockJobServiceClient_Expecter
func (*MockJobServiceClient) GetJob ¶
func (_mock *MockJobServiceClient) GetJob(ctx context.Context, in *job.GetJobRequest, opts ...grpc.CallOption) (*job.GetJobResponse, error)
GetJob provides a mock function for the type MockJobServiceClient
func (*MockJobServiceClient) GetProposal ¶
func (_mock *MockJobServiceClient) GetProposal(ctx context.Context, in *job.GetProposalRequest, opts ...grpc.CallOption) (*job.GetProposalResponse, error)
GetProposal provides a mock function for the type MockJobServiceClient
func (*MockJobServiceClient) ListJobs ¶
func (_mock *MockJobServiceClient) ListJobs(ctx context.Context, in *job.ListJobsRequest, opts ...grpc.CallOption) (*job.ListJobsResponse, error)
ListJobs provides a mock function for the type MockJobServiceClient
func (*MockJobServiceClient) ListProposals ¶
func (_mock *MockJobServiceClient) ListProposals(ctx context.Context, in *job.ListProposalsRequest, opts ...grpc.CallOption) (*job.ListProposalsResponse, error)
ListProposals provides a mock function for the type MockJobServiceClient
func (*MockJobServiceClient) ProposeJob ¶
func (_mock *MockJobServiceClient) ProposeJob(ctx context.Context, in *job.ProposeJobRequest, opts ...grpc.CallOption) (*job.ProposeJobResponse, error)
ProposeJob provides a mock function for the type MockJobServiceClient
func (*MockJobServiceClient) RevokeJob ¶
func (_mock *MockJobServiceClient) RevokeJob(ctx context.Context, in *job.RevokeJobRequest, opts ...grpc.CallOption) (*job.RevokeJobResponse, error)
RevokeJob provides a mock function for the type MockJobServiceClient
func (*MockJobServiceClient) UpdateJob ¶
func (_mock *MockJobServiceClient) UpdateJob(ctx context.Context, in *job.UpdateJobRequest, opts ...grpc.CallOption) (*job.UpdateJobResponse, error)
UpdateJob provides a mock function for the type MockJobServiceClient
type MockJobServiceClient_BatchProposeJob_Call ¶
MockJobServiceClient_BatchProposeJob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchProposeJob'
func (*MockJobServiceClient_BatchProposeJob_Call) Return ¶
func (_c *MockJobServiceClient_BatchProposeJob_Call) Return(batchProposeJobResponse *job.BatchProposeJobResponse, err error) *MockJobServiceClient_BatchProposeJob_Call
func (*MockJobServiceClient_BatchProposeJob_Call) Run ¶
func (_c *MockJobServiceClient_BatchProposeJob_Call) Run(run func(ctx context.Context, in *job.BatchProposeJobRequest, opts ...grpc.CallOption)) *MockJobServiceClient_BatchProposeJob_Call
func (*MockJobServiceClient_BatchProposeJob_Call) RunAndReturn ¶
func (_c *MockJobServiceClient_BatchProposeJob_Call) RunAndReturn(run func(ctx context.Context, in *job.BatchProposeJobRequest, opts ...grpc.CallOption) (*job.BatchProposeJobResponse, error)) *MockJobServiceClient_BatchProposeJob_Call
type MockJobServiceClient_DeleteJob_Call ¶
MockJobServiceClient_DeleteJob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteJob'
func (*MockJobServiceClient_DeleteJob_Call) Return ¶
func (_c *MockJobServiceClient_DeleteJob_Call) Return(deleteJobResponse *job.DeleteJobResponse, err error) *MockJobServiceClient_DeleteJob_Call
func (*MockJobServiceClient_DeleteJob_Call) Run ¶
func (_c *MockJobServiceClient_DeleteJob_Call) Run(run func(ctx context.Context, in *job.DeleteJobRequest, opts ...grpc.CallOption)) *MockJobServiceClient_DeleteJob_Call
func (*MockJobServiceClient_DeleteJob_Call) RunAndReturn ¶
func (_c *MockJobServiceClient_DeleteJob_Call) RunAndReturn(run func(ctx context.Context, in *job.DeleteJobRequest, opts ...grpc.CallOption) (*job.DeleteJobResponse, error)) *MockJobServiceClient_DeleteJob_Call
type MockJobServiceClient_Expecter ¶
type MockJobServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockJobServiceClient_Expecter) BatchProposeJob ¶
func (_e *MockJobServiceClient_Expecter) BatchProposeJob(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_BatchProposeJob_Call
BatchProposeJob is a helper method to define mock.On call
- ctx context.Context
- in *job.BatchProposeJobRequest
- opts ...grpc.CallOption
func (*MockJobServiceClient_Expecter) DeleteJob ¶
func (_e *MockJobServiceClient_Expecter) DeleteJob(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_DeleteJob_Call
DeleteJob is a helper method to define mock.On call
- ctx context.Context
- in *job.DeleteJobRequest
- opts ...grpc.CallOption
func (*MockJobServiceClient_Expecter) GetJob ¶
func (_e *MockJobServiceClient_Expecter) GetJob(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_GetJob_Call
GetJob is a helper method to define mock.On call
- ctx context.Context
- in *job.GetJobRequest
- opts ...grpc.CallOption
func (*MockJobServiceClient_Expecter) GetProposal ¶
func (_e *MockJobServiceClient_Expecter) GetProposal(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_GetProposal_Call
GetProposal is a helper method to define mock.On call
- ctx context.Context
- in *job.GetProposalRequest
- opts ...grpc.CallOption
func (*MockJobServiceClient_Expecter) ListJobs ¶
func (_e *MockJobServiceClient_Expecter) ListJobs(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_ListJobs_Call
ListJobs is a helper method to define mock.On call
- ctx context.Context
- in *job.ListJobsRequest
- opts ...grpc.CallOption
func (*MockJobServiceClient_Expecter) ListProposals ¶
func (_e *MockJobServiceClient_Expecter) ListProposals(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_ListProposals_Call
ListProposals is a helper method to define mock.On call
- ctx context.Context
- in *job.ListProposalsRequest
- opts ...grpc.CallOption
func (*MockJobServiceClient_Expecter) ProposeJob ¶
func (_e *MockJobServiceClient_Expecter) ProposeJob(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_ProposeJob_Call
ProposeJob is a helper method to define mock.On call
- ctx context.Context
- in *job.ProposeJobRequest
- opts ...grpc.CallOption
func (*MockJobServiceClient_Expecter) RevokeJob ¶
func (_e *MockJobServiceClient_Expecter) RevokeJob(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_RevokeJob_Call
RevokeJob is a helper method to define mock.On call
- ctx context.Context
- in *job.RevokeJobRequest
- opts ...grpc.CallOption
func (*MockJobServiceClient_Expecter) UpdateJob ¶
func (_e *MockJobServiceClient_Expecter) UpdateJob(ctx interface{}, in interface{}, opts ...interface{}) *MockJobServiceClient_UpdateJob_Call
UpdateJob is a helper method to define mock.On call
- ctx context.Context
- in *job.UpdateJobRequest
- opts ...grpc.CallOption
type MockJobServiceClient_GetJob_Call ¶
MockJobServiceClient_GetJob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetJob'
func (*MockJobServiceClient_GetJob_Call) Return ¶
func (_c *MockJobServiceClient_GetJob_Call) Return(getJobResponse *job.GetJobResponse, err error) *MockJobServiceClient_GetJob_Call
func (*MockJobServiceClient_GetJob_Call) Run ¶
func (_c *MockJobServiceClient_GetJob_Call) Run(run func(ctx context.Context, in *job.GetJobRequest, opts ...grpc.CallOption)) *MockJobServiceClient_GetJob_Call
func (*MockJobServiceClient_GetJob_Call) RunAndReturn ¶
func (_c *MockJobServiceClient_GetJob_Call) RunAndReturn(run func(ctx context.Context, in *job.GetJobRequest, opts ...grpc.CallOption) (*job.GetJobResponse, error)) *MockJobServiceClient_GetJob_Call
type MockJobServiceClient_GetProposal_Call ¶
MockJobServiceClient_GetProposal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProposal'
func (*MockJobServiceClient_GetProposal_Call) Return ¶
func (_c *MockJobServiceClient_GetProposal_Call) Return(getProposalResponse *job.GetProposalResponse, err error) *MockJobServiceClient_GetProposal_Call
func (*MockJobServiceClient_GetProposal_Call) Run ¶
func (_c *MockJobServiceClient_GetProposal_Call) Run(run func(ctx context.Context, in *job.GetProposalRequest, opts ...grpc.CallOption)) *MockJobServiceClient_GetProposal_Call
func (*MockJobServiceClient_GetProposal_Call) RunAndReturn ¶
func (_c *MockJobServiceClient_GetProposal_Call) RunAndReturn(run func(ctx context.Context, in *job.GetProposalRequest, opts ...grpc.CallOption) (*job.GetProposalResponse, error)) *MockJobServiceClient_GetProposal_Call
type MockJobServiceClient_ListJobs_Call ¶
MockJobServiceClient_ListJobs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListJobs'
func (*MockJobServiceClient_ListJobs_Call) Return ¶
func (_c *MockJobServiceClient_ListJobs_Call) Return(listJobsResponse *job.ListJobsResponse, err error) *MockJobServiceClient_ListJobs_Call
func (*MockJobServiceClient_ListJobs_Call) Run ¶
func (_c *MockJobServiceClient_ListJobs_Call) Run(run func(ctx context.Context, in *job.ListJobsRequest, opts ...grpc.CallOption)) *MockJobServiceClient_ListJobs_Call
func (*MockJobServiceClient_ListJobs_Call) RunAndReturn ¶
func (_c *MockJobServiceClient_ListJobs_Call) RunAndReturn(run func(ctx context.Context, in *job.ListJobsRequest, opts ...grpc.CallOption) (*job.ListJobsResponse, error)) *MockJobServiceClient_ListJobs_Call
type MockJobServiceClient_ListProposals_Call ¶
MockJobServiceClient_ListProposals_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListProposals'
func (*MockJobServiceClient_ListProposals_Call) Return ¶
func (_c *MockJobServiceClient_ListProposals_Call) Return(listProposalsResponse *job.ListProposalsResponse, err error) *MockJobServiceClient_ListProposals_Call
func (*MockJobServiceClient_ListProposals_Call) Run ¶
func (_c *MockJobServiceClient_ListProposals_Call) Run(run func(ctx context.Context, in *job.ListProposalsRequest, opts ...grpc.CallOption)) *MockJobServiceClient_ListProposals_Call
func (*MockJobServiceClient_ListProposals_Call) RunAndReturn ¶
func (_c *MockJobServiceClient_ListProposals_Call) RunAndReturn(run func(ctx context.Context, in *job.ListProposalsRequest, opts ...grpc.CallOption) (*job.ListProposalsResponse, error)) *MockJobServiceClient_ListProposals_Call
type MockJobServiceClient_ProposeJob_Call ¶
MockJobServiceClient_ProposeJob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProposeJob'
func (*MockJobServiceClient_ProposeJob_Call) Return ¶
func (_c *MockJobServiceClient_ProposeJob_Call) Return(proposeJobResponse *job.ProposeJobResponse, err error) *MockJobServiceClient_ProposeJob_Call
func (*MockJobServiceClient_ProposeJob_Call) Run ¶
func (_c *MockJobServiceClient_ProposeJob_Call) Run(run func(ctx context.Context, in *job.ProposeJobRequest, opts ...grpc.CallOption)) *MockJobServiceClient_ProposeJob_Call
func (*MockJobServiceClient_ProposeJob_Call) RunAndReturn ¶
func (_c *MockJobServiceClient_ProposeJob_Call) RunAndReturn(run func(ctx context.Context, in *job.ProposeJobRequest, opts ...grpc.CallOption) (*job.ProposeJobResponse, error)) *MockJobServiceClient_ProposeJob_Call
type MockJobServiceClient_RevokeJob_Call ¶
MockJobServiceClient_RevokeJob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeJob'
func (*MockJobServiceClient_RevokeJob_Call) Return ¶
func (_c *MockJobServiceClient_RevokeJob_Call) Return(revokeJobResponse *job.RevokeJobResponse, err error) *MockJobServiceClient_RevokeJob_Call
func (*MockJobServiceClient_RevokeJob_Call) Run ¶
func (_c *MockJobServiceClient_RevokeJob_Call) Run(run func(ctx context.Context, in *job.RevokeJobRequest, opts ...grpc.CallOption)) *MockJobServiceClient_RevokeJob_Call
func (*MockJobServiceClient_RevokeJob_Call) RunAndReturn ¶
func (_c *MockJobServiceClient_RevokeJob_Call) RunAndReturn(run func(ctx context.Context, in *job.RevokeJobRequest, opts ...grpc.CallOption) (*job.RevokeJobResponse, error)) *MockJobServiceClient_RevokeJob_Call
type MockJobServiceClient_UpdateJob_Call ¶
MockJobServiceClient_UpdateJob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateJob'
func (*MockJobServiceClient_UpdateJob_Call) Return ¶
func (_c *MockJobServiceClient_UpdateJob_Call) Return(updateJobResponse *job.UpdateJobResponse, err error) *MockJobServiceClient_UpdateJob_Call
func (*MockJobServiceClient_UpdateJob_Call) Run ¶
func (_c *MockJobServiceClient_UpdateJob_Call) Run(run func(ctx context.Context, in *job.UpdateJobRequest, opts ...grpc.CallOption)) *MockJobServiceClient_UpdateJob_Call
func (*MockJobServiceClient_UpdateJob_Call) RunAndReturn ¶
func (_c *MockJobServiceClient_UpdateJob_Call) RunAndReturn(run func(ctx context.Context, in *job.UpdateJobRequest, opts ...grpc.CallOption) (*job.UpdateJobResponse, error)) *MockJobServiceClient_UpdateJob_Call
type MockNodeServiceClient ¶
MockNodeServiceClient is an autogenerated mock type for the NodeServiceClient type
func NewMockNodeServiceClient ¶
func NewMockNodeServiceClient(t interface { mock.TestingT Cleanup(func()) }) *MockNodeServiceClient
NewMockNodeServiceClient creates a new instance of MockNodeServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockNodeServiceClient) DisableNode ¶
func (_mock *MockNodeServiceClient) DisableNode(ctx context.Context, in *node.DisableNodeRequest, opts ...grpc.CallOption) (*node.DisableNodeResponse, error)
DisableNode provides a mock function for the type MockNodeServiceClient
func (*MockNodeServiceClient) EXPECT ¶
func (_m *MockNodeServiceClient) EXPECT() *MockNodeServiceClient_Expecter
func (*MockNodeServiceClient) EnableNode ¶
func (_mock *MockNodeServiceClient) EnableNode(ctx context.Context, in *node.EnableNodeRequest, opts ...grpc.CallOption) (*node.EnableNodeResponse, error)
EnableNode provides a mock function for the type MockNodeServiceClient
func (*MockNodeServiceClient) GetNode ¶
func (_mock *MockNodeServiceClient) GetNode(ctx context.Context, in *node.GetNodeRequest, opts ...grpc.CallOption) (*node.GetNodeResponse, error)
GetNode provides a mock function for the type MockNodeServiceClient
func (*MockNodeServiceClient) ListNodeChainConfigs ¶
func (_mock *MockNodeServiceClient) ListNodeChainConfigs(ctx context.Context, in *node.ListNodeChainConfigsRequest, opts ...grpc.CallOption) (*node.ListNodeChainConfigsResponse, error)
ListNodeChainConfigs provides a mock function for the type MockNodeServiceClient
func (*MockNodeServiceClient) ListNodes ¶
func (_mock *MockNodeServiceClient) ListNodes(ctx context.Context, in *node.ListNodesRequest, opts ...grpc.CallOption) (*node.ListNodesResponse, error)
ListNodes provides a mock function for the type MockNodeServiceClient
func (*MockNodeServiceClient) RegisterNode ¶
func (_mock *MockNodeServiceClient) RegisterNode(ctx context.Context, in *node.RegisterNodeRequest, opts ...grpc.CallOption) (*node.RegisterNodeResponse, error)
RegisterNode provides a mock function for the type MockNodeServiceClient
func (*MockNodeServiceClient) UpdateNode ¶
func (_mock *MockNodeServiceClient) UpdateNode(ctx context.Context, in *node.UpdateNodeRequest, opts ...grpc.CallOption) (*node.UpdateNodeResponse, error)
UpdateNode provides a mock function for the type MockNodeServiceClient
type MockNodeServiceClient_DisableNode_Call ¶
MockNodeServiceClient_DisableNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisableNode'
func (*MockNodeServiceClient_DisableNode_Call) Return ¶
func (_c *MockNodeServiceClient_DisableNode_Call) Return(disableNodeResponse *node.DisableNodeResponse, err error) *MockNodeServiceClient_DisableNode_Call
func (*MockNodeServiceClient_DisableNode_Call) Run ¶
func (_c *MockNodeServiceClient_DisableNode_Call) Run(run func(ctx context.Context, in *node.DisableNodeRequest, opts ...grpc.CallOption)) *MockNodeServiceClient_DisableNode_Call
func (*MockNodeServiceClient_DisableNode_Call) RunAndReturn ¶
func (_c *MockNodeServiceClient_DisableNode_Call) RunAndReturn(run func(ctx context.Context, in *node.DisableNodeRequest, opts ...grpc.CallOption) (*node.DisableNodeResponse, error)) *MockNodeServiceClient_DisableNode_Call
type MockNodeServiceClient_EnableNode_Call ¶
MockNodeServiceClient_EnableNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnableNode'
func (*MockNodeServiceClient_EnableNode_Call) Return ¶
func (_c *MockNodeServiceClient_EnableNode_Call) Return(enableNodeResponse *node.EnableNodeResponse, err error) *MockNodeServiceClient_EnableNode_Call
func (*MockNodeServiceClient_EnableNode_Call) Run ¶
func (_c *MockNodeServiceClient_EnableNode_Call) Run(run func(ctx context.Context, in *node.EnableNodeRequest, opts ...grpc.CallOption)) *MockNodeServiceClient_EnableNode_Call
func (*MockNodeServiceClient_EnableNode_Call) RunAndReturn ¶
func (_c *MockNodeServiceClient_EnableNode_Call) RunAndReturn(run func(ctx context.Context, in *node.EnableNodeRequest, opts ...grpc.CallOption) (*node.EnableNodeResponse, error)) *MockNodeServiceClient_EnableNode_Call
type MockNodeServiceClient_Expecter ¶
type MockNodeServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockNodeServiceClient_Expecter) DisableNode ¶
func (_e *MockNodeServiceClient_Expecter) DisableNode(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_DisableNode_Call
DisableNode is a helper method to define mock.On call
- ctx context.Context
- in *node.DisableNodeRequest
- opts ...grpc.CallOption
func (*MockNodeServiceClient_Expecter) EnableNode ¶
func (_e *MockNodeServiceClient_Expecter) EnableNode(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_EnableNode_Call
EnableNode is a helper method to define mock.On call
- ctx context.Context
- in *node.EnableNodeRequest
- opts ...grpc.CallOption
func (*MockNodeServiceClient_Expecter) GetNode ¶
func (_e *MockNodeServiceClient_Expecter) GetNode(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_GetNode_Call
GetNode is a helper method to define mock.On call
- ctx context.Context
- in *node.GetNodeRequest
- opts ...grpc.CallOption
func (*MockNodeServiceClient_Expecter) ListNodeChainConfigs ¶
func (_e *MockNodeServiceClient_Expecter) ListNodeChainConfigs(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_ListNodeChainConfigs_Call
ListNodeChainConfigs is a helper method to define mock.On call
- ctx context.Context
- in *node.ListNodeChainConfigsRequest
- opts ...grpc.CallOption
func (*MockNodeServiceClient_Expecter) ListNodes ¶
func (_e *MockNodeServiceClient_Expecter) ListNodes(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_ListNodes_Call
ListNodes is a helper method to define mock.On call
- ctx context.Context
- in *node.ListNodesRequest
- opts ...grpc.CallOption
func (*MockNodeServiceClient_Expecter) RegisterNode ¶
func (_e *MockNodeServiceClient_Expecter) RegisterNode(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_RegisterNode_Call
RegisterNode is a helper method to define mock.On call
- ctx context.Context
- in *node.RegisterNodeRequest
- opts ...grpc.CallOption
func (*MockNodeServiceClient_Expecter) UpdateNode ¶
func (_e *MockNodeServiceClient_Expecter) UpdateNode(ctx interface{}, in interface{}, opts ...interface{}) *MockNodeServiceClient_UpdateNode_Call
UpdateNode is a helper method to define mock.On call
- ctx context.Context
- in *node.UpdateNodeRequest
- opts ...grpc.CallOption
type MockNodeServiceClient_GetNode_Call ¶
MockNodeServiceClient_GetNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNode'
func (*MockNodeServiceClient_GetNode_Call) Return ¶
func (_c *MockNodeServiceClient_GetNode_Call) Return(getNodeResponse *node.GetNodeResponse, err error) *MockNodeServiceClient_GetNode_Call
func (*MockNodeServiceClient_GetNode_Call) Run ¶
func (_c *MockNodeServiceClient_GetNode_Call) Run(run func(ctx context.Context, in *node.GetNodeRequest, opts ...grpc.CallOption)) *MockNodeServiceClient_GetNode_Call
func (*MockNodeServiceClient_GetNode_Call) RunAndReturn ¶
func (_c *MockNodeServiceClient_GetNode_Call) RunAndReturn(run func(ctx context.Context, in *node.GetNodeRequest, opts ...grpc.CallOption) (*node.GetNodeResponse, error)) *MockNodeServiceClient_GetNode_Call
type MockNodeServiceClient_ListNodeChainConfigs_Call ¶
MockNodeServiceClient_ListNodeChainConfigs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNodeChainConfigs'
func (*MockNodeServiceClient_ListNodeChainConfigs_Call) Return ¶
func (_c *MockNodeServiceClient_ListNodeChainConfigs_Call) Return(listNodeChainConfigsResponse *node.ListNodeChainConfigsResponse, err error) *MockNodeServiceClient_ListNodeChainConfigs_Call
func (*MockNodeServiceClient_ListNodeChainConfigs_Call) Run ¶
func (_c *MockNodeServiceClient_ListNodeChainConfigs_Call) Run(run func(ctx context.Context, in *node.ListNodeChainConfigsRequest, opts ...grpc.CallOption)) *MockNodeServiceClient_ListNodeChainConfigs_Call
func (*MockNodeServiceClient_ListNodeChainConfigs_Call) RunAndReturn ¶
func (_c *MockNodeServiceClient_ListNodeChainConfigs_Call) RunAndReturn(run func(ctx context.Context, in *node.ListNodeChainConfigsRequest, opts ...grpc.CallOption) (*node.ListNodeChainConfigsResponse, error)) *MockNodeServiceClient_ListNodeChainConfigs_Call
type MockNodeServiceClient_ListNodes_Call ¶
MockNodeServiceClient_ListNodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNodes'
func (*MockNodeServiceClient_ListNodes_Call) Return ¶
func (_c *MockNodeServiceClient_ListNodes_Call) Return(listNodesResponse *node.ListNodesResponse, err error) *MockNodeServiceClient_ListNodes_Call
func (*MockNodeServiceClient_ListNodes_Call) Run ¶
func (_c *MockNodeServiceClient_ListNodes_Call) Run(run func(ctx context.Context, in *node.ListNodesRequest, opts ...grpc.CallOption)) *MockNodeServiceClient_ListNodes_Call
func (*MockNodeServiceClient_ListNodes_Call) RunAndReturn ¶
func (_c *MockNodeServiceClient_ListNodes_Call) RunAndReturn(run func(ctx context.Context, in *node.ListNodesRequest, opts ...grpc.CallOption) (*node.ListNodesResponse, error)) *MockNodeServiceClient_ListNodes_Call
type MockNodeServiceClient_RegisterNode_Call ¶
MockNodeServiceClient_RegisterNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterNode'
func (*MockNodeServiceClient_RegisterNode_Call) Return ¶
func (_c *MockNodeServiceClient_RegisterNode_Call) Return(registerNodeResponse *node.RegisterNodeResponse, err error) *MockNodeServiceClient_RegisterNode_Call
func (*MockNodeServiceClient_RegisterNode_Call) Run ¶
func (_c *MockNodeServiceClient_RegisterNode_Call) Run(run func(ctx context.Context, in *node.RegisterNodeRequest, opts ...grpc.CallOption)) *MockNodeServiceClient_RegisterNode_Call
func (*MockNodeServiceClient_RegisterNode_Call) RunAndReturn ¶
func (_c *MockNodeServiceClient_RegisterNode_Call) RunAndReturn(run func(ctx context.Context, in *node.RegisterNodeRequest, opts ...grpc.CallOption) (*node.RegisterNodeResponse, error)) *MockNodeServiceClient_RegisterNode_Call
type MockNodeServiceClient_UpdateNode_Call ¶
MockNodeServiceClient_UpdateNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateNode'
func (*MockNodeServiceClient_UpdateNode_Call) Return ¶
func (_c *MockNodeServiceClient_UpdateNode_Call) Return(updateNodeResponse *node.UpdateNodeResponse, err error) *MockNodeServiceClient_UpdateNode_Call
func (*MockNodeServiceClient_UpdateNode_Call) Run ¶
func (_c *MockNodeServiceClient_UpdateNode_Call) Run(run func(ctx context.Context, in *node.UpdateNodeRequest, opts ...grpc.CallOption)) *MockNodeServiceClient_UpdateNode_Call
func (*MockNodeServiceClient_UpdateNode_Call) RunAndReturn ¶
func (_c *MockNodeServiceClient_UpdateNode_Call) RunAndReturn(run func(ctx context.Context, in *node.UpdateNodeRequest, opts ...grpc.CallOption) (*node.UpdateNodeResponse, error)) *MockNodeServiceClient_UpdateNode_Call