mocks

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMockLaunchPlanManager

func NewMockLaunchPlanManager() interfaces.LaunchPlanInterface

Types

type CreateExecutionFunc

type CreateExecutionFunc func(
	ctx context.Context, request *admin.ExecutionCreateRequest, requestedAt time.Time) (
	*admin.ExecutionCreateResponse, error)

type CreateLaunchPlanFunc

type CreateLaunchPlanFunc func(ctx context.Context, request *admin.LaunchPlanCreateRequest) (
	*admin.LaunchPlanCreateResponse, error)

type CreateProjectFunc

type CreateProjectFunc func(ctx context.Context, request *admin.ProjectRegisterRequest) (*admin.ProjectRegisterResponse, error)

type CreateTaskExecutionEventFunc

type CreateTaskExecutionEventFunc func(ctx context.Context, request *admin.TaskExecutionEventRequest) (
	*admin.TaskExecutionEventResponse, error)

type CreateTaskFunc

type CreateTaskFunc func(ctx context.Context, request *admin.TaskCreateRequest) (*admin.TaskCreateResponse, error)

type CreateWorkflowFunc

type CreateWorkflowFunc func(ctx context.Context, request *admin.WorkflowCreateRequest) (*admin.WorkflowCreateResponse, error)

type GetActiveLaunchPlanFunc

type GetActiveLaunchPlanFunc func(ctx context.Context, request *admin.ActiveLaunchPlanRequest) (
	*admin.LaunchPlan, error)

type GetDomainsFunc added in v1.13.0

type GetDomainsFunc func(ctx context.Context, request *admin.GetDomainRequest) *admin.GetDomainsResponse

type GetExecutionFunc

type GetExecutionFunc func(ctx context.Context, request *admin.WorkflowExecutionGetRequest) (*admin.Execution, error)

type GetLaunchPlanFunc

type GetLaunchPlanFunc func(ctx context.Context, request *admin.ObjectGetRequest) (
	*admin.LaunchPlan, error)

type GetNamedEntityFunc

type GetNamedEntityFunc func(ctx context.Context, request *admin.NamedEntityGetRequest) (*admin.NamedEntity, error)

type GetNodeExecutionFunc

type GetNodeExecutionFunc func(ctx context.Context, request *admin.NodeExecutionGetRequest) (*admin.NodeExecution, error)

type GetProjectFunc added in v1.12.0

type GetProjectFunc func(ctx context.Context, request *admin.ProjectGetRequest) (*admin.Project, error)

type GetResourceFunc

type GetResourceFunc func(ctx context.Context, request interfaces.ResourceRequest) (*interfaces.ResourceResponse, error)

type GetTaskExecutionFunc

type GetTaskExecutionFunc func(ctx context.Context, request *admin.TaskExecutionGetRequest) (
	*admin.TaskExecution, error)

type GetWorkflowFunc

type GetWorkflowFunc func(ctx context.Context, request *admin.ObjectGetRequest) (*admin.Workflow, error)

type ListActiveLaunchPlansFunc

type ListActiveLaunchPlansFunc func(ctx context.Context, request *admin.ActiveLaunchPlanListRequest) (
	*admin.LaunchPlanList, error)

type ListExecutionFunc

type ListExecutionFunc func(ctx context.Context, request *admin.ResourceListRequest) (*admin.ExecutionList, error)

type ListLaunchPlansFunc

type ListLaunchPlansFunc func(ctx context.Context, request *admin.ResourceListRequest) (
	*admin.LaunchPlanList, error)

type ListNamedEntitiesFunc

type ListNamedEntitiesFunc func(ctx context.Context, request *admin.NamedEntityListRequest) (*admin.NamedEntityList, error)

type ListNodeExecutionsForTaskFunc

type ListNodeExecutionsForTaskFunc func(ctx context.Context, request *admin.NodeExecutionForTaskListRequest) (
	*admin.NodeExecutionList, error)

type ListNodeExecutionsFunc

type ListNodeExecutionsFunc func(
	ctx context.Context, request *admin.NodeExecutionListRequest) (*admin.NodeExecutionList, error)

type ListProjectFunc

type ListProjectFunc func(ctx context.Context, request *admin.ProjectListRequest) (*admin.Projects, error)

type ListTaskExecutionsFunc

type ListTaskExecutionsFunc func(ctx context.Context, request *admin.TaskExecutionListRequest) (
	*admin.TaskExecutionList, error)

