jobs

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 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 MockJobsInterface

type MockJobsInterface struct {
	mock.Mock
}

MockJobsInterface is an autogenerated mock type for the JobsInterface type

func NewMockJobsInterface

func NewMockJobsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockJobsInterface

NewMockJobsInterface creates a new instance of MockJobsInterface. 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 (*MockJobsInterface) BaseJobSettingsNameToJobIdMap

func (_m *MockJobsInterface) BaseJobSettingsNameToJobIdMap(ctx context.Context, request jobs.ListJobsRequest) (map[string]int64, error)

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

func (*MockJobsInterface) CancelAllRuns

func (_m *MockJobsInterface) CancelAllRuns(ctx context.Context, request jobs.CancelAllRuns) error

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

func (*MockJobsInterface) CancelRun

func (_m *MockJobsInterface) CancelRun(ctx context.Context, cancelRun jobs.CancelRun) (*jobs.WaitGetRunJobTerminatedOrSkipped[struct{}], error)

CancelRun provides a mock function with given fields: ctx, cancelRun

func (*MockJobsInterface) CancelRunAndWait

func (_m *MockJobsInterface) CancelRunAndWait(ctx context.Context, cancelRun jobs.CancelRun, options ...retries.Option[jobs.Run]) (*jobs.Run, error)

CancelRunAndWait provides a mock function with given fields: ctx, cancelRun, options

func (*MockJobsInterface) CancelRunByRunId

func (_m *MockJobsInterface) CancelRunByRunId(ctx context.Context, runId int64) error

CancelRunByRunId provides a mock function with given fields: ctx, runId

func (*MockJobsInterface) CancelRunByRunIdAndWait

func (_m *MockJobsInterface) CancelRunByRunIdAndWait(ctx context.Context, runId int64, options ...retries.Option[jobs.Run]) (*jobs.Run, error)

CancelRunByRunIdAndWait provides a mock function with given fields: ctx, runId, options

func (*MockJobsInterface) Create

func (_m *MockJobsInterface) Create(ctx context.Context, request jobs.CreateJob) (*jobs.CreateResponse, error)

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

func (*MockJobsInterface) Delete

func (_m *MockJobsInterface) Delete(ctx context.Context, request jobs.DeleteJob) error

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

func (*MockJobsInterface) DeleteByJobId

func (_m *MockJobsInterface) DeleteByJobId(ctx context.Context, jobId int64) error

DeleteByJobId provides a mock function with given fields: ctx, jobId

func (*MockJobsInterface) DeleteRun

func (_m *MockJobsInterface) DeleteRun(ctx context.Context, request jobs.DeleteRun) error

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

func (*MockJobsInterface) DeleteRunByRunId

func (_m *MockJobsInterface) DeleteRunByRunId(ctx context.Context, runId int64) error

DeleteRunByRunId provides a mock function with given fields: ctx, runId

func (*MockJobsInterface) EXPECT

func (*MockJobsInterface) ExportRun

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

func (*MockJobsInterface) Get

func (_m *MockJobsInterface) Get(ctx context.Context, request jobs.GetJobRequest) (*jobs.Job, error)

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

func (*MockJobsInterface) GetByJobId

func (_m *MockJobsInterface) GetByJobId(ctx context.Context, jobId int64) (*jobs.Job, error)

GetByJobId provides a mock function with given fields: ctx, jobId

func (*MockJobsInterface) GetBySettingsName

func (_m *MockJobsInterface) GetBySettingsName(ctx context.Context, name string) (*jobs.BaseJob, error)

GetBySettingsName provides a mock function with given fields: ctx, name

func (*MockJobsInterface) GetPermissionLevels

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

func (*MockJobsInterface) GetPermissionLevelsByJobId

func (_m *MockJobsInterface) GetPermissionLevelsByJobId(ctx context.Context, jobId string) (*jobs.GetJobPermissionLevelsResponse, error)

GetPermissionLevelsByJobId provides a mock function with given fields: ctx, jobId

func (*MockJobsInterface) GetPermissions

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

func (*MockJobsInterface) GetPermissionsByJobId

func (_m *MockJobsInterface) GetPermissionsByJobId(ctx context.Context, jobId string) (*jobs.JobPermissions, error)

