api

package
v2.0.0-...-1574041 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package api is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertError

func ConvertError(err error) error

func DurationFromProto

func DurationFromProto(d *types.Duration) time.Duration

func DurationToProto

func DurationToProto(d time.Duration) *types.Duration

func SecondsFromProto

func SecondsFromProto(d *types.Duration) int32

func SecondsPtrToProto

func SecondsPtrToProto(s *int32) *types.Duration

func SecondsToProto

func SecondsToProto(s int32) *types.Duration

func TimeFromProto

func TimeFromProto(t *types.Timestamp) time.Time

func TimeToProto

func TimeToProto(t time.Time) *types.Timestamp

Types

type AccessDeniedError

type AccessDeniedError struct {
	Message string
}

func (AccessDeniedError) Error

func (err AccessDeniedError) Error() string

type BadRequestError

type BadRequestError struct {
	Message string
}

func (BadRequestError) Error

func (err BadRequestError) Error() string

type CancellationAlreadyRequestedError

type CancellationAlreadyRequestedError struct {
	Message string
}

func (CancellationAlreadyRequestedError) Error

type ClientVersionNotSupportedError

type ClientVersionNotSupportedError struct {
	FeatureVersion    string
	ClientImpl        string
	SupportedVersions string
}

func (ClientVersionNotSupportedError) Error

type DomainAlreadyExistsError

type DomainAlreadyExistsError struct {
	Message string
}

func (DomainAlreadyExistsError) Error

func (err DomainAlreadyExistsError) Error() string

type DomainNotActiveError

type DomainNotActiveError struct {
	Message        string
	Domain         string
	CurrentCluster string
	ActiveCluster  string
}

func (DomainNotActiveError) Error

func (err DomainNotActiveError) Error() string

type EntityNotExistsError

type EntityNotExistsError struct {
	Message        string
	CurrentCluster string
	ActiveCluster  string
}

func (EntityNotExistsError) Error

func (err EntityNotExistsError) Error() string

type EventAlreadyStartedError

type EventAlreadyStartedError struct {
	Message string
}

func (EventAlreadyStartedError) Error

func (err EventAlreadyStartedError) Error() string

type InternalServiceError

type InternalServiceError struct {
	Message string
}

func (InternalServiceError) Error

func (err InternalServiceError) Error() string

type LimitExceededError

type LimitExceededError struct {
	Message string
}

func (LimitExceededError) Error

func (err LimitExceededError) Error() string

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) CountWorkflowExecutions

CountWorkflowExecutions mocks base method.

func (*MockInterface) DeprecateDomain

DeprecateDomain mocks base method.

func (*MockInterface) DescribeDomain

DescribeDomain mocks base method.

func (*MockInterface) DescribeTaskList

DescribeTaskList mocks base method.

func (*MockInterface) DescribeWorkflowExecution

DescribeWorkflowExecution mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) GetClusterInfo

GetClusterInfo mocks base method.

func (*MockInterface) GetSearchAttributes

GetSearchAttributes mocks base method.

func (*MockInterface) GetWorkflowExecutionHistory

GetWorkflowExecutionHistory mocks base method.

func (*MockInterface) ListArchivedWorkflowExecutions

ListArchivedWorkflowExecutions mocks base method.

func (*MockInterface) ListClosedWorkflowExecutions

ListClosedWorkflowExecutions mocks base method.

func (*MockInterface) ListDomains

ListDomains mocks base method.

func (*MockInterface) ListOpenWorkflowExecutions

ListOpenWorkflowExecutions mocks base method.

func (*MockInterface) ListTaskListPartitions

ListTaskListPartitions mocks base method.

func (*MockInterface) ListWorkflowExecutions

ListWorkflowExecutions mocks base method.

func (*MockInterface) PollForActivityTask

PollForActivityTask mocks base method.

func (*MockInterface) PollForDecisionTask

PollForDecisionTask mocks base method.

func (*MockInterface) QueryWorkflow

QueryWorkflow mocks base method.