type MetricsInterface

type MetricsInterface struct {
	mock.Mock
}

MetricsInterface is an autogenerated mock type for the MetricsInterface type

func (*MetricsInterface) GetExecutionMetrics

GetExecutionMetrics provides a mock function with given fields: ctx, request

func (*MetricsInterface) OnGetExecutionMetricsMatch

func (_m *MetricsInterface) OnGetExecutionMetricsMatch(matchers ...interface{}) *MetricsInterface_GetExecutionMetrics

type MetricsInterface_GetExecutionMetrics

type MetricsInterface_GetExecutionMetrics struct {
	*mock.Call
}

type MockExecutionManager

type MockExecutionManager struct {
	RecoverExecutionFunc RecoverExecutionFunc
	// contains filtered or unexported fields
}

func (*MockExecutionManager) CreateExecution

func (m *MockExecutionManager) CreateExecution(
	ctx context.Context, request *admin.ExecutionCreateRequest, requestedAt time.Time) (
	*admin.ExecutionCreateResponse, error)

func (*MockExecutionManager) CreateWorkflowEvent

func (*MockExecutionManager) GetExecution

func (*MockExecutionManager) GetExecutionData

func (*MockExecutionManager) ListExecutions

func (m *MockExecutionManager) ListExecutions(
	ctx context.Context, request *admin.ResourceListRequest) (*admin.ExecutionList, error)

func (*MockExecutionManager) RecoverExecution

func (m *MockExecutionManager) RecoverExecution(ctx context.Context, request *admin.ExecutionRecoverRequest, requestedAt time.Time) (
	*admin.ExecutionCreateResponse, error)

func (*MockExecutionManager) RelaunchExecution

func (m *MockExecutionManager) RelaunchExecution(
	ctx context.Context, request *admin.ExecutionRelaunchRequest, requestedAt time.Time) (
	*admin.ExecutionCreateResponse, error)

func (*MockExecutionManager) SetCreateCallback

func (m *MockExecutionManager) SetCreateCallback(createFunction CreateExecutionFunc)

func (*MockExecutionManager) SetCreateEventCallback

func (m *MockExecutionManager) SetCreateEventCallback(createEventFunc CreateExecutionEventFunc)

func (*MockExecutionManager) SetGetCallback

func (m *MockExecutionManager) SetGetCallback(getExecutionFunc GetExecutionFunc)

func (*MockExecutionManager) SetGetDataCallback

func (m *MockExecutionManager) SetGetDataCallback(getExecutionDataFunc GetExecutionDataFunc)

func (*MockExecutionManager) SetListCallback

func (m *MockExecutionManager) SetListCallback(listExecutionFunc ListExecutionFunc)

func (*MockExecutionManager) SetRelaunchCallback

func (m *MockExecutionManager) SetRelaunchCallback(relaunchFunction RelaunchExecutionFunc)

func (*MockExecutionManager) SetTerminateExecutionCallback

func (m *MockExecutionManager) SetTerminateExecutionCallback(terminateExecutionFunc TerminateExecutionFunc)

func (*MockExecutionManager) SetUpdateExecutionCallback

func (m *MockExecutionManager) SetUpdateExecutionCallback(updateExecutionFunc UpdateExecutionFunc)

func (*MockExecutionManager) TerminateExecution

func (*MockExecutionManager) UpdateExecution

func (m *MockExecutionManager) UpdateExecution(ctx context.Context, request *admin.ExecutionUpdateRequest,
	requestedAt time.Time) (*admin.ExecutionUpdateResponse, error)

type MockLaunchPlanManager

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

func (*MockLaunchPlanManager) CreateLaunchPlan

func (*MockLaunchPlanManager) GetActiveLaunchPlan

func (r *MockLaunchPlanManager) GetActiveLaunchPlan(ctx context.Context, request *admin.ActiveLaunchPlanRequest) (
	*admin.LaunchPlan, error)

func (*MockLaunchPlanManager) GetLaunchPlan

func (r *MockLaunchPlanManager) GetLaunchPlan(ctx context.Context, request *admin.ObjectGetRequest) (
	*admin.LaunchPlan, error)

func (*MockLaunchPlanManager) ListActiveLaunchPlans

func (r *MockLaunchPlanManager) ListActiveLaunchPlans(ctx context.Context, request *admin.ActiveLaunchPlanListRequest) (
	*admin.LaunchPlanList, error)