GetPermissionsByJobId provides a mock function with given fields: ctx, jobId

func (*MockJobsInterface) GetRun

func (_m *MockJobsInterface) GetRun(ctx context.Context, request jobs.GetRunRequest) (*jobs.Run, error)

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

func (*MockJobsInterface) GetRunOutput

func (_m *MockJobsInterface) GetRunOutput(ctx context.Context, request jobs.GetRunOutputRequest) (*jobs.RunOutput, error)

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

func (*MockJobsInterface) GetRunOutputByRunId

func (_m *MockJobsInterface) GetRunOutputByRunId(ctx context.Context, runId int64) (*jobs.RunOutput, error)

GetRunOutputByRunId provides a mock function with given fields: ctx, runId

func (*MockJobsInterface) Impl

func (_m *MockJobsInterface) Impl() jobs.JobsService

Impl provides a mock function with given fields:

func (*MockJobsInterface) List

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

func (*MockJobsInterface) ListAll

func (_m *MockJobsInterface) ListAll(ctx context.Context, request jobs.ListJobsRequest) ([]jobs.BaseJob, error)

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

func (*MockJobsInterface) ListRuns

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

func (*MockJobsInterface) ListRunsAll

func (_m *MockJobsInterface) ListRunsAll(ctx context.Context, request jobs.ListRunsRequest) ([]jobs.BaseRun, error)

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

func (*MockJobsInterface) RepairRun

RepairRun provides a mock function with given fields: ctx, repairRun

func (*MockJobsInterface) RepairRunAndWait

func (_m *MockJobsInterface) RepairRunAndWait(ctx context.Context, repairRun jobs.RepairRun, options ...retries.Option[jobs.Run]) (*jobs.Run, error)

RepairRunAndWait provides a mock function with given fields: ctx, repairRun, options

func (*MockJobsInterface) Reset

func (_m *MockJobsInterface) Reset(ctx context.Context, request jobs.ResetJob) error

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

func (*MockJobsInterface) RunNow

RunNow provides a mock function with given fields: ctx, runNow

func (*MockJobsInterface) RunNowAndWait

func (_m *MockJobsInterface) RunNowAndWait(ctx context.Context, runNow jobs.RunNow, options ...retries.Option[jobs.Run]) (*jobs.Run, error)

RunNowAndWait provides a mock function with given fields: ctx, runNow, options

func (*MockJobsInterface) SetPermissions

func (_m *MockJobsInterface) SetPermissions(ctx context.Context, request jobs.JobPermissionsRequest) (*jobs.JobPermissions, error)

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

func (*MockJobsInterface) Submit

Submit provides a mock function with given fields: ctx, submitRun

func (*MockJobsInterface) SubmitAndWait

func (_m *MockJobsInterface) SubmitAndWait(ctx context.Context, submitRun jobs.SubmitRun, options ...retries.Option[jobs.Run]) (*jobs.Run, error)

SubmitAndWait provides a mock function with given fields: ctx, submitRun, options

func (*MockJobsInterface) Update

func (_m *MockJobsInterface) Update(ctx context.Context, request jobs.UpdateJob) error

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

func (*MockJobsInterface) UpdatePermissions

func (_m *MockJobsInterface) UpdatePermissions(ctx context.Context, request jobs.JobPermissionsRequest) (*jobs.JobPermissions, error)

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

func (*MockJobsInterface) WaitGetRunJobTerminatedOrSkipped

func (_m *MockJobsInterface) WaitGetRunJobTerminatedOrSkipped(ctx context.Context, runId int64, timeout time.Duration, callback func(*jobs.Run)) (*jobs.Run, error)

WaitGetRunJobTerminatedOrSkipped provides a mock function with given fields: ctx, runId, timeout, callback

func (*MockJobsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockJobsInterface_BaseJobSettingsNameToJobIdMap_Call

type MockJobsInterface_BaseJobSettingsNameToJobIdMap_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_BaseJobSettingsNameToJobIdMap_Call) Return

func (*MockJobsInterface_BaseJobSettingsNameToJobIdMap_Call) Run

func (*MockJobsInterface_BaseJobSettingsNameToJobIdMap_Call) RunAndReturn

