mock_pb

package
v0.0.0-...-e3dca73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGatewayClient

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

MockGatewayClient is a mock of GatewayClient interface

func NewMockGatewayClient

func NewMockGatewayClient(ctrl *gomock.Controller) *MockGatewayClient

NewMockGatewayClient creates a new mock instance

func (*MockGatewayClient) ActivateJobs

func (_m *MockGatewayClient) ActivateJobs(_param0 context.Context, _param1 *pb.ActivateJobsRequest, _param2 ...grpc.CallOption) (pb.Gateway_ActivateJobsClient, error)

ActivateJobs mocks base method

func (*MockGatewayClient) CancelWorkflowInstance

func (_m *MockGatewayClient) CancelWorkflowInstance(_param0 context.Context, _param1 *pb.CancelWorkflowInstanceRequest, _param2 ...grpc.CallOption) (*pb.CancelWorkflowInstanceResponse, error)

CancelWorkflowInstance mocks base method

func (*MockGatewayClient) CompleteJob

func (_m *MockGatewayClient) CompleteJob(_param0 context.Context, _param1 *pb.CompleteJobRequest, _param2 ...grpc.CallOption) (*pb.CompleteJobResponse, error)

CompleteJob mocks base method

func (*MockGatewayClient) CreateWorkflowInstance

func (_m *MockGatewayClient) CreateWorkflowInstance(_param0 context.Context, _param1 *pb.CreateWorkflowInstanceRequest, _param2 ...grpc.CallOption) (*pb.CreateWorkflowInstanceResponse, error)

CreateWorkflowInstance mocks base method

func (*MockGatewayClient) CreateWorkflowInstanceWithResult

func (_m *MockGatewayClient) CreateWorkflowInstanceWithResult(_param0 context.Context, _param1 *pb.CreateWorkflowInstanceWithResultRequest, _param2 ...grpc.CallOption) (*pb.CreateWorkflowInstanceWithResultResponse, error)

CreateWorkflowInstanceWithResult mocks base method

func (*MockGatewayClient) DeployWorkflow

func (_m *MockGatewayClient) DeployWorkflow(_param0 context.Context, _param1 *pb.DeployWorkflowRequest, _param2 ...grpc.CallOption) (*pb.DeployWorkflowResponse, error)

DeployWorkflow mocks base method

func (*MockGatewayClient) EXPECT

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

func (*MockGatewayClient) FailJob

func (_m *MockGatewayClient) FailJob(_param0 context.Context, _param1 *pb.FailJobRequest, _param2 ...grpc.CallOption) (*pb.FailJobResponse, error)

FailJob mocks base method

func (*MockGatewayClient) PublishMessage

func (_m *MockGatewayClient) PublishMessage(_param0 context.Context, _param1 *pb.PublishMessageRequest, _param2 ...grpc.CallOption) (*pb.PublishMessageResponse, error)

PublishMessage mocks base method

func (*MockGatewayClient) ResolveIncident

func (_m *MockGatewayClient) ResolveIncident(_param0 context.Context, _param1 *pb.ResolveIncidentRequest, _param2 ...grpc.CallOption) (*pb.ResolveIncidentResponse, error)

ResolveIncident mocks base method

func (*MockGatewayClient) SetVariables

func (_m *MockGatewayClient) SetVariables(_param0 context.Context, _param1 *pb.SetVariablesRequest, _param2 ...grpc.CallOption) (*pb.SetVariablesResponse, error)

SetVariables mocks base method

func (*MockGatewayClient) ThrowError

func (_m *MockGatewayClient) ThrowError(_param0 context.Context, _param1 *pb.ThrowErrorRequest, _param2 ...grpc.CallOption) (*pb.ThrowErrorResponse, error)

ThrowError mocks base method

func (*MockGatewayClient) Topology

func (_m *MockGatewayClient) Topology(_param0 context.Context, _param1 *pb.TopologyRequest, _param2 ...grpc.CallOption) (*pb.TopologyResponse, error)

Topology mocks base method

func (*MockGatewayClient) UpdateJobRetries

func (_m *MockGatewayClient) UpdateJobRetries(_param0 context.Context, _param1 *pb.UpdateJobRetriesRequest, _param2 ...grpc.CallOption) (*pb.UpdateJobRetriesResponse, error)

UpdateJobRetries mocks base method

type MockGatewayClientMockRecorder

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

MockGatewayClientMockRecorder is the mock recorder for MockGatewayClient

func (*MockGatewayClientMockRecorder) ActivateJobs