func (*MockLaunchPlanManager) ListLaunchPlanIds

func (*MockLaunchPlanManager) ListLaunchPlans

func (*MockLaunchPlanManager) SetCreateCallback

func (r *MockLaunchPlanManager) SetCreateCallback(createFunction CreateLaunchPlanFunc)

func (*MockLaunchPlanManager) SetGetActiveLaunchPlanCallback

func (r *MockLaunchPlanManager) SetGetActiveLaunchPlanCallback(plansFunc GetActiveLaunchPlanFunc)

func (*MockLaunchPlanManager) SetListActiveLaunchPlansCallback

func (r *MockLaunchPlanManager) SetListActiveLaunchPlansCallback(plansFunc ListActiveLaunchPlansFunc)

func (*MockLaunchPlanManager) SetListLaunchPlansCallback

func (r *MockLaunchPlanManager) SetListLaunchPlansCallback(listLaunchPlansFunc ListLaunchPlansFunc)

func (*MockLaunchPlanManager) SetUpdateLaunchPlan

func (r *MockLaunchPlanManager) SetUpdateLaunchPlan(updateFunction UpdateLaunchPlanFunc)

func (*MockLaunchPlanManager) UpdateLaunchPlan

type MockNodeExecutionManager

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

func (*MockNodeExecutionManager) CreateNodeEvent

func (*MockNodeExecutionManager) GetDynamicNodeWorkflow added in v1.10.7

func (*MockNodeExecutionManager) GetNodeExecution

func (*MockNodeExecutionManager) GetNodeExecutionData

func (*MockNodeExecutionManager) ListNodeExecutions

func (*MockNodeExecutionManager) ListNodeExecutionsForTask

func (*MockNodeExecutionManager) SetCreateNodeEventCallback

func (m *MockNodeExecutionManager) SetCreateNodeEventCallback(createNodeEventFunc CreateNodeEventFunc)

func (*MockNodeExecutionManager) SetGetNodeExecutionDataFunc

func (m *MockNodeExecutionManager) SetGetNodeExecutionDataFunc(getNodeExecutionDataFunc GetNodeExecutionDataFunc)

func (*MockNodeExecutionManager) SetGetNodeExecutionFunc

func (m *MockNodeExecutionManager) SetGetNodeExecutionFunc(getNodeExecutionFunc GetNodeExecutionFunc)

func (*MockNodeExecutionManager) SetListNodeExecutionsForTaskFunc

func (m *MockNodeExecutionManager) SetListNodeExecutionsForTaskFunc(listNodeExecutionsForTaskFunc ListNodeExecutionsForTaskFunc)

func (*MockNodeExecutionManager) SetListNodeExecutionsFunc

func (m *MockNodeExecutionManager) SetListNodeExecutionsFunc(listNodeExecutionsFunc ListNodeExecutionsFunc)

type MockProjectManager

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

func (*MockProjectManager) CreateProject

func (*MockProjectManager) GetDomains added in v1.13.0

func (*MockProjectManager) GetProject added in v1.12.0

func (m *MockProjectManager) GetProject(ctx context.Context, request *admin.ProjectGetRequest) (*admin.Project, error)

func (*MockProjectManager) ListProjects

func (m *MockProjectManager) ListProjects(
	ctx context.Context, request *admin.ProjectListRequest) (*admin.Projects, error)

func (*MockProjectManager) SetCreateProject

func (m *MockProjectManager) SetCreateProject(createProjectFunc CreateProjectFunc)

func (*MockProjectManager) SetGetCallBack added in v1.12.0

func (m *MockProjectManager) SetGetCallBack(getProjectFunc GetProjectFunc)

func (*MockProjectManager) SetListCallback

func (m *MockProjectManager) SetListCallback(listProjectFunc ListProjectFunc)

func (*MockProjectManager) UpdateProject

func (m *MockProjectManager) UpdateProject(ctx context.Context, request *admin.Project) (*admin.ProjectUpdateResponse, error)

type MockResourceManager

type MockResourceManager struct {
	GetFunc         GetProjectDomainFunc
	DeleteFunc      DeleteProjectDomainFunc
	ListFunc        ListResourceFunc
	GetResourceFunc GetResourceFunc
	// contains filtered or unexported fields
}

func (*MockResourceManager) DeleteProjectAttributes

func (*MockResourceManager) DeleteWorkflowAttributes