type MockJobsInterface_CancelAllRuns_Call

type MockJobsInterface_CancelAllRuns_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_CancelAllRuns_Call) Return

func (*MockJobsInterface_CancelAllRuns_Call) Run

func (*MockJobsInterface_CancelAllRuns_Call) RunAndReturn

type MockJobsInterface_CancelRunAndWait_Call

type MockJobsInterface_CancelRunAndWait_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_CancelRunAndWait_Call) Return

func (*MockJobsInterface_CancelRunAndWait_Call) Run

func (*MockJobsInterface_CancelRunAndWait_Call) RunAndReturn

type MockJobsInterface_CancelRunByRunIdAndWait_Call

type MockJobsInterface_CancelRunByRunIdAndWait_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_CancelRunByRunIdAndWait_Call) Return

func (*MockJobsInterface_CancelRunByRunIdAndWait_Call) Run

func (*MockJobsInterface_CancelRunByRunIdAndWait_Call) RunAndReturn

type MockJobsInterface_CancelRunByRunId_Call

type MockJobsInterface_CancelRunByRunId_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_CancelRunByRunId_Call) Return

func (*MockJobsInterface_CancelRunByRunId_Call) Run

func (*MockJobsInterface_CancelRunByRunId_Call) RunAndReturn

type MockJobsInterface_CancelRun_Call

type MockJobsInterface_CancelRun_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_CancelRun_Call) Return

func (*MockJobsInterface_CancelRun_Call) Run

func (*MockJobsInterface_CancelRun_Call) RunAndReturn

type MockJobsInterface_Create_Call

type MockJobsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_Create_Call) Return

func (*MockJobsInterface_Create_Call) Run

func (*MockJobsInterface_Create_Call) RunAndReturn

type MockJobsInterface_DeleteByJobId_Call

type MockJobsInterface_DeleteByJobId_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_DeleteByJobId_Call) Return

func (*MockJobsInterface_DeleteByJobId_Call) Run

func (*MockJobsInterface_DeleteByJobId_Call) RunAndReturn

type MockJobsInterface_DeleteRunByRunId_Call

type MockJobsInterface_DeleteRunByRunId_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_DeleteRunByRunId_Call) Return

func (*MockJobsInterface_DeleteRunByRunId_Call) Run

func (*MockJobsInterface_DeleteRunByRunId_Call) RunAndReturn

type MockJobsInterface_DeleteRun_Call

type MockJobsInterface_DeleteRun_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_DeleteRun_Call) Return

func (*MockJobsInterface_DeleteRun_Call) Run

func (*MockJobsInterface_DeleteRun_Call) RunAndReturn

type MockJobsInterface_Delete_Call

type MockJobsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_Delete_Call) Return

func (*MockJobsInterface_Delete_Call) Run

func (*MockJobsInterface_Delete_Call) RunAndReturn

type MockJobsInterface_Expecter

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

func (*MockJobsInterface_Expecter) BaseJobSettingsNameToJobIdMap

func (_e *MockJobsInterface_Expecter) BaseJobSettingsNameToJobIdMap(ctx interface{}, request interface{}) *MockJobsInterface_BaseJobSettingsNameToJobIdMap_Call

BaseJobSettingsNameToJobIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.ListJobsRequest

func (*MockJobsInterface_Expecter) CancelAllRuns

func (_e *MockJobsInterface_Expecter) CancelAllRuns(ctx interface{}, request interface{}) *MockJobsInterface_CancelAllRuns_Call

CancelAllRuns is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.CancelAllRuns

func (*MockJobsInterface_Expecter) CancelRun

func (_e *MockJobsInterface_Expecter) CancelRun(ctx interface{}, cancelRun interface{}) *MockJobsInterface_CancelRun_Call

CancelRun is a helper method to define mock.On call

  • ctx context.Context
  • cancelRun jobs.CancelRun

func (*MockJobsInterface_Expecter) CancelRunAndWait

func (_e *MockJobsInterface_Expecter) CancelRunAndWait(ctx interface{}, cancelRun interface{}, options ...interface{}) *MockJobsInterface_CancelRunAndWait_Call