func (*MockInterface) RecordActivityTaskHeartbeat

RecordActivityTaskHeartbeat mocks base method.

func (*MockInterface) RecordActivityTaskHeartbeatByID

RecordActivityTaskHeartbeatByID mocks base method.

func (*MockInterface) RegisterDomain

RegisterDomain mocks base method.

func (*MockInterface) RequestCancelWorkflowExecution

RequestCancelWorkflowExecution mocks base method.

func (*MockInterface) ResetStickyTaskList

ResetStickyTaskList mocks base method.

func (*MockInterface) ResetWorkflowExecution

ResetWorkflowExecution mocks base method.

func (*MockInterface) RespondActivityTaskCanceled

RespondActivityTaskCanceled mocks base method.

func (*MockInterface) RespondActivityTaskCanceledByID

RespondActivityTaskCanceledByID mocks base method.

func (*MockInterface) RespondActivityTaskCompleted

RespondActivityTaskCompleted mocks base method.

func (*MockInterface) RespondActivityTaskCompletedByID

RespondActivityTaskCompletedByID mocks base method.

func (*MockInterface) RespondActivityTaskFailed

RespondActivityTaskFailed mocks base method.

func (*MockInterface) RespondActivityTaskFailedByID

RespondActivityTaskFailedByID mocks base method.

func (*MockInterface) RespondDecisionTaskCompleted

RespondDecisionTaskCompleted mocks base method.

func (*MockInterface) RespondDecisionTaskFailed

RespondDecisionTaskFailed mocks base method.

func (*MockInterface) RespondQueryTaskCompleted

RespondQueryTaskCompleted mocks base method.

func (*MockInterface) ScanWorkflowExecutions

ScanWorkflowExecutions mocks base method.

func (*MockInterface) SignalWithStartWorkflowExecution

SignalWithStartWorkflowExecution mocks base method.

func (*MockInterface) SignalWorkflowExecution

SignalWorkflowExecution mocks base method.

func (*MockInterface) StartWorkflowExecution

StartWorkflowExecution mocks base method.

func (*MockInterface) TerminateWorkflowExecution

TerminateWorkflowExecution mocks base method.

func (*MockInterface) UpdateDomain

UpdateDomain mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) CountWorkflowExecutions

func (mr *MockInterfaceMockRecorder) CountWorkflowExecutions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CountWorkflowExecutions indicates an expected call of CountWorkflowExecutions.

func (*MockInterfaceMockRecorder) DeprecateDomain

func (mr *MockInterfaceMockRecorder) DeprecateDomain(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeprecateDomain indicates an expected call of DeprecateDomain.

func (*MockInterfaceMockRecorder) DescribeDomain

func (mr *MockInterfaceMockRecorder) DescribeDomain(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DescribeDomain indicates an expected call of DescribeDomain.

func (*MockInterfaceMockRecorder) DescribeTaskList

func (mr *MockInterfaceMockRecorder) DescribeTaskList(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DescribeTaskList indicates an expected call of DescribeTaskList.

func (*MockInterfaceMockRecorder) DescribeWorkflowExecution

func (mr *MockInterfaceMockRecorder) DescribeWorkflowExecution(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DescribeWorkflowExecution indicates an expected call of DescribeWorkflowExecution.

func (*MockInterfaceMockRecorder) GetClusterInfo

func (mr *MockInterfaceMockRecorder) GetClusterInfo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetClusterInfo indicates an expected call of GetClusterInfo.

func (*MockInterfaceMockRecorder) GetSearchAttributes

func (mr *MockInterfaceMockRecorder) GetSearchAttributes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetSearchAttributes indicates an expected call of GetSearchAttributes.

func (*MockInterfaceMockRecorder) GetWorkflowExecutionHistory

func (mr *MockInterfaceMockRecorder) GetWorkflowExecutionHistory(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetWorkflowExecutionHistory indicates an expected call of GetWorkflowExecutionHistory.

func (*MockInterfaceMockRecorder) ListArchivedWorkflowExecutions

func (mr *MockInterfaceMockRecorder) ListArchivedWorkflowExecutions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListArchivedWorkflowExecutions indicates an expected call of ListArchivedWorkflowExecutions.

func (*MockInterfaceMockRecorder) ListClosedWorkflowExecutions

func (mr *MockInterfaceMockRecorder) ListClosedWorkflowExecutions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListClosedWorkflowExecutions indicates an expected call of ListClosedWorkflowExecutions.

func (*MockInterfaceMockRecorder) ListDomains

func (mr *MockInterfaceMockRecorder) ListDomains(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListDomains indicates an expected call of ListDomains.

func (*MockInterfaceMockRecorder) ListOpenWorkflowExecutions

func (mr *MockInterfaceMockRecorder) ListOpenWorkflowExecutions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListOpenWorkflowExecutions indicates an expected call of ListOpenWorkflowExecutions.

func (*MockInterfaceMockRecorder) ListTaskListPartitions

func (mr *MockInterfaceMockRecorder) ListTaskListPartitions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListTaskListPartitions indicates an expected call of ListTaskListPartitions.

func (*MockInterfaceMockRecorder) ListWorkflowExecutions

func (mr *MockInterfaceMockRecorder) ListWorkflowExecutions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListWorkflowExecutions indicates an expected call of ListWorkflowExecutions.

func (*MockInterfaceMockRecorder) PollForActivityTask

func (mr *MockInterfaceMockRecorder) PollForActivityTask(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PollForActivityTask indicates an expected call of PollForActivityTask.

func (*MockInterfaceMockRecorder) PollForDecisionTask

func (mr *MockInterfaceMockRecorder) PollForDecisionTask(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PollForDecisionTask indicates an expected call of PollForDecisionTask.

func (*MockInterfaceMockRecorder) QueryWorkflow

func (mr *MockInterfaceMockRecorder) QueryWorkflow(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

QueryWorkflow indicates an expected call of QueryWorkflow.

func (*MockInterfaceMockRecorder) RecordActivityTaskHeartbeat

func (mr *MockInterfaceMockRecorder) RecordActivityTaskHeartbeat(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RecordActivityTaskHeartbeat indicates an expected call of RecordActivityTaskHeartbeat.

func (*MockInterfaceMockRecorder) RecordActivityTaskHeartbeatByID

func (mr *MockInterfaceMockRecorder) RecordActivityTaskHeartbeatByID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RecordActivityTaskHeartbeatByID indicates an expected call of RecordActivityTaskHeartbeatByID.

func (*MockInterfaceMockRecorder) RegisterDomain

func (mr *MockInterfaceMockRecorder) RegisterDomain(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RegisterDomain indicates an expected call of RegisterDomain.

func (*MockInterfaceMockRecorder) RequestCancelWorkflowExecution

func (mr *MockInterfaceMockRecorder) RequestCancelWorkflowExecution(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RequestCancelWorkflowExecution indicates an expected call of RequestCancelWorkflowExecution.

func (*MockInterfaceMockRecorder) ResetStickyTaskList

func (mr *MockInterfaceMockRecorder) ResetStickyTaskList(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ResetStickyTaskList indicates an expected call of ResetStickyTaskList.

func (*MockInterfaceMockRecorder) ResetWorkflowExecution

func (mr *MockInterfaceMockRecorder) ResetWorkflowExecution(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ResetWorkflowExecution indicates an expected call of ResetWorkflowExecution.

func (*MockInterfaceMockRecorder) RespondActivityTaskCanceled

func (mr *MockInterfaceMockRecorder) RespondActivityTaskCanceled(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RespondActivityTaskCanceled indicates an expected call of RespondActivityTaskCanceled.

func (*MockInterfaceMockRecorder) RespondActivityTaskCanceledByID

func (mr *MockInterfaceMockRecorder) RespondActivityTaskCanceledByID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RespondActivityTaskCanceledByID indicates an expected call of RespondActivityTaskCanceledByID.

func (*MockInterfaceMockRecorder) RespondActivityTaskCompleted

func (mr *MockInterfaceMockRecorder) RespondActivityTaskCompleted(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RespondActivityTaskCompleted indicates an expected call of RespondActivityTaskCompleted.

func (*MockInterfaceMockRecorder) RespondActivityTaskCompletedByID

func (mr *MockInterfaceMockRecorder) RespondActivityTaskCompletedByID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RespondActivityTaskCompletedByID indicates an expected call of RespondActivityTaskCompletedByID.

func (*MockInterfaceMockRecorder) RespondActivityTaskFailed

func (mr *MockInterfaceMockRecorder) RespondActivityTaskFailed(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RespondActivityTaskFailed indicates an expected call of RespondActivityTaskFailed.

func (*MockInterfaceMockRecorder) RespondActivityTaskFailedByID

func (mr *MockInterfaceMockRecorder) RespondActivityTaskFailedByID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RespondActivityTaskFailedByID indicates an expected call of RespondActivityTaskFailedByID.

func (*MockInterfaceMockRecorder) RespondDecisionTaskCompleted

func (mr *MockInterfaceMockRecorder) RespondDecisionTaskCompleted(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RespondDecisionTaskCompleted indicates an expected call of RespondDecisionTaskCompleted.

func (*MockInterfaceMockRecorder) RespondDecisionTaskFailed

func (mr *MockInterfaceMockRecorder) RespondDecisionTaskFailed(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RespondDecisionTaskFailed indicates an expected call of RespondDecisionTaskFailed.

func (*MockInterfaceMockRecorder) RespondQueryTaskCompleted

func (mr *MockInterfaceMockRecorder) RespondQueryTaskCompleted(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RespondQueryTaskCompleted indicates an expected call of RespondQueryTaskCompleted.

func (*MockInterfaceMockRecorder) ScanWorkflowExecutions

func (mr *MockInterfaceMockRecorder) ScanWorkflowExecutions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ScanWorkflowExecutions indicates an expected call of ScanWorkflowExecutions.

func (*MockInterfaceMockRecorder) SignalWithStartWorkflowExecution

func (mr *MockInterfaceMockRecorder) SignalWithStartWorkflowExecution(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SignalWithStartWorkflowExecution indicates an expected call of SignalWithStartWorkflowExecution.

func (*MockInterfaceMockRecorder) SignalWorkflowExecution

func (mr *MockInterfaceMockRecorder) SignalWorkflowExecution(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SignalWorkflowExecution indicates an expected call of SignalWorkflowExecution.

func (*MockInterfaceMockRecorder) StartWorkflowExecution

func (mr *MockInterfaceMockRecorder) StartWorkflowExecution(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

StartWorkflowExecution indicates an expected call of StartWorkflowExecution.

func (*MockInterfaceMockRecorder) TerminateWorkflowExecution

func (mr *MockInterfaceMockRecorder) TerminateWorkflowExecution(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

TerminateWorkflowExecution indicates an expected call of TerminateWorkflowExecution.

func (*MockInterfaceMockRecorder) UpdateDomain

func (mr *MockInterfaceMockRecorder) UpdateDomain(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UpdateDomain indicates an expected call of UpdateDomain.

type QueryFailedError

type QueryFailedError struct {
	Message string
}

func (QueryFailedError) Error

func (err QueryFailedError) Error() string

type ServiceBusyError

type ServiceBusyError struct {
	Message string
}

func (ServiceBusyError) Error

func (err ServiceBusyError) Error() string

type WorkflowExecutionAlreadyCompletedError

type WorkflowExecutionAlreadyCompletedError struct {
	Message string
}

func (WorkflowExecutionAlreadyCompletedError) Error

type WorkflowExecutionAlreadyStartedError

type WorkflowExecutionAlreadyStartedError struct {
	Message        string
	StartRequestID string
	RunID          string
}

func (WorkflowExecutionAlreadyStartedError) Error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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