func (*MockResourceManager) GetProjectAttributes

func (*MockResourceManager) GetProjectDomainAttributes

func (*MockResourceManager) GetResource

func (*MockResourceManager) GetWorkflowAttributes

func (*MockResourceManager) SetDeleteProjectAttributes

func (m *MockResourceManager) SetDeleteProjectAttributes(deleteProjectFunc DeleteProjectAttrFunc)

func (*MockResourceManager) SetGetProjectAttributes

func (m *MockResourceManager) SetGetProjectAttributes(getProjectFunc GetProjectAttrFunc)

func (*MockResourceManager) SetUpdateProjectAttributes

func (m *MockResourceManager) SetUpdateProjectAttributes(updateProjectAttrsFunc UpdateProjectAttrsFunc)

func (*MockResourceManager) SetUpdateProjectDomainAttributes

func (m *MockResourceManager) SetUpdateProjectDomainAttributes(updateProjectDomainFunc UpdateProjectDomainFunc)

func (*MockResourceManager) UpdateProjectAttributes

func (*MockResourceManager) UpdateWorkflowAttributes

type MockTaskExecutionManager

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

func (*MockTaskExecutionManager) CreateTaskExecutionEvent

func (*MockTaskExecutionManager) GetTaskExecution

func (*MockTaskExecutionManager) GetTaskExecutionData

func (*MockTaskExecutionManager) ListTaskExecutions

func (*MockTaskExecutionManager) SetCreateTaskEventCallback

func (m *MockTaskExecutionManager) SetCreateTaskEventCallback(
	createFunc CreateTaskExecutionEventFunc)

func (*MockTaskExecutionManager) SetGetTaskExecutionCallback

func (m *MockTaskExecutionManager) SetGetTaskExecutionCallback(
	getTaskExecutionFunc GetTaskExecutionFunc)

func (*MockTaskExecutionManager) SetGetTaskExecutionDataCallback

func (m *MockTaskExecutionManager) SetGetTaskExecutionDataCallback(
	getTaskExecutionDataFunc GetTaskExecutionDataFunc)

func (*MockTaskExecutionManager) SetListTaskExecutionsCallback

func (m *MockTaskExecutionManager) SetListTaskExecutionsCallback(
	listTaskExecutionsFunc ListTaskExecutionsFunc)

type MockTaskManager

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

func (*MockTaskManager) CreateTask

func (*MockTaskManager) GetTask

func (r *MockTaskManager) GetTask(ctx context.Context, request *admin.ObjectGetRequest) (*admin.Task, error)

func (*MockTaskManager) ListTasks

func (r *MockTaskManager) ListTasks(ctx context.Context, request *admin.ResourceListRequest) (*admin.TaskList, error)

func (*MockTaskManager) ListUniqueTaskIdentifiers

func (*MockTaskManager) SetCreateCallback

func (r *MockTaskManager) SetCreateCallback(createFunction CreateTaskFunc)

func (*MockTaskManager) SetListUniqueIdsFunc

func (r *MockTaskManager) SetListUniqueIdsFunc(fn ListUniqueIdsFunc)

type MockWorkflowManager

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

func (*MockWorkflowManager) CreateWorkflow

func (*MockWorkflowManager) GetWorkflow

func (r *MockWorkflowManager) GetWorkflow(
	ctx context.Context, request *admin.ObjectGetRequest) (*admin.Workflow, error)

func (*MockWorkflowManager) ListWorkflowIdentifiers

func (*MockWorkflowManager) ListWorkflows

func (*MockWorkflowManager) SetCreateCallback

func (r *MockWorkflowManager) SetCreateCallback(createFunction CreateWorkflowFunc)

func (*MockWorkflowManager) SetGetCallback

func (r *MockWorkflowManager) SetGetCallback(getFunction GetWorkflowFunc)

type NamedEntityManager

type NamedEntityManager struct {
	GetNamedEntityFunc    GetNamedEntityFunc
	UpdateNamedEntityFunc UpdateNamedEntityFunc
	ListNamedEntitiesFunc ListNamedEntitiesFunc
}

func (*NamedEntityManager) GetNamedEntity

func (m *NamedEntityManager) GetNamedEntity(ctx context.Context, request *admin.NamedEntityGetRequest) (*admin.NamedEntity, error)

func (*NamedEntityManager) ListNamedEntities