func (_mr *MockGatewayClientMockRecorder) ActivateJobs(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ActivateJobs indicates an expected call of ActivateJobs

func (*MockGatewayClientMockRecorder) CancelWorkflowInstance

func (_mr *MockGatewayClientMockRecorder) CancelWorkflowInstance(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CancelWorkflowInstance indicates an expected call of CancelWorkflowInstance

func (*MockGatewayClientMockRecorder) CompleteJob

func (_mr *MockGatewayClientMockRecorder) CompleteJob(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CompleteJob indicates an expected call of CompleteJob

func (*MockGatewayClientMockRecorder) CreateWorkflowInstance

func (_mr *MockGatewayClientMockRecorder) CreateWorkflowInstance(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateWorkflowInstance indicates an expected call of CreateWorkflowInstance

func (*MockGatewayClientMockRecorder) CreateWorkflowInstanceWithResult

func (_mr *MockGatewayClientMockRecorder) CreateWorkflowInstanceWithResult(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateWorkflowInstanceWithResult indicates an expected call of CreateWorkflowInstanceWithResult

func (*MockGatewayClientMockRecorder) DeployWorkflow

func (_mr *MockGatewayClientMockRecorder) DeployWorkflow(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeployWorkflow indicates an expected call of DeployWorkflow

func (*MockGatewayClientMockRecorder) FailJob

func (_mr *MockGatewayClientMockRecorder) FailJob(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

FailJob indicates an expected call of FailJob

func (*MockGatewayClientMockRecorder) PublishMessage

func (_mr *MockGatewayClientMockRecorder) PublishMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PublishMessage indicates an expected call of PublishMessage

func (*MockGatewayClientMockRecorder) ResolveIncident

func (_mr *MockGatewayClientMockRecorder) ResolveIncident(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ResolveIncident indicates an expected call of ResolveIncident

func (*MockGatewayClientMockRecorder) SetVariables

func (_mr *MockGatewayClientMockRecorder) SetVariables(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SetVariables indicates an expected call of SetVariables

func (*MockGatewayClientMockRecorder) ThrowError

func (_mr *MockGatewayClientMockRecorder) ThrowError(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ThrowError indicates an expected call of ThrowError

func (*MockGatewayClientMockRecorder) Topology

func (_mr *MockGatewayClientMockRecorder) Topology(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Topology indicates an expected call of Topology

func (*MockGatewayClientMockRecorder) UpdateJobRetries

func (_mr *MockGatewayClientMockRecorder) UpdateJobRetries(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UpdateJobRetries indicates an expected call of UpdateJobRetries

type MockGateway_ActivateJobsClient

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

MockGateway_ActivateJobsClient is a mock of Gateway_ActivateJobsClient interface

func NewMockGateway_ActivateJobsClient

func NewMockGateway_ActivateJobsClient(ctrl *gomock.Controller) *MockGateway_ActivateJobsClient

NewMockGateway_ActivateJobsClient creates a new mock instance

func (*MockGateway_ActivateJobsClient) CloseSend

func (_m *MockGateway_ActivateJobsClient) CloseSend() error

CloseSend mocks base method

func (*MockGateway_ActivateJobsClient) Context

Context mocks base method

func (*MockGateway_ActivateJobsClient) EXPECT

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

func (*MockGateway_ActivateJobsClient) Header

Header mocks base method

func (*MockGateway_ActivateJobsClient) Recv

Recv mocks base method

func (*MockGateway_ActivateJobsClient) RecvMsg

func (_m *MockGateway_ActivateJobsClient) RecvMsg(_param0 interface{}) error

RecvMsg mocks base method

func (*MockGateway_ActivateJobsClient) SendMsg

func (_m *MockGateway_ActivateJobsClient) SendMsg(_param0 interface{}) error

SendMsg mocks base method

func (*MockGateway_ActivateJobsClient) Trailer

Trailer mocks base method

type MockGateway_ActivateJobsClientMockRecorder

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

MockGateway_ActivateJobsClientMockRecorder is the mock recorder for MockGateway_ActivateJobsClient

func (*MockGateway_ActivateJobsClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockGateway_ActivateJobsClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockGateway_ActivateJobsClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockGateway_ActivateJobsClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockGateway_ActivateJobsClientMockRecorder) RecvMsg

func (_mr *MockGateway_ActivateJobsClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockGateway_ActivateJobsClientMockRecorder) SendMsg

func (_mr *MockGateway_ActivateJobsClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockGateway_ActivateJobsClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL