Documentation ¶
Index ¶
- type MockPipelinesInterface
- func (_m *MockPipelinesInterface) Create(ctx context.Context, request pipelines.CreatePipeline) (*pipelines.CreatePipelineResponse, error)
- func (_m *MockPipelinesInterface) Delete(ctx context.Context, request pipelines.DeletePipelineRequest) error
- func (_m *MockPipelinesInterface) DeleteByPipelineId(ctx context.Context, pipelineId string) error
- func (_m *MockPipelinesInterface) EXPECT() *MockPipelinesInterface_Expecter
- func (_m *MockPipelinesInterface) Get(ctx context.Context, request pipelines.GetPipelineRequest) (*pipelines.GetPipelineResponse, error)
- func (_m *MockPipelinesInterface) GetByName(ctx context.Context, name string) (*pipelines.PipelineStateInfo, error)
- func (_m *MockPipelinesInterface) GetByPipelineId(ctx context.Context, pipelineId string) (*pipelines.GetPipelineResponse, error)
- func (_m *MockPipelinesInterface) GetPermissionLevels(ctx context.Context, request pipelines.GetPipelinePermissionLevelsRequest) (*pipelines.GetPipelinePermissionLevelsResponse, error)
- func (_m *MockPipelinesInterface) GetPermissionLevelsByPipelineId(ctx context.Context, pipelineId string) (*pipelines.GetPipelinePermissionLevelsResponse, error)
- func (_m *MockPipelinesInterface) GetPermissions(ctx context.Context, request pipelines.GetPipelinePermissionsRequest) (*pipelines.PipelinePermissions, error)
- func (_m *MockPipelinesInterface) GetPermissionsByPipelineId(ctx context.Context, pipelineId string) (*pipelines.PipelinePermissions, error)
- func (_m *MockPipelinesInterface) GetUpdate(ctx context.Context, request pipelines.GetUpdateRequest) (*pipelines.GetUpdateResponse, error)
- func (_m *MockPipelinesInterface) GetUpdateByPipelineIdAndUpdateId(ctx context.Context, pipelineId string, updateId string) (*pipelines.GetUpdateResponse, error)
- func (_m *MockPipelinesInterface) Impl() pipelines.PipelinesService
- func (_m *MockPipelinesInterface) ListPipelineEvents(ctx context.Context, request pipelines.ListPipelineEventsRequest) listing.Iterator[pipelines.PipelineEvent]
- func (_m *MockPipelinesInterface) ListPipelineEventsAll(ctx context.Context, request pipelines.ListPipelineEventsRequest) ([]pipelines.PipelineEvent, error)
- func (_m *MockPipelinesInterface) ListPipelineEventsByPipelineId(ctx context.Context, pipelineId string) (*pipelines.ListPipelineEventsResponse, error)
- func (_m *MockPipelinesInterface) ListPipelines(ctx context.Context, request pipelines.ListPipelinesRequest) listing.Iterator[pipelines.PipelineStateInfo]
- func (_m *MockPipelinesInterface) ListPipelinesAll(ctx context.Context, request pipelines.ListPipelinesRequest) ([]pipelines.PipelineStateInfo, error)
- func (_m *MockPipelinesInterface) ListUpdates(ctx context.Context, request pipelines.ListUpdatesRequest) (*pipelines.ListUpdatesResponse, error)
- func (_m *MockPipelinesInterface) ListUpdatesByPipelineId(ctx context.Context, pipelineId string) (*pipelines.ListUpdatesResponse, error)
- func (_m *MockPipelinesInterface) PipelineStateInfoNameToPipelineIdMap(ctx context.Context, request pipelines.ListPipelinesRequest) (map[string]string, error)
- func (_m *MockPipelinesInterface) Reset(ctx context.Context, resetRequest pipelines.ResetRequest) (*pipelines.WaitGetPipelineRunning[struct{}], error)
- func (_m *MockPipelinesInterface) ResetAndWait(ctx context.Context, resetRequest pipelines.ResetRequest, ...) (*pipelines.GetPipelineResponse, error)
- func (_m *MockPipelinesInterface) SetPermissions(ctx context.Context, request pipelines.PipelinePermissionsRequest) (*pipelines.PipelinePermissions, error)
- func (_m *MockPipelinesInterface) StartUpdate(ctx context.Context, request pipelines.StartUpdate) (*pipelines.StartUpdateResponse, error)
- func (_m *MockPipelinesInterface) Stop(ctx context.Context, stopRequest pipelines.StopRequest) (*pipelines.WaitGetPipelineIdle[struct{}], error)
- func (_m *MockPipelinesInterface) StopAndWait(ctx context.Context, stopRequest pipelines.StopRequest, ...) (*pipelines.GetPipelineResponse, error)
- func (_m *MockPipelinesInterface) Update(ctx context.Context, request pipelines.EditPipeline) error
- func (_m *MockPipelinesInterface) UpdatePermissions(ctx context.Context, request pipelines.PipelinePermissionsRequest) (*pipelines.PipelinePermissions, error)
- func (_m *MockPipelinesInterface) WaitGetPipelineIdle(ctx context.Context, pipelineId string, timeout time.Duration, ...) (*pipelines.GetPipelineResponse, error)
- func (_m *MockPipelinesInterface) WaitGetPipelineRunning(ctx context.Context, pipelineId string, timeout time.Duration, ...) (*pipelines.GetPipelineResponse, error)
- func (_m *MockPipelinesInterface) WithImpl(impl pipelines.PipelinesService) pipelines.PipelinesInterface
- type MockPipelinesInterface_Create_Call
- func (_c *MockPipelinesInterface_Create_Call) Return(_a0 *pipelines.CreatePipelineResponse, _a1 error) *MockPipelinesInterface_Create_Call
- func (_c *MockPipelinesInterface_Create_Call) Run(run func(ctx context.Context, request pipelines.CreatePipeline)) *MockPipelinesInterface_Create_Call
- func (_c *MockPipelinesInterface_Create_Call) RunAndReturn(...) *MockPipelinesInterface_Create_Call
- type MockPipelinesInterface_DeleteByPipelineId_Call
- func (_c *MockPipelinesInterface_DeleteByPipelineId_Call) Return(_a0 error) *MockPipelinesInterface_DeleteByPipelineId_Call
- func (_c *MockPipelinesInterface_DeleteByPipelineId_Call) Run(run func(ctx context.Context, pipelineId string)) *MockPipelinesInterface_DeleteByPipelineId_Call
- func (_c *MockPipelinesInterface_DeleteByPipelineId_Call) RunAndReturn(run func(context.Context, string) error) *MockPipelinesInterface_DeleteByPipelineId_Call
- type MockPipelinesInterface_Delete_Call
- func (_c *MockPipelinesInterface_Delete_Call) Return(_a0 error) *MockPipelinesInterface_Delete_Call
- func (_c *MockPipelinesInterface_Delete_Call) Run(run func(ctx context.Context, request pipelines.DeletePipelineRequest)) *MockPipelinesInterface_Delete_Call
- func (_c *MockPipelinesInterface_Delete_Call) RunAndReturn(run func(context.Context, pipelines.DeletePipelineRequest) error) *MockPipelinesInterface_Delete_Call
- type MockPipelinesInterface_Expecter
- func (_e *MockPipelinesInterface_Expecter) Create(ctx interface{}, request interface{}) *MockPipelinesInterface_Create_Call
- func (_e *MockPipelinesInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockPipelinesInterface_Delete_Call
- func (_e *MockPipelinesInterface_Expecter) DeleteByPipelineId(ctx interface{}, pipelineId interface{}) *MockPipelinesInterface_DeleteByPipelineId_Call
- func (_e *MockPipelinesInterface_Expecter) Get(ctx interface{}, request interface{}) *MockPipelinesInterface_Get_Call
- func (_e *MockPipelinesInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockPipelinesInterface_GetByName_Call
- func (_e *MockPipelinesInterface_Expecter) GetByPipelineId(ctx interface{}, pipelineId interface{}) *MockPipelinesInterface_GetByPipelineId_Call
- func (_e *MockPipelinesInterface_Expecter) GetPermissionLevels(ctx interface{}, request interface{}) *MockPipelinesInterface_GetPermissionLevels_Call
- func (_e *MockPipelinesInterface_Expecter) GetPermissionLevelsByPipelineId(ctx interface{}, pipelineId interface{}) *MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call
- func (_e *MockPipelinesInterface_Expecter) GetPermissions(ctx interface{}, request interface{}) *MockPipelinesInterface_GetPermissions_Call
- func (_e *MockPipelinesInterface_Expecter) GetPermissionsByPipelineId(ctx interface{}, pipelineId interface{}) *MockPipelinesInterface_GetPermissionsByPipelineId_Call
- func (_e *MockPipelinesInterface_Expecter) GetUpdate(ctx interface{}, request interface{}) *MockPipelinesInterface_GetUpdate_Call
- func (_e *MockPipelinesInterface_Expecter) GetUpdateByPipelineIdAndUpdateId(ctx interface{}, pipelineId interface{}, updateId interface{}) *MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call
- func (_e *MockPipelinesInterface_Expecter) Impl() *MockPipelinesInterface_Impl_Call
- func (_e *MockPipelinesInterface_Expecter) ListPipelineEvents(ctx interface{}, request interface{}) *MockPipelinesInterface_ListPipelineEvents_Call
- func (_e *MockPipelinesInterface_Expecter) ListPipelineEventsAll(ctx interface{}, request interface{}) *MockPipelinesInterface_ListPipelineEventsAll_Call
- func (_e *MockPipelinesInterface_Expecter) ListPipelineEventsByPipelineId(ctx interface{}, pipelineId interface{}) *MockPipelinesInterface_ListPipelineEventsByPipelineId_Call
- func (_e *MockPipelinesInterface_Expecter) ListPipelines(ctx interface{}, request interface{}) *MockPipelinesInterface_ListPipelines_Call
- func (_e *MockPipelinesInterface_Expecter) ListPipelinesAll(ctx interface{}, request interface{}) *MockPipelinesInterface_ListPipelinesAll_Call
- func (_e *MockPipelinesInterface_Expecter) ListUpdates(ctx interface{}, request interface{}) *MockPipelinesInterface_ListUpdates_Call
- func (_e *MockPipelinesInterface_Expecter) ListUpdatesByPipelineId(ctx interface{}, pipelineId interface{}) *MockPipelinesInterface_ListUpdatesByPipelineId_Call
- func (_e *MockPipelinesInterface_Expecter) PipelineStateInfoNameToPipelineIdMap(ctx interface{}, request interface{}) *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call
- func (_e *MockPipelinesInterface_Expecter) Reset(ctx interface{}, resetRequest interface{}) *MockPipelinesInterface_Reset_Call
- func (_e *MockPipelinesInterface_Expecter) ResetAndWait(ctx interface{}, resetRequest interface{}, options ...interface{}) *MockPipelinesInterface_ResetAndWait_Call
- func (_e *MockPipelinesInterface_Expecter) SetPermissions(ctx interface{}, request interface{}) *MockPipelinesInterface_SetPermissions_Call
- func (_e *MockPipelinesInterface_Expecter) StartUpdate(ctx interface{}, request interface{}) *MockPipelinesInterface_StartUpdate_Call
- func (_e *MockPipelinesInterface_Expecter) Stop(ctx interface{}, stopRequest interface{}) *MockPipelinesInterface_Stop_Call
- func (_e *MockPipelinesInterface_Expecter) StopAndWait(ctx interface{}, stopRequest interface{}, options ...interface{}) *MockPipelinesInterface_StopAndWait_Call
- func (_e *MockPipelinesInterface_Expecter) Update(ctx interface{}, request interface{}) *MockPipelinesInterface_Update_Call
- func (_e *MockPipelinesInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockPipelinesInterface_UpdatePermissions_Call
- func (_e *MockPipelinesInterface_Expecter) WaitGetPipelineIdle(ctx interface{}, pipelineId interface{}, timeout interface{}, ...) *MockPipelinesInterface_WaitGetPipelineIdle_Call
- func (_e *MockPipelinesInterface_Expecter) WaitGetPipelineRunning(ctx interface{}, pipelineId interface{}, timeout interface{}, ...) *MockPipelinesInterface_WaitGetPipelineRunning_Call
- func (_e *MockPipelinesInterface_Expecter) WithImpl(impl interface{}) *MockPipelinesInterface_WithImpl_Call
- type MockPipelinesInterface_GetByName_Call
- func (_c *MockPipelinesInterface_GetByName_Call) Return(_a0 *pipelines.PipelineStateInfo, _a1 error) *MockPipelinesInterface_GetByName_Call
- func (_c *MockPipelinesInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockPipelinesInterface_GetByName_Call
- func (_c *MockPipelinesInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*pipelines.PipelineStateInfo, error)) *MockPipelinesInterface_GetByName_Call
- type MockPipelinesInterface_GetByPipelineId_Call
- func (_c *MockPipelinesInterface_GetByPipelineId_Call) Return(_a0 *pipelines.GetPipelineResponse, _a1 error) *MockPipelinesInterface_GetByPipelineId_Call
- func (_c *MockPipelinesInterface_GetByPipelineId_Call) Run(run func(ctx context.Context, pipelineId string)) *MockPipelinesInterface_GetByPipelineId_Call
- func (_c *MockPipelinesInterface_GetByPipelineId_Call) RunAndReturn(run func(context.Context, string) (*pipelines.GetPipelineResponse, error)) *MockPipelinesInterface_GetByPipelineId_Call
- type MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call
- func (_c *MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call) Return(_a0 *pipelines.GetPipelinePermissionLevelsResponse, _a1 error) *MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call
- func (_c *MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call) Run(run func(ctx context.Context, pipelineId string)) *MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call
- func (_c *MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call) RunAndReturn(...) *MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call
- type MockPipelinesInterface_GetPermissionLevels_Call
- func (_c *MockPipelinesInterface_GetPermissionLevels_Call) Return(_a0 *pipelines.GetPipelinePermissionLevelsResponse, _a1 error) *MockPipelinesInterface_GetPermissionLevels_Call
- func (_c *MockPipelinesInterface_GetPermissionLevels_Call) Run(...) *MockPipelinesInterface_GetPermissionLevels_Call
- func (_c *MockPipelinesInterface_GetPermissionLevels_Call) RunAndReturn(...) *MockPipelinesInterface_GetPermissionLevels_Call
- type MockPipelinesInterface_GetPermissionsByPipelineId_Call
- func (_c *MockPipelinesInterface_GetPermissionsByPipelineId_Call) Return(_a0 *pipelines.PipelinePermissions, _a1 error) *MockPipelinesInterface_GetPermissionsByPipelineId_Call
- func (_c *MockPipelinesInterface_GetPermissionsByPipelineId_Call) Run(run func(ctx context.Context, pipelineId string)) *MockPipelinesInterface_GetPermissionsByPipelineId_Call
- func (_c *MockPipelinesInterface_GetPermissionsByPipelineId_Call) RunAndReturn(run func(context.Context, string) (*pipelines.PipelinePermissions, error)) *MockPipelinesInterface_GetPermissionsByPipelineId_Call
- type MockPipelinesInterface_GetPermissions_Call
- func (_c *MockPipelinesInterface_GetPermissions_Call) Return(_a0 *pipelines.PipelinePermissions, _a1 error) *MockPipelinesInterface_GetPermissions_Call
- func (_c *MockPipelinesInterface_GetPermissions_Call) Run(run func(ctx context.Context, request pipelines.GetPipelinePermissionsRequest)) *MockPipelinesInterface_GetPermissions_Call
- func (_c *MockPipelinesInterface_GetPermissions_Call) RunAndReturn(...) *MockPipelinesInterface_GetPermissions_Call
- type MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call
- func (_c *MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call) Return(_a0 *pipelines.GetUpdateResponse, _a1 error) *MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call
- func (_c *MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call) Run(run func(ctx context.Context, pipelineId string, updateId string)) *MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call
- func (_c *MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call) RunAndReturn(...) *MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call
- type MockPipelinesInterface_GetUpdate_Call
- func (_c *MockPipelinesInterface_GetUpdate_Call) Return(_a0 *pipelines.GetUpdateResponse, _a1 error) *MockPipelinesInterface_GetUpdate_Call
- func (_c *MockPipelinesInterface_GetUpdate_Call) Run(run func(ctx context.Context, request pipelines.GetUpdateRequest)) *MockPipelinesInterface_GetUpdate_Call
- func (_c *MockPipelinesInterface_GetUpdate_Call) RunAndReturn(...) *MockPipelinesInterface_GetUpdate_Call
- type MockPipelinesInterface_Get_Call
- func (_c *MockPipelinesInterface_Get_Call) Return(_a0 *pipelines.GetPipelineResponse, _a1 error) *MockPipelinesInterface_Get_Call
- func (_c *MockPipelinesInterface_Get_Call) Run(run func(ctx context.Context, request pipelines.GetPipelineRequest)) *MockPipelinesInterface_Get_Call
- func (_c *MockPipelinesInterface_Get_Call) RunAndReturn(...) *MockPipelinesInterface_Get_Call
- type MockPipelinesInterface_Impl_Call
- func (_c *MockPipelinesInterface_Impl_Call) Return(_a0 pipelines.PipelinesService) *MockPipelinesInterface_Impl_Call
- func (_c *MockPipelinesInterface_Impl_Call) Run(run func()) *MockPipelinesInterface_Impl_Call
- func (_c *MockPipelinesInterface_Impl_Call) RunAndReturn(run func() pipelines.PipelinesService) *MockPipelinesInterface_Impl_Call
- type MockPipelinesInterface_ListPipelineEventsAll_Call
- func (_c *MockPipelinesInterface_ListPipelineEventsAll_Call) Return(_a0 []pipelines.PipelineEvent, _a1 error) *MockPipelinesInterface_ListPipelineEventsAll_Call
- func (_c *MockPipelinesInterface_ListPipelineEventsAll_Call) Run(run func(ctx context.Context, request pipelines.ListPipelineEventsRequest)) *MockPipelinesInterface_ListPipelineEventsAll_Call
- func (_c *MockPipelinesInterface_ListPipelineEventsAll_Call) RunAndReturn(...) *MockPipelinesInterface_ListPipelineEventsAll_Call
- type MockPipelinesInterface_ListPipelineEventsByPipelineId_Call
- func (_c *MockPipelinesInterface_ListPipelineEventsByPipelineId_Call) Return(_a0 *pipelines.ListPipelineEventsResponse, _a1 error) *MockPipelinesInterface_ListPipelineEventsByPipelineId_Call
- func (_c *MockPipelinesInterface_ListPipelineEventsByPipelineId_Call) Run(run func(ctx context.Context, pipelineId string)) *MockPipelinesInterface_ListPipelineEventsByPipelineId_Call
- func (_c *MockPipelinesInterface_ListPipelineEventsByPipelineId_Call) RunAndReturn(...) *MockPipelinesInterface_ListPipelineEventsByPipelineId_Call
- type MockPipelinesInterface_ListPipelineEvents_Call
- func (_c *MockPipelinesInterface_ListPipelineEvents_Call) Return(_a0 listing.Iterator[pipelines.PipelineEvent]) *MockPipelinesInterface_ListPipelineEvents_Call
- func (_c *MockPipelinesInterface_ListPipelineEvents_Call) Run(run func(ctx context.Context, request pipelines.ListPipelineEventsRequest)) *MockPipelinesInterface_ListPipelineEvents_Call
- func (_c *MockPipelinesInterface_ListPipelineEvents_Call) RunAndReturn(...) *MockPipelinesInterface_ListPipelineEvents_Call
- type MockPipelinesInterface_ListPipelinesAll_Call
- func (_c *MockPipelinesInterface_ListPipelinesAll_Call) Return(_a0 []pipelines.PipelineStateInfo, _a1 error) *MockPipelinesInterface_ListPipelinesAll_Call
- func (_c *MockPipelinesInterface_ListPipelinesAll_Call) Run(run func(ctx context.Context, request pipelines.ListPipelinesRequest)) *MockPipelinesInterface_ListPipelinesAll_Call
- func (_c *MockPipelinesInterface_ListPipelinesAll_Call) RunAndReturn(...) *MockPipelinesInterface_ListPipelinesAll_Call
- type MockPipelinesInterface_ListPipelines_Call
- func (_c *MockPipelinesInterface_ListPipelines_Call) Return(_a0 listing.Iterator[pipelines.PipelineStateInfo]) *MockPipelinesInterface_ListPipelines_Call
- func (_c *MockPipelinesInterface_ListPipelines_Call) Run(run func(ctx context.Context, request pipelines.ListPipelinesRequest)) *MockPipelinesInterface_ListPipelines_Call
- func (_c *MockPipelinesInterface_ListPipelines_Call) RunAndReturn(...) *MockPipelinesInterface_ListPipelines_Call
- type MockPipelinesInterface_ListUpdatesByPipelineId_Call
- func (_c *MockPipelinesInterface_ListUpdatesByPipelineId_Call) Return(_a0 *pipelines.ListUpdatesResponse, _a1 error) *MockPipelinesInterface_ListUpdatesByPipelineId_Call
- func (_c *MockPipelinesInterface_ListUpdatesByPipelineId_Call) Run(run func(ctx context.Context, pipelineId string)) *MockPipelinesInterface_ListUpdatesByPipelineId_Call
- func (_c *MockPipelinesInterface_ListUpdatesByPipelineId_Call) RunAndReturn(run func(context.Context, string) (*pipelines.ListUpdatesResponse, error)) *MockPipelinesInterface_ListUpdatesByPipelineId_Call
- type MockPipelinesInterface_ListUpdates_Call
- func (_c *MockPipelinesInterface_ListUpdates_Call) Return(_a0 *pipelines.ListUpdatesResponse, _a1 error) *MockPipelinesInterface_ListUpdates_Call
- func (_c *MockPipelinesInterface_ListUpdates_Call) Run(run func(ctx context.Context, request pipelines.ListUpdatesRequest)) *MockPipelinesInterface_ListUpdates_Call
- func (_c *MockPipelinesInterface_ListUpdates_Call) RunAndReturn(...) *MockPipelinesInterface_ListUpdates_Call
- type MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call
- func (_c *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call
- func (_c *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call) Run(run func(ctx context.Context, request pipelines.ListPipelinesRequest)) *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call
- func (_c *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call) RunAndReturn(...) *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call
- type MockPipelinesInterface_ResetAndWait_Call
- func (_c *MockPipelinesInterface_ResetAndWait_Call) Return(_a0 *pipelines.GetPipelineResponse, _a1 error) *MockPipelinesInterface_ResetAndWait_Call
- func (_c *MockPipelinesInterface_ResetAndWait_Call) Run(run func(ctx context.Context, resetRequest pipelines.ResetRequest, ...)) *MockPipelinesInterface_ResetAndWait_Call
- func (_c *MockPipelinesInterface_ResetAndWait_Call) RunAndReturn(...) *MockPipelinesInterface_ResetAndWait_Call
- type MockPipelinesInterface_Reset_Call
- func (_c *MockPipelinesInterface_Reset_Call) Return(_a0 *pipelines.WaitGetPipelineRunning[struct{}], _a1 error) *MockPipelinesInterface_Reset_Call
- func (_c *MockPipelinesInterface_Reset_Call) Run(run func(ctx context.Context, resetRequest pipelines.ResetRequest)) *MockPipelinesInterface_Reset_Call
- func (_c *MockPipelinesInterface_Reset_Call) RunAndReturn(...) *MockPipelinesInterface_Reset_Call
- type MockPipelinesInterface_SetPermissions_Call
- func (_c *MockPipelinesInterface_SetPermissions_Call) Return(_a0 *pipelines.PipelinePermissions, _a1 error) *MockPipelinesInterface_SetPermissions_Call
- func (_c *MockPipelinesInterface_SetPermissions_Call) Run(run func(ctx context.Context, request pipelines.PipelinePermissionsRequest)) *MockPipelinesInterface_SetPermissions_Call
- func (_c *MockPipelinesInterface_SetPermissions_Call) RunAndReturn(...) *MockPipelinesInterface_SetPermissions_Call
- type MockPipelinesInterface_StartUpdate_Call
- func (_c *MockPipelinesInterface_StartUpdate_Call) Return(_a0 *pipelines.StartUpdateResponse, _a1 error) *MockPipelinesInterface_StartUpdate_Call
- func (_c *MockPipelinesInterface_StartUpdate_Call) Run(run func(ctx context.Context, request pipelines.StartUpdate)) *MockPipelinesInterface_StartUpdate_Call
- func (_c *MockPipelinesInterface_StartUpdate_Call) RunAndReturn(...) *MockPipelinesInterface_StartUpdate_Call
- type MockPipelinesInterface_StopAndWait_Call
- func (_c *MockPipelinesInterface_StopAndWait_Call) Return(_a0 *pipelines.GetPipelineResponse, _a1 error) *MockPipelinesInterface_StopAndWait_Call
- func (_c *MockPipelinesInterface_StopAndWait_Call) Run(run func(ctx context.Context, stopRequest pipelines.StopRequest, ...)) *MockPipelinesInterface_StopAndWait_Call
- func (_c *MockPipelinesInterface_StopAndWait_Call) RunAndReturn(...) *MockPipelinesInterface_StopAndWait_Call
- type MockPipelinesInterface_Stop_Call
- func (_c *MockPipelinesInterface_Stop_Call) Return(_a0 *pipelines.WaitGetPipelineIdle[struct{}], _a1 error) *MockPipelinesInterface_Stop_Call
- func (_c *MockPipelinesInterface_Stop_Call) Run(run func(ctx context.Context, stopRequest pipelines.StopRequest)) *MockPipelinesInterface_Stop_Call
- func (_c *MockPipelinesInterface_Stop_Call) RunAndReturn(...) *MockPipelinesInterface_Stop_Call
- type MockPipelinesInterface_UpdatePermissions_Call
- func (_c *MockPipelinesInterface_UpdatePermissions_Call) Return(_a0 *pipelines.PipelinePermissions, _a1 error) *MockPipelinesInterface_UpdatePermissions_Call
- func (_c *MockPipelinesInterface_UpdatePermissions_Call) Run(run func(ctx context.Context, request pipelines.PipelinePermissionsRequest)) *MockPipelinesInterface_UpdatePermissions_Call
- func (_c *MockPipelinesInterface_UpdatePermissions_Call) RunAndReturn(...) *MockPipelinesInterface_UpdatePermissions_Call
- type MockPipelinesInterface_Update_Call
- func (_c *MockPipelinesInterface_Update_Call) Return(_a0 error) *MockPipelinesInterface_Update_Call
- func (_c *MockPipelinesInterface_Update_Call) Run(run func(ctx context.Context, request pipelines.EditPipeline)) *MockPipelinesInterface_Update_Call
- func (_c *MockPipelinesInterface_Update_Call) RunAndReturn(run func(context.Context, pipelines.EditPipeline) error) *MockPipelinesInterface_Update_Call
- type MockPipelinesInterface_WaitGetPipelineIdle_Call
- func (_c *MockPipelinesInterface_WaitGetPipelineIdle_Call) Return(_a0 *pipelines.GetPipelineResponse, _a1 error) *MockPipelinesInterface_WaitGetPipelineIdle_Call
- func (_c *MockPipelinesInterface_WaitGetPipelineIdle_Call) Run(run func(ctx context.Context, pipelineId string, timeout time.Duration, ...)) *MockPipelinesInterface_WaitGetPipelineIdle_Call
- func (_c *MockPipelinesInterface_WaitGetPipelineIdle_Call) RunAndReturn(...) *MockPipelinesInterface_WaitGetPipelineIdle_Call
- type MockPipelinesInterface_WaitGetPipelineRunning_Call
- func (_c *MockPipelinesInterface_WaitGetPipelineRunning_Call) Return(_a0 *pipelines.GetPipelineResponse, _a1 error) *MockPipelinesInterface_WaitGetPipelineRunning_Call
- func (_c *MockPipelinesInterface_WaitGetPipelineRunning_Call) Run(run func(ctx context.Context, pipelineId string, timeout time.Duration, ...)) *MockPipelinesInterface_WaitGetPipelineRunning_Call
- func (_c *MockPipelinesInterface_WaitGetPipelineRunning_Call) RunAndReturn(...) *MockPipelinesInterface_WaitGetPipelineRunning_Call
- type MockPipelinesInterface_WithImpl_Call
- func (_c *MockPipelinesInterface_WithImpl_Call) Return(_a0 pipelines.PipelinesInterface) *MockPipelinesInterface_WithImpl_Call
- func (_c *MockPipelinesInterface_WithImpl_Call) Run(run func(impl pipelines.PipelinesService)) *MockPipelinesInterface_WithImpl_Call
- func (_c *MockPipelinesInterface_WithImpl_Call) RunAndReturn(run func(pipelines.PipelinesService) pipelines.PipelinesInterface) *MockPipelinesInterface_WithImpl_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPipelinesInterface ¶
MockPipelinesInterface is an autogenerated mock type for the PipelinesInterface type
func NewMockPipelinesInterface ¶
func NewMockPipelinesInterface(t interface { mock.TestingT Cleanup(func()) }) *MockPipelinesInterface
NewMockPipelinesInterface creates a new instance of MockPipelinesInterface. 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 (*MockPipelinesInterface) Create ¶
func (_m *MockPipelinesInterface) Create(ctx context.Context, request pipelines.CreatePipeline) (*pipelines.CreatePipelineResponse, error)
Create provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) Delete ¶
func (_m *MockPipelinesInterface) Delete(ctx context.Context, request pipelines.DeletePipelineRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) DeleteByPipelineId ¶
func (_m *MockPipelinesInterface) DeleteByPipelineId(ctx context.Context, pipelineId string) error
DeleteByPipelineId provides a mock function with given fields: ctx, pipelineId
func (*MockPipelinesInterface) EXPECT ¶
func (_m *MockPipelinesInterface) EXPECT() *MockPipelinesInterface_Expecter
func (*MockPipelinesInterface) Get ¶
func (_m *MockPipelinesInterface) Get(ctx context.Context, request pipelines.GetPipelineRequest) (*pipelines.GetPipelineResponse, error)
Get provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) GetByName ¶
func (_m *MockPipelinesInterface) GetByName(ctx context.Context, name string) (*pipelines.PipelineStateInfo, error)
GetByName provides a mock function with given fields: ctx, name
func (*MockPipelinesInterface) GetByPipelineId ¶
func (_m *MockPipelinesInterface) GetByPipelineId(ctx context.Context, pipelineId string) (*pipelines.GetPipelineResponse, error)
GetByPipelineId provides a mock function with given fields: ctx, pipelineId
func (*MockPipelinesInterface) GetPermissionLevels ¶
func (_m *MockPipelinesInterface) GetPermissionLevels(ctx context.Context, request pipelines.GetPipelinePermissionLevelsRequest) (*pipelines.GetPipelinePermissionLevelsResponse, error)
GetPermissionLevels provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) GetPermissionLevelsByPipelineId ¶
func (_m *MockPipelinesInterface) GetPermissionLevelsByPipelineId(ctx context.Context, pipelineId string) (*pipelines.GetPipelinePermissionLevelsResponse, error)
GetPermissionLevelsByPipelineId provides a mock function with given fields: ctx, pipelineId
func (*MockPipelinesInterface) GetPermissions ¶
func (_m *MockPipelinesInterface) GetPermissions(ctx context.Context, request pipelines.GetPipelinePermissionsRequest) (*pipelines.PipelinePermissions, error)
GetPermissions provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) GetPermissionsByPipelineId ¶
func (_m *MockPipelinesInterface) GetPermissionsByPipelineId(ctx context.Context, pipelineId string) (*pipelines.PipelinePermissions, error)
GetPermissionsByPipelineId provides a mock function with given fields: ctx, pipelineId
func (*MockPipelinesInterface) GetUpdate ¶
func (_m *MockPipelinesInterface) GetUpdate(ctx context.Context, request pipelines.GetUpdateRequest) (*pipelines.GetUpdateResponse, error)
GetUpdate provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) GetUpdateByPipelineIdAndUpdateId ¶
func (_m *MockPipelinesInterface) GetUpdateByPipelineIdAndUpdateId(ctx context.Context, pipelineId string, updateId string) (*pipelines.GetUpdateResponse, error)
GetUpdateByPipelineIdAndUpdateId provides a mock function with given fields: ctx, pipelineId, updateId
func (*MockPipelinesInterface) Impl ¶
func (_m *MockPipelinesInterface) Impl() pipelines.PipelinesService
Impl provides a mock function with given fields:
func (*MockPipelinesInterface) ListPipelineEvents ¶
func (_m *MockPipelinesInterface) ListPipelineEvents(ctx context.Context, request pipelines.ListPipelineEventsRequest) listing.Iterator[pipelines.PipelineEvent]
ListPipelineEvents provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) ListPipelineEventsAll ¶
func (_m *MockPipelinesInterface) ListPipelineEventsAll(ctx context.Context, request pipelines.ListPipelineEventsRequest) ([]pipelines.PipelineEvent, error)
ListPipelineEventsAll provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) ListPipelineEventsByPipelineId ¶
func (_m *MockPipelinesInterface) ListPipelineEventsByPipelineId(ctx context.Context, pipelineId string) (*pipelines.ListPipelineEventsResponse, error)
ListPipelineEventsByPipelineId provides a mock function with given fields: ctx, pipelineId
func (*MockPipelinesInterface) ListPipelines ¶
func (_m *MockPipelinesInterface) ListPipelines(ctx context.Context, request pipelines.ListPipelinesRequest) listing.Iterator[pipelines.PipelineStateInfo]
ListPipelines provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) ListPipelinesAll ¶
func (_m *MockPipelinesInterface) ListPipelinesAll(ctx context.Context, request pipelines.ListPipelinesRequest) ([]pipelines.PipelineStateInfo, error)
ListPipelinesAll provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) ListUpdates ¶
func (_m *MockPipelinesInterface) ListUpdates(ctx context.Context, request pipelines.ListUpdatesRequest) (*pipelines.ListUpdatesResponse, error)
ListUpdates provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) ListUpdatesByPipelineId ¶
func (_m *MockPipelinesInterface) ListUpdatesByPipelineId(ctx context.Context, pipelineId string) (*pipelines.ListUpdatesResponse, error)
ListUpdatesByPipelineId provides a mock function with given fields: ctx, pipelineId
func (*MockPipelinesInterface) PipelineStateInfoNameToPipelineIdMap ¶
func (_m *MockPipelinesInterface) PipelineStateInfoNameToPipelineIdMap(ctx context.Context, request pipelines.ListPipelinesRequest) (map[string]string, error)
PipelineStateInfoNameToPipelineIdMap provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) Reset ¶
func (_m *MockPipelinesInterface) Reset(ctx context.Context, resetRequest pipelines.ResetRequest) (*pipelines.WaitGetPipelineRunning[struct{}], error)
Reset provides a mock function with given fields: ctx, resetRequest
func (*MockPipelinesInterface) ResetAndWait ¶
func (_m *MockPipelinesInterface) ResetAndWait(ctx context.Context, resetRequest pipelines.ResetRequest, options ...retries.Option[pipelines.GetPipelineResponse]) (*pipelines.GetPipelineResponse, error)
ResetAndWait provides a mock function with given fields: ctx, resetRequest, options
func (*MockPipelinesInterface) SetPermissions ¶
func (_m *MockPipelinesInterface) SetPermissions(ctx context.Context, request pipelines.PipelinePermissionsRequest) (*pipelines.PipelinePermissions, error)
SetPermissions provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) StartUpdate ¶
func (_m *MockPipelinesInterface) StartUpdate(ctx context.Context, request pipelines.StartUpdate) (*pipelines.StartUpdateResponse, error)
StartUpdate provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) Stop ¶
func (_m *MockPipelinesInterface) Stop(ctx context.Context, stopRequest pipelines.StopRequest) (*pipelines.WaitGetPipelineIdle[struct{}], error)
Stop provides a mock function with given fields: ctx, stopRequest
func (*MockPipelinesInterface) StopAndWait ¶
func (_m *MockPipelinesInterface) StopAndWait(ctx context.Context, stopRequest pipelines.StopRequest, options ...retries.Option[pipelines.GetPipelineResponse]) (*pipelines.GetPipelineResponse, error)
StopAndWait provides a mock function with given fields: ctx, stopRequest, options
func (*MockPipelinesInterface) Update ¶
func (_m *MockPipelinesInterface) Update(ctx context.Context, request pipelines.EditPipeline) error
Update provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) UpdatePermissions ¶
func (_m *MockPipelinesInterface) UpdatePermissions(ctx context.Context, request pipelines.PipelinePermissionsRequest) (*pipelines.PipelinePermissions, error)
UpdatePermissions provides a mock function with given fields: ctx, request
func (*MockPipelinesInterface) WaitGetPipelineIdle ¶
func (_m *MockPipelinesInterface) WaitGetPipelineIdle(ctx context.Context, pipelineId string, timeout time.Duration, callback func(*pipelines.GetPipelineResponse)) (*pipelines.GetPipelineResponse, error)
WaitGetPipelineIdle provides a mock function with given fields: ctx, pipelineId, timeout, callback
func (*MockPipelinesInterface) WaitGetPipelineRunning ¶
func (_m *MockPipelinesInterface) WaitGetPipelineRunning(ctx context.Context, pipelineId string, timeout time.Duration, callback func(*pipelines.GetPipelineResponse)) (*pipelines.GetPipelineResponse, error)
WaitGetPipelineRunning provides a mock function with given fields: ctx, pipelineId, timeout, callback
func (*MockPipelinesInterface) WithImpl ¶
func (_m *MockPipelinesInterface) WithImpl(impl pipelines.PipelinesService) pipelines.PipelinesInterface
WithImpl provides a mock function with given fields: impl
type MockPipelinesInterface_Create_Call ¶
MockPipelinesInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockPipelinesInterface_Create_Call) Return ¶
func (_c *MockPipelinesInterface_Create_Call) Return(_a0 *pipelines.CreatePipelineResponse, _a1 error) *MockPipelinesInterface_Create_Call
func (*MockPipelinesInterface_Create_Call) Run ¶
func (_c *MockPipelinesInterface_Create_Call) Run(run func(ctx context.Context, request pipelines.CreatePipeline)) *MockPipelinesInterface_Create_Call
func (*MockPipelinesInterface_Create_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_Create_Call) RunAndReturn(run func(context.Context, pipelines.CreatePipeline) (*pipelines.CreatePipelineResponse, error)) *MockPipelinesInterface_Create_Call
type MockPipelinesInterface_DeleteByPipelineId_Call ¶
MockPipelinesInterface_DeleteByPipelineId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByPipelineId'
func (*MockPipelinesInterface_DeleteByPipelineId_Call) Return ¶
func (_c *MockPipelinesInterface_DeleteByPipelineId_Call) Return(_a0 error) *MockPipelinesInterface_DeleteByPipelineId_Call
func (*MockPipelinesInterface_DeleteByPipelineId_Call) Run ¶
func (_c *MockPipelinesInterface_DeleteByPipelineId_Call) Run(run func(ctx context.Context, pipelineId string)) *MockPipelinesInterface_DeleteByPipelineId_Call
func (*MockPipelinesInterface_DeleteByPipelineId_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_DeleteByPipelineId_Call) RunAndReturn(run func(context.Context, string) error) *MockPipelinesInterface_DeleteByPipelineId_Call
type MockPipelinesInterface_Delete_Call ¶
MockPipelinesInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockPipelinesInterface_Delete_Call) Return ¶
func (_c *MockPipelinesInterface_Delete_Call) Return(_a0 error) *MockPipelinesInterface_Delete_Call
func (*MockPipelinesInterface_Delete_Call) Run ¶
func (_c *MockPipelinesInterface_Delete_Call) Run(run func(ctx context.Context, request pipelines.DeletePipelineRequest)) *MockPipelinesInterface_Delete_Call
func (*MockPipelinesInterface_Delete_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_Delete_Call) RunAndReturn(run func(context.Context, pipelines.DeletePipelineRequest) error) *MockPipelinesInterface_Delete_Call
type MockPipelinesInterface_Expecter ¶
type MockPipelinesInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockPipelinesInterface_Expecter) Create ¶
func (_e *MockPipelinesInterface_Expecter) Create(ctx interface{}, request interface{}) *MockPipelinesInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request pipelines.CreatePipeline
func (*MockPipelinesInterface_Expecter) Delete ¶
func (_e *MockPipelinesInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockPipelinesInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request pipelines.DeletePipelineRequest
func (*MockPipelinesInterface_Expecter) DeleteByPipelineId ¶
func (_e *MockPipelinesInterface_Expecter) DeleteByPipelineId(ctx interface{}, pipelineId interface{}) *MockPipelinesInterface_DeleteByPipelineId_Call
DeleteByPipelineId is a helper method to define mock.On call
- ctx context.Context
- pipelineId string
func (*MockPipelinesInterface_Expecter) Get ¶
func (_e *MockPipelinesInterface_Expecter) Get(ctx interface{}, request interface{}) *MockPipelinesInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request pipelines.GetPipelineRequest
func (*MockPipelinesInterface_Expecter) GetByName ¶
func (_e *MockPipelinesInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockPipelinesInterface_GetByName_Call
GetByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockPipelinesInterface_Expecter) GetByPipelineId ¶
func (_e *MockPipelinesInterface_Expecter) GetByPipelineId(ctx interface{}, pipelineId interface{}) *MockPipelinesInterface_GetByPipelineId_Call
GetByPipelineId is a helper method to define mock.On call
- ctx context.Context
- pipelineId string
func (*MockPipelinesInterface_Expecter) GetPermissionLevels ¶
func (_e *MockPipelinesInterface_Expecter) GetPermissionLevels(ctx interface{}, request interface{}) *MockPipelinesInterface_GetPermissionLevels_Call
GetPermissionLevels is a helper method to define mock.On call
- ctx context.Context
- request pipelines.GetPipelinePermissionLevelsRequest
func (*MockPipelinesInterface_Expecter) GetPermissionLevelsByPipelineId ¶
func (_e *MockPipelinesInterface_Expecter) GetPermissionLevelsByPipelineId(ctx interface{}, pipelineId interface{}) *MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call
GetPermissionLevelsByPipelineId is a helper method to define mock.On call
- ctx context.Context
- pipelineId string
func (*MockPipelinesInterface_Expecter) GetPermissions ¶
func (_e *MockPipelinesInterface_Expecter) GetPermissions(ctx interface{}, request interface{}) *MockPipelinesInterface_GetPermissions_Call
GetPermissions is a helper method to define mock.On call
- ctx context.Context
- request pipelines.GetPipelinePermissionsRequest
func (*MockPipelinesInterface_Expecter) GetPermissionsByPipelineId ¶
func (_e *MockPipelinesInterface_Expecter) GetPermissionsByPipelineId(ctx interface{}, pipelineId interface{}) *MockPipelinesInterface_GetPermissionsByPipelineId_Call
GetPermissionsByPipelineId is a helper method to define mock.On call
- ctx context.Context
- pipelineId string
func (*MockPipelinesInterface_Expecter) GetUpdate ¶
func (_e *MockPipelinesInterface_Expecter) GetUpdate(ctx interface{}, request interface{}) *MockPipelinesInterface_GetUpdate_Call
GetUpdate is a helper method to define mock.On call
- ctx context.Context
- request pipelines.GetUpdateRequest
func (*MockPipelinesInterface_Expecter) GetUpdateByPipelineIdAndUpdateId ¶
func (_e *MockPipelinesInterface_Expecter) GetUpdateByPipelineIdAndUpdateId(ctx interface{}, pipelineId interface{}, updateId interface{}) *MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call
GetUpdateByPipelineIdAndUpdateId is a helper method to define mock.On call
- ctx context.Context
- pipelineId string
- updateId string
func (*MockPipelinesInterface_Expecter) Impl ¶
func (_e *MockPipelinesInterface_Expecter) Impl() *MockPipelinesInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockPipelinesInterface_Expecter) ListPipelineEvents ¶
func (_e *MockPipelinesInterface_Expecter) ListPipelineEvents(ctx interface{}, request interface{}) *MockPipelinesInterface_ListPipelineEvents_Call
ListPipelineEvents is a helper method to define mock.On call
- ctx context.Context
- request pipelines.ListPipelineEventsRequest
func (*MockPipelinesInterface_Expecter) ListPipelineEventsAll ¶
func (_e *MockPipelinesInterface_Expecter) ListPipelineEventsAll(ctx interface{}, request interface{}) *MockPipelinesInterface_ListPipelineEventsAll_Call
ListPipelineEventsAll is a helper method to define mock.On call
- ctx context.Context
- request pipelines.ListPipelineEventsRequest
func (*MockPipelinesInterface_Expecter) ListPipelineEventsByPipelineId ¶
func (_e *MockPipelinesInterface_Expecter) ListPipelineEventsByPipelineId(ctx interface{}, pipelineId interface{}) *MockPipelinesInterface_ListPipelineEventsByPipelineId_Call
ListPipelineEventsByPipelineId is a helper method to define mock.On call
- ctx context.Context
- pipelineId string
func (*MockPipelinesInterface_Expecter) ListPipelines ¶
func (_e *MockPipelinesInterface_Expecter) ListPipelines(ctx interface{}, request interface{}) *MockPipelinesInterface_ListPipelines_Call
ListPipelines is a helper method to define mock.On call
- ctx context.Context
- request pipelines.ListPipelinesRequest
func (*MockPipelinesInterface_Expecter) ListPipelinesAll ¶
func (_e *MockPipelinesInterface_Expecter) ListPipelinesAll(ctx interface{}, request interface{}) *MockPipelinesInterface_ListPipelinesAll_Call
ListPipelinesAll is a helper method to define mock.On call
- ctx context.Context
- request pipelines.ListPipelinesRequest
func (*MockPipelinesInterface_Expecter) ListUpdates ¶
func (_e *MockPipelinesInterface_Expecter) ListUpdates(ctx interface{}, request interface{}) *MockPipelinesInterface_ListUpdates_Call
ListUpdates is a helper method to define mock.On call
- ctx context.Context
- request pipelines.ListUpdatesRequest
func (*MockPipelinesInterface_Expecter) ListUpdatesByPipelineId ¶
func (_e *MockPipelinesInterface_Expecter) ListUpdatesByPipelineId(ctx interface{}, pipelineId interface{}) *MockPipelinesInterface_ListUpdatesByPipelineId_Call
ListUpdatesByPipelineId is a helper method to define mock.On call
- ctx context.Context
- pipelineId string
func (*MockPipelinesInterface_Expecter) PipelineStateInfoNameToPipelineIdMap ¶
func (_e *MockPipelinesInterface_Expecter) PipelineStateInfoNameToPipelineIdMap(ctx interface{}, request interface{}) *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call
PipelineStateInfoNameToPipelineIdMap is a helper method to define mock.On call
- ctx context.Context
- request pipelines.ListPipelinesRequest
func (*MockPipelinesInterface_Expecter) Reset ¶
func (_e *MockPipelinesInterface_Expecter) Reset(ctx interface{}, resetRequest interface{}) *MockPipelinesInterface_Reset_Call
Reset is a helper method to define mock.On call
- ctx context.Context
- resetRequest pipelines.ResetRequest
func (*MockPipelinesInterface_Expecter) ResetAndWait ¶
func (_e *MockPipelinesInterface_Expecter) ResetAndWait(ctx interface{}, resetRequest interface{}, options ...interface{}) *MockPipelinesInterface_ResetAndWait_Call
ResetAndWait is a helper method to define mock.On call
- ctx context.Context
- resetRequest pipelines.ResetRequest
- options ...retries.Option[pipelines.GetPipelineResponse]
func (*MockPipelinesInterface_Expecter) SetPermissions ¶
func (_e *MockPipelinesInterface_Expecter) SetPermissions(ctx interface{}, request interface{}) *MockPipelinesInterface_SetPermissions_Call
SetPermissions is a helper method to define mock.On call
- ctx context.Context
- request pipelines.PipelinePermissionsRequest
func (*MockPipelinesInterface_Expecter) StartUpdate ¶
func (_e *MockPipelinesInterface_Expecter) StartUpdate(ctx interface{}, request interface{}) *MockPipelinesInterface_StartUpdate_Call
StartUpdate is a helper method to define mock.On call
- ctx context.Context
- request pipelines.StartUpdate
func (*MockPipelinesInterface_Expecter) Stop ¶
func (_e *MockPipelinesInterface_Expecter) Stop(ctx interface{}, stopRequest interface{}) *MockPipelinesInterface_Stop_Call
Stop is a helper method to define mock.On call
- ctx context.Context
- stopRequest pipelines.StopRequest
func (*MockPipelinesInterface_Expecter) StopAndWait ¶
func (_e *MockPipelinesInterface_Expecter) StopAndWait(ctx interface{}, stopRequest interface{}, options ...interface{}) *MockPipelinesInterface_StopAndWait_Call
StopAndWait is a helper method to define mock.On call
- ctx context.Context
- stopRequest pipelines.StopRequest
- options ...retries.Option[pipelines.GetPipelineResponse]
func (*MockPipelinesInterface_Expecter) Update ¶
func (_e *MockPipelinesInterface_Expecter) Update(ctx interface{}, request interface{}) *MockPipelinesInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request pipelines.EditPipeline
func (*MockPipelinesInterface_Expecter) UpdatePermissions ¶
func (_e *MockPipelinesInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockPipelinesInterface_UpdatePermissions_Call
UpdatePermissions is a helper method to define mock.On call
- ctx context.Context
- request pipelines.PipelinePermissionsRequest
func (*MockPipelinesInterface_Expecter) WaitGetPipelineIdle ¶
func (_e *MockPipelinesInterface_Expecter) WaitGetPipelineIdle(ctx interface{}, pipelineId interface{}, timeout interface{}, callback interface{}) *MockPipelinesInterface_WaitGetPipelineIdle_Call
WaitGetPipelineIdle is a helper method to define mock.On call
- ctx context.Context
- pipelineId string
- timeout time.Duration
- callback func(*pipelines.GetPipelineResponse)
func (*MockPipelinesInterface_Expecter) WaitGetPipelineRunning ¶
func (_e *MockPipelinesInterface_Expecter) WaitGetPipelineRunning(ctx interface{}, pipelineId interface{}, timeout interface{}, callback interface{}) *MockPipelinesInterface_WaitGetPipelineRunning_Call
WaitGetPipelineRunning is a helper method to define mock.On call
- ctx context.Context
- pipelineId string
- timeout time.Duration
- callback func(*pipelines.GetPipelineResponse)
func (*MockPipelinesInterface_Expecter) WithImpl ¶
func (_e *MockPipelinesInterface_Expecter) WithImpl(impl interface{}) *MockPipelinesInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl pipelines.PipelinesService
type MockPipelinesInterface_GetByName_Call ¶
MockPipelinesInterface_GetByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByName'
func (*MockPipelinesInterface_GetByName_Call) Return ¶
func (_c *MockPipelinesInterface_GetByName_Call) Return(_a0 *pipelines.PipelineStateInfo, _a1 error) *MockPipelinesInterface_GetByName_Call
func (*MockPipelinesInterface_GetByName_Call) Run ¶
func (_c *MockPipelinesInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockPipelinesInterface_GetByName_Call
func (*MockPipelinesInterface_GetByName_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*pipelines.PipelineStateInfo, error)) *MockPipelinesInterface_GetByName_Call
type MockPipelinesInterface_GetByPipelineId_Call ¶
MockPipelinesInterface_GetByPipelineId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByPipelineId'
func (*MockPipelinesInterface_GetByPipelineId_Call) Return ¶
func (_c *MockPipelinesInterface_GetByPipelineId_Call) Return(_a0 *pipelines.GetPipelineResponse, _a1 error) *MockPipelinesInterface_GetByPipelineId_Call
func (*MockPipelinesInterface_GetByPipelineId_Call) Run ¶
func (_c *MockPipelinesInterface_GetByPipelineId_Call) Run(run func(ctx context.Context, pipelineId string)) *MockPipelinesInterface_GetByPipelineId_Call
func (*MockPipelinesInterface_GetByPipelineId_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_GetByPipelineId_Call) RunAndReturn(run func(context.Context, string) (*pipelines.GetPipelineResponse, error)) *MockPipelinesInterface_GetByPipelineId_Call
type MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call ¶
MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevelsByPipelineId'
func (*MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call) Run ¶
func (_c *MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call) Run(run func(ctx context.Context, pipelineId string)) *MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call
func (*MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call) RunAndReturn(run func(context.Context, string) (*pipelines.GetPipelinePermissionLevelsResponse, error)) *MockPipelinesInterface_GetPermissionLevelsByPipelineId_Call
type MockPipelinesInterface_GetPermissionLevels_Call ¶
MockPipelinesInterface_GetPermissionLevels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevels'
func (*MockPipelinesInterface_GetPermissionLevels_Call) Run ¶
func (_c *MockPipelinesInterface_GetPermissionLevels_Call) Run(run func(ctx context.Context, request pipelines.GetPipelinePermissionLevelsRequest)) *MockPipelinesInterface_GetPermissionLevels_Call
func (*MockPipelinesInterface_GetPermissionLevels_Call) RunAndReturn ¶
type MockPipelinesInterface_GetPermissionsByPipelineId_Call ¶
MockPipelinesInterface_GetPermissionsByPipelineId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionsByPipelineId'
func (*MockPipelinesInterface_GetPermissionsByPipelineId_Call) Run ¶
func (_c *MockPipelinesInterface_GetPermissionsByPipelineId_Call) Run(run func(ctx context.Context, pipelineId string)) *MockPipelinesInterface_GetPermissionsByPipelineId_Call
func (*MockPipelinesInterface_GetPermissionsByPipelineId_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_GetPermissionsByPipelineId_Call) RunAndReturn(run func(context.Context, string) (*pipelines.PipelinePermissions, error)) *MockPipelinesInterface_GetPermissionsByPipelineId_Call
type MockPipelinesInterface_GetPermissions_Call ¶
MockPipelinesInterface_GetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissions'
func (*MockPipelinesInterface_GetPermissions_Call) Return ¶
func (_c *MockPipelinesInterface_GetPermissions_Call) Return(_a0 *pipelines.PipelinePermissions, _a1 error) *MockPipelinesInterface_GetPermissions_Call
func (*MockPipelinesInterface_GetPermissions_Call) Run ¶
func (_c *MockPipelinesInterface_GetPermissions_Call) Run(run func(ctx context.Context, request pipelines.GetPipelinePermissionsRequest)) *MockPipelinesInterface_GetPermissions_Call
func (*MockPipelinesInterface_GetPermissions_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_GetPermissions_Call) RunAndReturn(run func(context.Context, pipelines.GetPipelinePermissionsRequest) (*pipelines.PipelinePermissions, error)) *MockPipelinesInterface_GetPermissions_Call
type MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call ¶
MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUpdateByPipelineIdAndUpdateId'
func (*MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call) Run ¶
func (_c *MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call) Run(run func(ctx context.Context, pipelineId string, updateId string)) *MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call
func (*MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call) RunAndReturn(run func(context.Context, string, string) (*pipelines.GetUpdateResponse, error)) *MockPipelinesInterface_GetUpdateByPipelineIdAndUpdateId_Call
type MockPipelinesInterface_GetUpdate_Call ¶
MockPipelinesInterface_GetUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUpdate'
func (*MockPipelinesInterface_GetUpdate_Call) Return ¶
func (_c *MockPipelinesInterface_GetUpdate_Call) Return(_a0 *pipelines.GetUpdateResponse, _a1 error) *MockPipelinesInterface_GetUpdate_Call
func (*MockPipelinesInterface_GetUpdate_Call) Run ¶
func (_c *MockPipelinesInterface_GetUpdate_Call) Run(run func(ctx context.Context, request pipelines.GetUpdateRequest)) *MockPipelinesInterface_GetUpdate_Call
func (*MockPipelinesInterface_GetUpdate_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_GetUpdate_Call) RunAndReturn(run func(context.Context, pipelines.GetUpdateRequest) (*pipelines.GetUpdateResponse, error)) *MockPipelinesInterface_GetUpdate_Call
type MockPipelinesInterface_Get_Call ¶
MockPipelinesInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockPipelinesInterface_Get_Call) Return ¶
func (_c *MockPipelinesInterface_Get_Call) Return(_a0 *pipelines.GetPipelineResponse, _a1 error) *MockPipelinesInterface_Get_Call
func (*MockPipelinesInterface_Get_Call) Run ¶
func (_c *MockPipelinesInterface_Get_Call) Run(run func(ctx context.Context, request pipelines.GetPipelineRequest)) *MockPipelinesInterface_Get_Call
func (*MockPipelinesInterface_Get_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_Get_Call) RunAndReturn(run func(context.Context, pipelines.GetPipelineRequest) (*pipelines.GetPipelineResponse, error)) *MockPipelinesInterface_Get_Call
type MockPipelinesInterface_Impl_Call ¶
MockPipelinesInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockPipelinesInterface_Impl_Call) Return ¶
func (_c *MockPipelinesInterface_Impl_Call) Return(_a0 pipelines.PipelinesService) *MockPipelinesInterface_Impl_Call
func (*MockPipelinesInterface_Impl_Call) Run ¶
func (_c *MockPipelinesInterface_Impl_Call) Run(run func()) *MockPipelinesInterface_Impl_Call
func (*MockPipelinesInterface_Impl_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_Impl_Call) RunAndReturn(run func() pipelines.PipelinesService) *MockPipelinesInterface_Impl_Call
type MockPipelinesInterface_ListPipelineEventsAll_Call ¶
MockPipelinesInterface_ListPipelineEventsAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPipelineEventsAll'
func (*MockPipelinesInterface_ListPipelineEventsAll_Call) Return ¶
func (_c *MockPipelinesInterface_ListPipelineEventsAll_Call) Return(_a0 []pipelines.PipelineEvent, _a1 error) *MockPipelinesInterface_ListPipelineEventsAll_Call
func (*MockPipelinesInterface_ListPipelineEventsAll_Call) Run ¶
func (_c *MockPipelinesInterface_ListPipelineEventsAll_Call) Run(run func(ctx context.Context, request pipelines.ListPipelineEventsRequest)) *MockPipelinesInterface_ListPipelineEventsAll_Call
func (*MockPipelinesInterface_ListPipelineEventsAll_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_ListPipelineEventsAll_Call) RunAndReturn(run func(context.Context, pipelines.ListPipelineEventsRequest) ([]pipelines.PipelineEvent, error)) *MockPipelinesInterface_ListPipelineEventsAll_Call
type MockPipelinesInterface_ListPipelineEventsByPipelineId_Call ¶
MockPipelinesInterface_ListPipelineEventsByPipelineId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPipelineEventsByPipelineId'
func (*MockPipelinesInterface_ListPipelineEventsByPipelineId_Call) Run ¶
func (_c *MockPipelinesInterface_ListPipelineEventsByPipelineId_Call) Run(run func(ctx context.Context, pipelineId string)) *MockPipelinesInterface_ListPipelineEventsByPipelineId_Call
func (*MockPipelinesInterface_ListPipelineEventsByPipelineId_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_ListPipelineEventsByPipelineId_Call) RunAndReturn(run func(context.Context, string) (*pipelines.ListPipelineEventsResponse, error)) *MockPipelinesInterface_ListPipelineEventsByPipelineId_Call
type MockPipelinesInterface_ListPipelineEvents_Call ¶
MockPipelinesInterface_ListPipelineEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPipelineEvents'
func (*MockPipelinesInterface_ListPipelineEvents_Call) Run ¶
func (_c *MockPipelinesInterface_ListPipelineEvents_Call) Run(run func(ctx context.Context, request pipelines.ListPipelineEventsRequest)) *MockPipelinesInterface_ListPipelineEvents_Call
func (*MockPipelinesInterface_ListPipelineEvents_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_ListPipelineEvents_Call) RunAndReturn(run func(context.Context, pipelines.ListPipelineEventsRequest) listing.Iterator[pipelines.PipelineEvent]) *MockPipelinesInterface_ListPipelineEvents_Call
type MockPipelinesInterface_ListPipelinesAll_Call ¶
MockPipelinesInterface_ListPipelinesAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPipelinesAll'
func (*MockPipelinesInterface_ListPipelinesAll_Call) Return ¶
func (_c *MockPipelinesInterface_ListPipelinesAll_Call) Return(_a0 []pipelines.PipelineStateInfo, _a1 error) *MockPipelinesInterface_ListPipelinesAll_Call
func (*MockPipelinesInterface_ListPipelinesAll_Call) Run ¶
func (_c *MockPipelinesInterface_ListPipelinesAll_Call) Run(run func(ctx context.Context, request pipelines.ListPipelinesRequest)) *MockPipelinesInterface_ListPipelinesAll_Call
func (*MockPipelinesInterface_ListPipelinesAll_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_ListPipelinesAll_Call) RunAndReturn(run func(context.Context, pipelines.ListPipelinesRequest) ([]pipelines.PipelineStateInfo, error)) *MockPipelinesInterface_ListPipelinesAll_Call
type MockPipelinesInterface_ListPipelines_Call ¶
MockPipelinesInterface_ListPipelines_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPipelines'
func (*MockPipelinesInterface_ListPipelines_Call) Run ¶
func (_c *MockPipelinesInterface_ListPipelines_Call) Run(run func(ctx context.Context, request pipelines.ListPipelinesRequest)) *MockPipelinesInterface_ListPipelines_Call
func (*MockPipelinesInterface_ListPipelines_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_ListPipelines_Call) RunAndReturn(run func(context.Context, pipelines.ListPipelinesRequest) listing.Iterator[pipelines.PipelineStateInfo]) *MockPipelinesInterface_ListPipelines_Call
type MockPipelinesInterface_ListUpdatesByPipelineId_Call ¶
MockPipelinesInterface_ListUpdatesByPipelineId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUpdatesByPipelineId'
func (*MockPipelinesInterface_ListUpdatesByPipelineId_Call) Return ¶
func (_c *MockPipelinesInterface_ListUpdatesByPipelineId_Call) Return(_a0 *pipelines.ListUpdatesResponse, _a1 error) *MockPipelinesInterface_ListUpdatesByPipelineId_Call
func (*MockPipelinesInterface_ListUpdatesByPipelineId_Call) Run ¶
func (_c *MockPipelinesInterface_ListUpdatesByPipelineId_Call) Run(run func(ctx context.Context, pipelineId string)) *MockPipelinesInterface_ListUpdatesByPipelineId_Call
func (*MockPipelinesInterface_ListUpdatesByPipelineId_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_ListUpdatesByPipelineId_Call) RunAndReturn(run func(context.Context, string) (*pipelines.ListUpdatesResponse, error)) *MockPipelinesInterface_ListUpdatesByPipelineId_Call
type MockPipelinesInterface_ListUpdates_Call ¶
MockPipelinesInterface_ListUpdates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUpdates'
func (*MockPipelinesInterface_ListUpdates_Call) Return ¶
func (_c *MockPipelinesInterface_ListUpdates_Call) Return(_a0 *pipelines.ListUpdatesResponse, _a1 error) *MockPipelinesInterface_ListUpdates_Call
func (*MockPipelinesInterface_ListUpdates_Call) Run ¶
func (_c *MockPipelinesInterface_ListUpdates_Call) Run(run func(ctx context.Context, request pipelines.ListUpdatesRequest)) *MockPipelinesInterface_ListUpdates_Call
func (*MockPipelinesInterface_ListUpdates_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_ListUpdates_Call) RunAndReturn(run func(context.Context, pipelines.ListUpdatesRequest) (*pipelines.ListUpdatesResponse, error)) *MockPipelinesInterface_ListUpdates_Call
type MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call ¶
MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PipelineStateInfoNameToPipelineIdMap'
func (*MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call) Return ¶
func (_c *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call
func (*MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call) Run ¶
func (_c *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call) Run(run func(ctx context.Context, request pipelines.ListPipelinesRequest)) *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call
func (*MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call) RunAndReturn(run func(context.Context, pipelines.ListPipelinesRequest) (map[string]string, error)) *MockPipelinesInterface_PipelineStateInfoNameToPipelineIdMap_Call
type MockPipelinesInterface_ResetAndWait_Call ¶
MockPipelinesInterface_ResetAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetAndWait'
func (*MockPipelinesInterface_ResetAndWait_Call) Return ¶
func (_c *MockPipelinesInterface_ResetAndWait_Call) Return(_a0 *pipelines.GetPipelineResponse, _a1 error) *MockPipelinesInterface_ResetAndWait_Call
func (*MockPipelinesInterface_ResetAndWait_Call) Run ¶
func (_c *MockPipelinesInterface_ResetAndWait_Call) Run(run func(ctx context.Context, resetRequest pipelines.ResetRequest, options ...retries.Option[pipelines.GetPipelineResponse])) *MockPipelinesInterface_ResetAndWait_Call
func (*MockPipelinesInterface_ResetAndWait_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_ResetAndWait_Call) RunAndReturn(run func(context.Context, pipelines.ResetRequest, ...retries.Option[pipelines.GetPipelineResponse]) (*pipelines.GetPipelineResponse, error)) *MockPipelinesInterface_ResetAndWait_Call
type MockPipelinesInterface_Reset_Call ¶
MockPipelinesInterface_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'
func (*MockPipelinesInterface_Reset_Call) Return ¶
func (_c *MockPipelinesInterface_Reset_Call) Return(_a0 *pipelines.WaitGetPipelineRunning[struct{}], _a1 error) *MockPipelinesInterface_Reset_Call
func (*MockPipelinesInterface_Reset_Call) Run ¶
func (_c *MockPipelinesInterface_Reset_Call) Run(run func(ctx context.Context, resetRequest pipelines.ResetRequest)) *MockPipelinesInterface_Reset_Call
func (*MockPipelinesInterface_Reset_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_Reset_Call) RunAndReturn(run func(context.Context, pipelines.ResetRequest) (*pipelines.WaitGetPipelineRunning[struct{}], error)) *MockPipelinesInterface_Reset_Call
type MockPipelinesInterface_SetPermissions_Call ¶
MockPipelinesInterface_SetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPermissions'
func (*MockPipelinesInterface_SetPermissions_Call) Return ¶
func (_c *MockPipelinesInterface_SetPermissions_Call) Return(_a0 *pipelines.PipelinePermissions, _a1 error) *MockPipelinesInterface_SetPermissions_Call
func (*MockPipelinesInterface_SetPermissions_Call) Run ¶
func (_c *MockPipelinesInterface_SetPermissions_Call) Run(run func(ctx context.Context, request pipelines.PipelinePermissionsRequest)) *MockPipelinesInterface_SetPermissions_Call
func (*MockPipelinesInterface_SetPermissions_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_SetPermissions_Call) RunAndReturn(run func(context.Context, pipelines.PipelinePermissionsRequest) (*pipelines.PipelinePermissions, error)) *MockPipelinesInterface_SetPermissions_Call
type MockPipelinesInterface_StartUpdate_Call ¶
MockPipelinesInterface_StartUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartUpdate'
func (*MockPipelinesInterface_StartUpdate_Call) Return ¶
func (_c *MockPipelinesInterface_StartUpdate_Call) Return(_a0 *pipelines.StartUpdateResponse, _a1 error) *MockPipelinesInterface_StartUpdate_Call
func (*MockPipelinesInterface_StartUpdate_Call) Run ¶
func (_c *MockPipelinesInterface_StartUpdate_Call) Run(run func(ctx context.Context, request pipelines.StartUpdate)) *MockPipelinesInterface_StartUpdate_Call
func (*MockPipelinesInterface_StartUpdate_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_StartUpdate_Call) RunAndReturn(run func(context.Context, pipelines.StartUpdate) (*pipelines.StartUpdateResponse, error)) *MockPipelinesInterface_StartUpdate_Call
type MockPipelinesInterface_StopAndWait_Call ¶
MockPipelinesInterface_StopAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopAndWait'
func (*MockPipelinesInterface_StopAndWait_Call) Return ¶
func (_c *MockPipelinesInterface_StopAndWait_Call) Return(_a0 *pipelines.GetPipelineResponse, _a1 error) *MockPipelinesInterface_StopAndWait_Call
func (*MockPipelinesInterface_StopAndWait_Call) Run ¶
func (_c *MockPipelinesInterface_StopAndWait_Call) Run(run func(ctx context.Context, stopRequest pipelines.StopRequest, options ...retries.Option[pipelines.GetPipelineResponse])) *MockPipelinesInterface_StopAndWait_Call
func (*MockPipelinesInterface_StopAndWait_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_StopAndWait_Call) RunAndReturn(run func(context.Context, pipelines.StopRequest, ...retries.Option[pipelines.GetPipelineResponse]) (*pipelines.GetPipelineResponse, error)) *MockPipelinesInterface_StopAndWait_Call
type MockPipelinesInterface_Stop_Call ¶
MockPipelinesInterface_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*MockPipelinesInterface_Stop_Call) Return ¶
func (_c *MockPipelinesInterface_Stop_Call) Return(_a0 *pipelines.WaitGetPipelineIdle[struct{}], _a1 error) *MockPipelinesInterface_Stop_Call
func (*MockPipelinesInterface_Stop_Call) Run ¶
func (_c *MockPipelinesInterface_Stop_Call) Run(run func(ctx context.Context, stopRequest pipelines.StopRequest)) *MockPipelinesInterface_Stop_Call
func (*MockPipelinesInterface_Stop_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_Stop_Call) RunAndReturn(run func(context.Context, pipelines.StopRequest) (*pipelines.WaitGetPipelineIdle[struct{}], error)) *MockPipelinesInterface_Stop_Call
type MockPipelinesInterface_UpdatePermissions_Call ¶
MockPipelinesInterface_UpdatePermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePermissions'
func (*MockPipelinesInterface_UpdatePermissions_Call) Return ¶
func (_c *MockPipelinesInterface_UpdatePermissions_Call) Return(_a0 *pipelines.PipelinePermissions, _a1 error) *MockPipelinesInterface_UpdatePermissions_Call
func (*MockPipelinesInterface_UpdatePermissions_Call) Run ¶
func (_c *MockPipelinesInterface_UpdatePermissions_Call) Run(run func(ctx context.Context, request pipelines.PipelinePermissionsRequest)) *MockPipelinesInterface_UpdatePermissions_Call
func (*MockPipelinesInterface_UpdatePermissions_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_UpdatePermissions_Call) RunAndReturn(run func(context.Context, pipelines.PipelinePermissionsRequest) (*pipelines.PipelinePermissions, error)) *MockPipelinesInterface_UpdatePermissions_Call
type MockPipelinesInterface_Update_Call ¶
MockPipelinesInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockPipelinesInterface_Update_Call) Return ¶
func (_c *MockPipelinesInterface_Update_Call) Return(_a0 error) *MockPipelinesInterface_Update_Call
func (*MockPipelinesInterface_Update_Call) Run ¶
func (_c *MockPipelinesInterface_Update_Call) Run(run func(ctx context.Context, request pipelines.EditPipeline)) *MockPipelinesInterface_Update_Call
func (*MockPipelinesInterface_Update_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_Update_Call) RunAndReturn(run func(context.Context, pipelines.EditPipeline) error) *MockPipelinesInterface_Update_Call
type MockPipelinesInterface_WaitGetPipelineIdle_Call ¶
MockPipelinesInterface_WaitGetPipelineIdle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitGetPipelineIdle'
func (*MockPipelinesInterface_WaitGetPipelineIdle_Call) Return ¶
func (_c *MockPipelinesInterface_WaitGetPipelineIdle_Call) Return(_a0 *pipelines.GetPipelineResponse, _a1 error) *MockPipelinesInterface_WaitGetPipelineIdle_Call
func (*MockPipelinesInterface_WaitGetPipelineIdle_Call) Run ¶
func (_c *MockPipelinesInterface_WaitGetPipelineIdle_Call) Run(run func(ctx context.Context, pipelineId string, timeout time.Duration, callback func(*pipelines.GetPipelineResponse))) *MockPipelinesInterface_WaitGetPipelineIdle_Call
func (*MockPipelinesInterface_WaitGetPipelineIdle_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_WaitGetPipelineIdle_Call) RunAndReturn(run func(context.Context, string, time.Duration, func(*pipelines.GetPipelineResponse)) (*pipelines.GetPipelineResponse, error)) *MockPipelinesInterface_WaitGetPipelineIdle_Call
type MockPipelinesInterface_WaitGetPipelineRunning_Call ¶
MockPipelinesInterface_WaitGetPipelineRunning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitGetPipelineRunning'
func (*MockPipelinesInterface_WaitGetPipelineRunning_Call) Return ¶
func (_c *MockPipelinesInterface_WaitGetPipelineRunning_Call) Return(_a0 *pipelines.GetPipelineResponse, _a1 error) *MockPipelinesInterface_WaitGetPipelineRunning_Call
func (*MockPipelinesInterface_WaitGetPipelineRunning_Call) Run ¶
func (_c *MockPipelinesInterface_WaitGetPipelineRunning_Call) Run(run func(ctx context.Context, pipelineId string, timeout time.Duration, callback func(*pipelines.GetPipelineResponse))) *MockPipelinesInterface_WaitGetPipelineRunning_Call
func (*MockPipelinesInterface_WaitGetPipelineRunning_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_WaitGetPipelineRunning_Call) RunAndReturn(run func(context.Context, string, time.Duration, func(*pipelines.GetPipelineResponse)) (*pipelines.GetPipelineResponse, error)) *MockPipelinesInterface_WaitGetPipelineRunning_Call
type MockPipelinesInterface_WithImpl_Call ¶
MockPipelinesInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockPipelinesInterface_WithImpl_Call) Return ¶
func (_c *MockPipelinesInterface_WithImpl_Call) Return(_a0 pipelines.PipelinesInterface) *MockPipelinesInterface_WithImpl_Call
func (*MockPipelinesInterface_WithImpl_Call) Run ¶
func (_c *MockPipelinesInterface_WithImpl_Call) Run(run func(impl pipelines.PipelinesService)) *MockPipelinesInterface_WithImpl_Call
func (*MockPipelinesInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockPipelinesInterface_WithImpl_Call) RunAndReturn(run func(pipelines.PipelinesService) pipelines.PipelinesInterface) *MockPipelinesInterface_WithImpl_Call