func (m *NamedEntityManager) ListNamedEntities(ctx context.Context, request *admin.NamedEntityListRequest) (*admin.NamedEntityList, error)

func (*NamedEntityManager) UpdateNamedEntity

type RecoverExecutionFunc

type RecoverExecutionFunc func(ctx context.Context, request *admin.ExecutionRecoverRequest, requestedAt time.Time) (
	*admin.ExecutionCreateResponse, error)

type RelaunchExecutionFunc

type RelaunchExecutionFunc func(
	ctx context.Context, request *admin.ExecutionRelaunchRequest, requestedAt time.Time) (
	*admin.ExecutionCreateResponse, error)

type ResourceInterface added in v1.13.3

type ResourceInterface struct {
	mock.Mock
}

ResourceInterface is an autogenerated mock type for the ResourceInterface type

func (*ResourceInterface) DeleteProjectAttributes added in v1.13.3

DeleteProjectAttributes provides a mock function with given fields: ctx, request

func (*ResourceInterface) DeleteProjectDomainAttributes added in v1.13.3

DeleteProjectDomainAttributes provides a mock function with given fields: ctx, request

func (*ResourceInterface) DeleteWorkflowAttributes added in v1.13.3

DeleteWorkflowAttributes provides a mock function with given fields: ctx, request

func (*ResourceInterface) GetProjectAttributes added in v1.13.3

GetProjectAttributes provides a mock function with given fields: ctx, request

func (*ResourceInterface) GetProjectDomainAttributes added in v1.13.3

GetProjectDomainAttributes provides a mock function with given fields: ctx, request

func (*ResourceInterface) GetResource added in v1.13.3

GetResource provides a mock function with given fields: ctx, request

func (*ResourceInterface) GetWorkflowAttributes added in v1.13.3

GetWorkflowAttributes provides a mock function with given fields: ctx, request

func (*ResourceInterface) ListAll added in v1.13.3

ListAll provides a mock function with given fields: ctx, request

func (*ResourceInterface) OnDeleteProjectAttributes added in v1.13.3

func (*ResourceInterface) OnDeleteProjectAttributesMatch added in v1.13.3

func (_m *ResourceInterface) OnDeleteProjectAttributesMatch(matchers ...interface{}) *ResourceInterface_DeleteProjectAttributes

func (*ResourceInterface) OnDeleteProjectDomainAttributes added in v1.13.3

func (*ResourceInterface) OnDeleteProjectDomainAttributesMatch added in v1.13.3

func (_m *ResourceInterface) OnDeleteProjectDomainAttributesMatch(matchers ...interface{}) *ResourceInterface_DeleteProjectDomainAttributes

func (*ResourceInterface) OnDeleteWorkflowAttributes added in v1.13.3

func (*ResourceInterface) OnDeleteWorkflowAttributesMatch added in v1.13.3

func (_m *ResourceInterface) OnDeleteWorkflowAttributesMatch(matchers ...interface{}) *ResourceInterface_DeleteWorkflowAttributes

func (*ResourceInterface) OnGetProjectAttributes added in v1.13.3

func (*ResourceInterface) OnGetProjectAttributesMatch added in v1.13.3

func (_m *ResourceInterface) OnGetProjectAttributesMatch(matchers ...interface{}) *ResourceInterface_GetProjectAttributes

func (*ResourceInterface) OnGetProjectDomainAttributes added in v1.13.3

func (*ResourceInterface) OnGetProjectDomainAttributesMatch added in v1.13.3

func (_m *ResourceInterface) OnGetProjectDomainAttributesMatch(matchers ...interface{}) *ResourceInterface_GetProjectDomainAttributes

func (*ResourceInterface) OnGetResource added in v1.13.3

func (*ResourceInterface) OnGetResourceMatch added in v1.13.3

func (_m *ResourceInterface) OnGetResourceMatch(matchers ...interface{}) *ResourceInterface_GetResource

func (*ResourceInterface) OnGetWorkflowAttributes added in v1.13.3

func (*ResourceInterface) OnGetWorkflowAttributesMatch added in v1.13.3

func (_m *ResourceInterface) OnGetWorkflowAttributesMatch(matchers ...interface{}) *ResourceInterface_GetWorkflowAttributes

func (*ResourceInterface) OnListAll added in v1.13.3

func (*ResourceInterface) OnListAllMatch added in v1.13.3

func (_m *ResourceInterface) OnListAllMatch(matchers ...interface{}) *ResourceInterface_ListAll