CancelRunAndWait is a helper method to define mock.On call

  • ctx context.Context
  • cancelRun jobs.CancelRun
  • options ...retries.Option[jobs.Run]

func (*MockJobsInterface_Expecter) CancelRunByRunId

func (_e *MockJobsInterface_Expecter) CancelRunByRunId(ctx interface{}, runId interface{}) *MockJobsInterface_CancelRunByRunId_Call

CancelRunByRunId is a helper method to define mock.On call

  • ctx context.Context
  • runId int64

func (*MockJobsInterface_Expecter) CancelRunByRunIdAndWait

func (_e *MockJobsInterface_Expecter) CancelRunByRunIdAndWait(ctx interface{}, runId interface{}, options ...interface{}) *MockJobsInterface_CancelRunByRunIdAndWait_Call

CancelRunByRunIdAndWait is a helper method to define mock.On call

  • ctx context.Context
  • runId int64
  • options ...retries.Option[jobs.Run]

func (*MockJobsInterface_Expecter) Create

func (_e *MockJobsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockJobsInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.CreateJob

func (*MockJobsInterface_Expecter) Delete

func (_e *MockJobsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockJobsInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.DeleteJob

func (*MockJobsInterface_Expecter) DeleteByJobId

func (_e *MockJobsInterface_Expecter) DeleteByJobId(ctx interface{}, jobId interface{}) *MockJobsInterface_DeleteByJobId_Call

DeleteByJobId is a helper method to define mock.On call

  • ctx context.Context
  • jobId int64

func (*MockJobsInterface_Expecter) DeleteRun

func (_e *MockJobsInterface_Expecter) DeleteRun(ctx interface{}, request interface{}) *MockJobsInterface_DeleteRun_Call

DeleteRun is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.DeleteRun

func (*MockJobsInterface_Expecter) DeleteRunByRunId

func (_e *MockJobsInterface_Expecter) DeleteRunByRunId(ctx interface{}, runId interface{}) *MockJobsInterface_DeleteRunByRunId_Call

DeleteRunByRunId is a helper method to define mock.On call

  • ctx context.Context
  • runId int64

func (*MockJobsInterface_Expecter) ExportRun

func (_e *MockJobsInterface_Expecter) ExportRun(ctx interface{}, request interface{}) *MockJobsInterface_ExportRun_Call

ExportRun is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.ExportRunRequest

func (*MockJobsInterface_Expecter) Get

func (_e *MockJobsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockJobsInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.GetJobRequest

func (*MockJobsInterface_Expecter) GetByJobId

func (_e *MockJobsInterface_Expecter) GetByJobId(ctx interface{}, jobId interface{}) *MockJobsInterface_GetByJobId_Call

GetByJobId is a helper method to define mock.On call

  • ctx context.Context
  • jobId int64

func (*MockJobsInterface_Expecter) GetBySettingsName

func (_e *MockJobsInterface_Expecter) GetBySettingsName(ctx interface{}, name interface{}) *MockJobsInterface_GetBySettingsName_Call

GetBySettingsName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockJobsInterface_Expecter) GetPermissionLevels

func (_e *MockJobsInterface_Expecter) GetPermissionLevels(ctx interface{}, request interface{}) *MockJobsInterface_GetPermissionLevels_Call

GetPermissionLevels is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.GetJobPermissionLevelsRequest

func (*MockJobsInterface_Expecter) GetPermissionLevelsByJobId

func (_e *MockJobsInterface_Expecter) GetPermissionLevelsByJobId(ctx interface{}, jobId interface{}) *MockJobsInterface_GetPermissionLevelsByJobId_Call

GetPermissionLevelsByJobId is a helper method to define mock.On call

  • ctx context.Context
  • jobId string

func (*MockJobsInterface_Expecter) GetPermissions

func (_e *MockJobsInterface_Expecter) GetPermissions(ctx interface{}, request interface{}) *MockJobsInterface_GetPermissions_Call

GetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.GetJobPermissionsRequest

func (*MockJobsInterface_Expecter) GetPermissionsByJobId

func (_e *MockJobsInterface_Expecter) GetPermissionsByJobId(ctx interface{}, jobId interface{}) *MockJobsInterface_GetPermissionsByJobId_Call

GetPermissionsByJobId is a helper method to define mock.On call

  • ctx context.Context
  • jobId string

func (*MockJobsInterface_Expecter) GetRun

func (_e *MockJobsInterface_Expecter) GetRun(ctx interface{}, request interface{}) *MockJobsInterface_GetRun_Call

GetRun is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.GetRunRequest

func (*MockJobsInterface_Expecter) GetRunOutput

func (_e *MockJobsInterface_Expecter) GetRunOutput(ctx interface{}, request interface{}) *MockJobsInterface_GetRunOutput_Call

GetRunOutput is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.GetRunOutputRequest

func (*MockJobsInterface_Expecter) GetRunOutputByRunId

func (_e *MockJobsInterface_Expecter) GetRunOutputByRunId(ctx interface{}, runId interface{}) *MockJobsInterface_GetRunOutputByRunId_Call

GetRunOutputByRunId is a helper method to define mock.On call

  • ctx context.Context
  • runId int64

func (*MockJobsInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockJobsInterface_Expecter) List

func (_e *MockJobsInterface_Expecter) List(ctx interface{}, request interface{}) *MockJobsInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.ListJobsRequest

func (*MockJobsInterface_Expecter) ListAll

func (_e *MockJobsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockJobsInterface_ListAll_Call

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.ListJobsRequest

func (*MockJobsInterface_Expecter) ListRuns

func (_e *MockJobsInterface_Expecter) ListRuns(ctx interface{}, request interface{}) *MockJobsInterface_ListRuns_Call

ListRuns is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.ListRunsRequest

func (*MockJobsInterface_Expecter) ListRunsAll

func (_e *MockJobsInterface_Expecter) ListRunsAll(ctx interface{}, request interface{}) *MockJobsInterface_ListRunsAll_Call

ListRunsAll is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.ListRunsRequest

func (*MockJobsInterface_Expecter) RepairRun

func (_e *MockJobsInterface_Expecter) RepairRun(ctx interface{}, repairRun interface{}) *MockJobsInterface_RepairRun_Call

RepairRun is a helper method to define mock.On call

  • ctx context.Context
  • repairRun jobs.RepairRun

func (*MockJobsInterface_Expecter) RepairRunAndWait

func (_e *MockJobsInterface_Expecter) RepairRunAndWait(ctx interface{}, repairRun interface{}, options ...interface{}) *MockJobsInterface_RepairRunAndWait_Call

RepairRunAndWait is a helper method to define mock.On call

  • ctx context.Context
  • repairRun jobs.RepairRun
  • options ...retries.Option[jobs.Run]

func (*MockJobsInterface_Expecter) Reset

func (_e *MockJobsInterface_Expecter) Reset(ctx interface{}, request interface{}) *MockJobsInterface_Reset_Call

Reset is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.ResetJob

func (*MockJobsInterface_Expecter) RunNow

func (_e *MockJobsInterface_Expecter) RunNow(ctx interface{}, runNow interface{}) *MockJobsInterface_RunNow_Call

RunNow is a helper method to define mock.On call

  • ctx context.Context
  • runNow jobs.RunNow

func (*MockJobsInterface_Expecter) RunNowAndWait

func (_e *MockJobsInterface_Expecter) RunNowAndWait(ctx interface{}, runNow interface{}, options ...interface{}) *MockJobsInterface_RunNowAndWait_Call

RunNowAndWait is a helper method to define mock.On call

  • ctx context.Context
  • runNow jobs.RunNow
  • options ...retries.Option[jobs.Run]

func (*MockJobsInterface_Expecter) SetPermissions

func (_e *MockJobsInterface_Expecter) SetPermissions(ctx interface{}, request interface{}) *MockJobsInterface_SetPermissions_Call

SetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.JobPermissionsRequest

func (*MockJobsInterface_Expecter) Submit

func (_e *MockJobsInterface_Expecter) Submit(ctx interface{}, submitRun interface{}) *MockJobsInterface_Submit_Call

Submit is a helper method to define mock.On call

  • ctx context.Context
  • submitRun jobs.SubmitRun

func (*MockJobsInterface_Expecter) SubmitAndWait

func (_e *MockJobsInterface_Expecter) SubmitAndWait(ctx interface{}, submitRun interface{}, options ...interface{}) *MockJobsInterface_SubmitAndWait_Call

SubmitAndWait is a helper method to define mock.On call

  • ctx context.Context
  • submitRun jobs.SubmitRun
  • options ...retries.Option[jobs.Run]

func (*MockJobsInterface_Expecter) Update

func (_e *MockJobsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockJobsInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.UpdateJob

func (*MockJobsInterface_Expecter) UpdatePermissions

func (_e *MockJobsInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockJobsInterface_UpdatePermissions_Call

UpdatePermissions is a helper method to define mock.On call

  • ctx context.Context
  • request jobs.JobPermissionsRequest

func (*MockJobsInterface_Expecter) WaitGetRunJobTerminatedOrSkipped

func (_e *MockJobsInterface_Expecter) WaitGetRunJobTerminatedOrSkipped(ctx interface{}, runId interface{}, timeout interface{}, callback interface{}) *MockJobsInterface_WaitGetRunJobTerminatedOrSkipped_Call

WaitGetRunJobTerminatedOrSkipped is a helper method to define mock.On call

  • ctx context.Context
  • runId int64
  • timeout time.Duration
  • callback func(*jobs.Run)

func (*MockJobsInterface_Expecter) WithImpl

func (_e *MockJobsInterface_Expecter) WithImpl(impl interface{}) *MockJobsInterface_WithImpl_Call

WithImpl is a helper method to define mock.On call

  • impl jobs.JobsService

type MockJobsInterface_ExportRun_Call

type MockJobsInterface_ExportRun_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_ExportRun_Call) Return

func (*MockJobsInterface_ExportRun_Call) Run

func (*MockJobsInterface_ExportRun_Call) RunAndReturn

type MockJobsInterface_GetByJobId_Call

type MockJobsInterface_GetByJobId_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_GetByJobId_Call) Return

func (*MockJobsInterface_GetByJobId_Call) Run

func (*MockJobsInterface_GetByJobId_Call) RunAndReturn

type MockJobsInterface_GetBySettingsName_Call

type MockJobsInterface_GetBySettingsName_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_GetBySettingsName_Call) Return

func (*MockJobsInterface_GetBySettingsName_Call) Run

func (*MockJobsInterface_GetBySettingsName_Call) RunAndReturn

type MockJobsInterface_GetPermissionLevelsByJobId_Call

type MockJobsInterface_GetPermissionLevelsByJobId_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_GetPermissionLevelsByJobId_Call) Run

type MockJobsInterface_GetPermissionLevels_Call

type MockJobsInterface_GetPermissionLevels_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_GetPermissionLevels_Call) Return