func (*ResourceInterface) OnUpdateProjectAttributes added in v1.13.3

func (*ResourceInterface) OnUpdateProjectAttributesMatch added in v1.13.3

func (_m *ResourceInterface) OnUpdateProjectAttributesMatch(matchers ...interface{}) *ResourceInterface_UpdateProjectAttributes

func (*ResourceInterface) OnUpdateProjectDomainAttributes added in v1.13.3

func (*ResourceInterface) OnUpdateProjectDomainAttributesMatch added in v1.13.3

func (_m *ResourceInterface) OnUpdateProjectDomainAttributesMatch(matchers ...interface{}) *ResourceInterface_UpdateProjectDomainAttributes

func (*ResourceInterface) OnUpdateWorkflowAttributes added in v1.13.3

func (*ResourceInterface) OnUpdateWorkflowAttributesMatch added in v1.13.3

func (_m *ResourceInterface) OnUpdateWorkflowAttributesMatch(matchers ...interface{}) *ResourceInterface_UpdateWorkflowAttributes

func (*ResourceInterface) UpdateProjectAttributes added in v1.13.3

UpdateProjectAttributes provides a mock function with given fields: ctx, request

func (*ResourceInterface) UpdateProjectDomainAttributes added in v1.13.3

UpdateProjectDomainAttributes provides a mock function with given fields: ctx, request

func (*ResourceInterface) UpdateWorkflowAttributes added in v1.13.3

UpdateWorkflowAttributes provides a mock function with given fields: ctx, request

type ResourceInterface_DeleteProjectAttributes added in v1.13.3

type ResourceInterface_DeleteProjectAttributes struct {
	*mock.Call
}

func (ResourceInterface_DeleteProjectAttributes) Return added in v1.13.3

type ResourceInterface_DeleteProjectDomainAttributes added in v1.13.3

type ResourceInterface_DeleteProjectDomainAttributes struct {
	*mock.Call
}

func (ResourceInterface_DeleteProjectDomainAttributes) Return added in v1.13.3

type ResourceInterface_DeleteWorkflowAttributes added in v1.13.3

type ResourceInterface_DeleteWorkflowAttributes struct {
	*mock.Call
}

func (ResourceInterface_DeleteWorkflowAttributes) Return added in v1.13.3

type ResourceInterface_GetProjectAttributes added in v1.13.3

type ResourceInterface_GetProjectAttributes struct {
	*mock.Call
}

func (ResourceInterface_GetProjectAttributes) Return added in v1.13.3

type ResourceInterface_GetProjectDomainAttributes added in v1.13.3

type ResourceInterface_GetProjectDomainAttributes struct {
	*mock.Call
}

func (ResourceInterface_GetProjectDomainAttributes) Return added in v1.13.3

type ResourceInterface_GetResource added in v1.13.3

type ResourceInterface_GetResource struct {
	*mock.Call
}

func (ResourceInterface_GetResource) Return added in v1.13.3

type ResourceInterface_GetWorkflowAttributes added in v1.13.3

type ResourceInterface_GetWorkflowAttributes struct {
	*mock.Call
}

func (ResourceInterface_GetWorkflowAttributes) Return added in v1.13.3

type ResourceInterface_ListAll added in v1.13.3

type ResourceInterface_ListAll struct {
	*mock.Call
}

func (ResourceInterface_ListAll) Return added in v1.13.3

type ResourceInterface_UpdateProjectAttributes added in v1.13.3

type ResourceInterface_UpdateProjectAttributes struct {
	*mock.Call
}

func (ResourceInterface_UpdateProjectAttributes) Return added in v1.13.3

type ResourceInterface_UpdateProjectDomainAttributes added in v1.13.3

type ResourceInterface_UpdateProjectDomainAttributes struct {
	*mock.Call
}

func (ResourceInterface_UpdateProjectDomainAttributes) Return added in v1.13.3

type ResourceInterface_UpdateWorkflowAttributes added in v1.13.3

type ResourceInterface_UpdateWorkflowAttributes struct {
	*mock.Call
}

func (ResourceInterface_UpdateWorkflowAttributes) Return added in v1.13.3

type SignalInterface

type SignalInterface struct {
	mock.Mock
}

SignalInterface is an autogenerated mock type for the SignalInterface type

func NewSignalInterface added in v1.13.0

func NewSignalInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *SignalInterface

NewSignalInterface creates a new instance of SignalInterface. 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 (*SignalInterface) EXPECT added in v1.13.0

func (*SignalInterface) GetOrCreateSignal

func (_m *SignalInterface) GetOrCreateSignal(ctx context.Context, request *admin.SignalGetOrCreateRequest) (*admin.Signal, error)

GetOrCreateSignal provides a mock function with given fields: ctx, request

func (*SignalInterface) ListSignals

func (_m *SignalInterface) ListSignals(ctx context.Context, request *admin.SignalListRequest) (*admin.SignalList, error)

ListSignals provides a mock function with given fields: ctx, request

func (*SignalInterface) SetSignal

SetSignal provides a mock function with given fields: ctx, request

type SignalInterface_Expecter added in v1.13.0

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

func (*SignalInterface_Expecter) GetOrCreateSignal added in v1.13.0

func (_e *SignalInterface_Expecter) GetOrCreateSignal(ctx interface{}, request interface{}) *SignalInterface_GetOrCreateSignal_Call

GetOrCreateSignal is a helper method to define mock.On call

  • ctx context.Context
  • request *admin.SignalGetOrCreateRequest

func (*SignalInterface_Expecter) ListSignals added in v1.13.0

func (_e *SignalInterface_Expecter) ListSignals(ctx interface{}, request interface{}) *SignalInterface_ListSignals_Call

ListSignals is a helper method to define mock.On call

  • ctx context.Context
  • request *admin.SignalListRequest

func (*SignalInterface_Expecter) SetSignal added in v1.13.0

func (_e *SignalInterface_Expecter) SetSignal(ctx interface{}, request interface{}) *SignalInterface_SetSignal_Call

SetSignal is a helper method to define mock.On call

  • ctx context.Context
  • request *admin.SignalSetRequest

type SignalInterface_GetOrCreateSignal_Call added in v1.13.0

type SignalInterface_GetOrCreateSignal_Call struct {
	*mock.Call
}

SignalInterface_GetOrCreateSignal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOrCreateSignal'

func (*SignalInterface_GetOrCreateSignal_Call) Return added in v1.13.0

func (*SignalInterface_GetOrCreateSignal_Call) Run added in v1.13.0

func (*SignalInterface_GetOrCreateSignal_Call) RunAndReturn added in v1.13.0

type SignalInterface_ListSignals_Call added in v1.13.0

type SignalInterface_ListSignals_Call struct {
	*mock.Call
}

SignalInterface_ListSignals_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSignals'

func (*SignalInterface_ListSignals_Call) Return added in v1.13.0

func (*SignalInterface_ListSignals_Call) Run added in v1.13.0

func (*SignalInterface_ListSignals_Call) RunAndReturn added in v1.13.0

type SignalInterface_SetSignal_Call added in v1.13.0

type SignalInterface_SetSignal_Call struct {
	*mock.Call
}

SignalInterface_SetSignal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSignal'

func (*SignalInterface_SetSignal_Call) Return added in v1.13.0

func (*SignalInterface_SetSignal_Call) Run added in v1.13.0

func (*SignalInterface_SetSignal_Call) RunAndReturn added in v1.13.0

type UpdateExecutionFunc

type UpdateExecutionFunc func(ctx context.Context, request *admin.ExecutionUpdateRequest, requestedAt time.Time) (
	*admin.ExecutionUpdateResponse, error)

type UpdateLaunchPlanFunc

type UpdateLaunchPlanFunc func(ctx context.Context, request *admin.LaunchPlanUpdateRequest) (
	*admin.LaunchPlanUpdateResponse, error)

type UpdateProjectFunc

type UpdateProjectFunc func(ctx context.Context, request *admin.Project) (*admin.ProjectUpdateResponse, error)

type VersionInterface

type VersionInterface struct {
	mock.Mock
}

VersionInterface is an autogenerated mock type for the VersionInterface type

func (*VersionInterface) GetVersion

GetVersion provides a mock function with given fields: ctx, r

func (*VersionInterface) OnGetVersion

func (*VersionInterface) OnGetVersionMatch

func (_m *VersionInterface) OnGetVersionMatch(matchers ...interface{}) *VersionInterface_GetVersion

type VersionInterface_GetVersion

type VersionInterface_GetVersion struct {
	*mock.Call
}

func (VersionInterface_GetVersion) Return

Jump to

Keyboard shortcuts

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