func (*MockJobsInterface_GetPermissionLevels_Call) Run

type MockJobsInterface_GetPermissionsByJobId_Call

type MockJobsInterface_GetPermissionsByJobId_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_GetPermissionsByJobId_Call) Return

func (*MockJobsInterface_GetPermissionsByJobId_Call) Run

func (*MockJobsInterface_GetPermissionsByJobId_Call) RunAndReturn

type MockJobsInterface_GetPermissions_Call

type MockJobsInterface_GetPermissions_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_GetPermissions_Call) Return

func (*MockJobsInterface_GetPermissions_Call) Run

type MockJobsInterface_GetRunOutputByRunId_Call

type MockJobsInterface_GetRunOutputByRunId_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_GetRunOutputByRunId_Call) Return

func (*MockJobsInterface_GetRunOutputByRunId_Call) Run

func (*MockJobsInterface_GetRunOutputByRunId_Call) RunAndReturn

type MockJobsInterface_GetRunOutput_Call

type MockJobsInterface_GetRunOutput_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_GetRunOutput_Call) Return

func (*MockJobsInterface_GetRunOutput_Call) Run

func (*MockJobsInterface_GetRunOutput_Call) RunAndReturn

type MockJobsInterface_GetRun_Call

type MockJobsInterface_GetRun_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_GetRun_Call) Return

func (*MockJobsInterface_GetRun_Call) Run

func (*MockJobsInterface_GetRun_Call) RunAndReturn

type MockJobsInterface_Get_Call

type MockJobsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_Get_Call) Return

func (*MockJobsInterface_Get_Call) Run

func (*MockJobsInterface_Get_Call) RunAndReturn

type MockJobsInterface_Impl_Call

type MockJobsInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_Impl_Call) Return

func (*MockJobsInterface_Impl_Call) Run

func (*MockJobsInterface_Impl_Call) RunAndReturn

type MockJobsInterface_ListAll_Call

type MockJobsInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_ListAll_Call) Return

func (*MockJobsInterface_ListAll_Call) Run

func (*MockJobsInterface_ListAll_Call) RunAndReturn

type MockJobsInterface_ListRunsAll_Call

type MockJobsInterface_ListRunsAll_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_ListRunsAll_Call) Return

func (*MockJobsInterface_ListRunsAll_Call) Run

func (*MockJobsInterface_ListRunsAll_Call) RunAndReturn

type MockJobsInterface_ListRuns_Call

type MockJobsInterface_ListRuns_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_ListRuns_Call) Return

func (*MockJobsInterface_ListRuns_Call) Run

func (*MockJobsInterface_ListRuns_Call) RunAndReturn

type MockJobsInterface_List_Call

type MockJobsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_List_Call) Return

func (*MockJobsInterface_List_Call) Run

func (*MockJobsInterface_List_Call) RunAndReturn

type MockJobsInterface_RepairRunAndWait_Call

type MockJobsInterface_RepairRunAndWait_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_RepairRunAndWait_Call) Return

func (*MockJobsInterface_RepairRunAndWait_Call) Run

func (*MockJobsInterface_RepairRunAndWait_Call) RunAndReturn

type MockJobsInterface_RepairRun_Call

type MockJobsInterface_RepairRun_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_RepairRun_Call) Run

type MockJobsInterface_Reset_Call

type MockJobsInterface_Reset_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_Reset_Call) Return

func (*MockJobsInterface_Reset_Call) Run

func (*MockJobsInterface_Reset_Call) RunAndReturn

type MockJobsInterface_RunNowAndWait_Call

type MockJobsInterface_RunNowAndWait_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_RunNowAndWait_Call) Return

func (*MockJobsInterface_RunNowAndWait_Call) Run

func (*MockJobsInterface_RunNowAndWait_Call) RunAndReturn

type MockJobsInterface_RunNow_Call

type MockJobsInterface_RunNow_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_RunNow_Call) Run

type MockJobsInterface_SetPermissions_Call

type MockJobsInterface_SetPermissions_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_SetPermissions_Call) Return

func (*MockJobsInterface_SetPermissions_Call) Run

type MockJobsInterface_SubmitAndWait_Call

type MockJobsInterface_SubmitAndWait_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_SubmitAndWait_Call) Return

func (*MockJobsInterface_SubmitAndWait_Call) Run

func (*MockJobsInterface_SubmitAndWait_Call) RunAndReturn

type MockJobsInterface_Submit_Call

type MockJobsInterface_Submit_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_Submit_Call) Run

type MockJobsInterface_UpdatePermissions_Call

type MockJobsInterface_UpdatePermissions_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_UpdatePermissions_Call) Return

func (*MockJobsInterface_UpdatePermissions_Call) Run

type MockJobsInterface_Update_Call

type MockJobsInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_Update_Call) Return

func (*MockJobsInterface_Update_Call) Run

func (*MockJobsInterface_Update_Call) RunAndReturn

type MockJobsInterface_WaitGetRunJobTerminatedOrSkipped_Call

type MockJobsInterface_WaitGetRunJobTerminatedOrSkipped_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_WaitGetRunJobTerminatedOrSkipped_Call) Return

func (*MockJobsInterface_WaitGetRunJobTerminatedOrSkipped_Call) Run

func (*MockJobsInterface_WaitGetRunJobTerminatedOrSkipped_Call) RunAndReturn

type MockJobsInterface_WithImpl_Call

type MockJobsInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockJobsInterface_WithImpl_Call) Return

func (*MockJobsInterface_WithImpl_Call) Run

func (*MockJobsInterface_WithImpl_Call) RunAndReturn

Jump to

Keyboard shortcuts

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