Documentation
¶
Index ¶
- type MockAppsInterface
- func (_m *MockAppsInterface) Create(ctx context.Context, createAppRequest apps.CreateAppRequest) (*apps.WaitGetAppIdle[apps.App], error)
- func (_m *MockAppsInterface) CreateAndWait(ctx context.Context, createAppRequest apps.CreateAppRequest, ...) (*apps.App, error)
- func (_m *MockAppsInterface) Delete(ctx context.Context, request apps.DeleteAppRequest) error
- func (_m *MockAppsInterface) DeleteByName(ctx context.Context, name string) error
- func (_m *MockAppsInterface) Deploy(ctx context.Context, ...) (*apps.WaitGetDeploymentAppSucceeded[apps.AppDeployment], error)
- func (_m *MockAppsInterface) DeployAndWait(ctx context.Context, ...) (*apps.AppDeployment, error)
- func (_m *MockAppsInterface) EXPECT() *MockAppsInterface_Expecter
- func (_m *MockAppsInterface) Get(ctx context.Context, request apps.GetAppRequest) (*apps.App, error)
- func (_m *MockAppsInterface) GetByName(ctx context.Context, name string) (*apps.App, error)
- func (_m *MockAppsInterface) GetDeployment(ctx context.Context, request apps.GetAppDeploymentRequest) (*apps.AppDeployment, error)
- func (_m *MockAppsInterface) GetDeploymentByAppNameAndDeploymentId(ctx context.Context, appName string, deploymentId string) (*apps.AppDeployment, error)
- func (_m *MockAppsInterface) GetPermissionLevels(ctx context.Context, request apps.GetAppPermissionLevelsRequest) (*apps.GetAppPermissionLevelsResponse, error)
- func (_m *MockAppsInterface) GetPermissionLevelsByAppName(ctx context.Context, appName string) (*apps.GetAppPermissionLevelsResponse, error)
- func (_m *MockAppsInterface) GetPermissions(ctx context.Context, request apps.GetAppPermissionsRequest) (*apps.AppPermissions, error)
- func (_m *MockAppsInterface) GetPermissionsByAppName(ctx context.Context, appName string) (*apps.AppPermissions, error)
- func (_m *MockAppsInterface) List(ctx context.Context, request apps.ListAppsRequest) listing.Iterator[apps.App]
- func (_m *MockAppsInterface) ListAll(ctx context.Context, request apps.ListAppsRequest) ([]apps.App, error)
- func (_m *MockAppsInterface) ListDeployments(ctx context.Context, request apps.ListAppDeploymentsRequest) listing.Iterator[apps.AppDeployment]
- func (_m *MockAppsInterface) ListDeploymentsAll(ctx context.Context, request apps.ListAppDeploymentsRequest) ([]apps.AppDeployment, error)
- func (_m *MockAppsInterface) ListDeploymentsByAppName(ctx context.Context, appName string) (*apps.ListAppDeploymentsResponse, error)
- func (_m *MockAppsInterface) SetPermissions(ctx context.Context, request apps.AppPermissionsRequest) (*apps.AppPermissions, error)
- func (_m *MockAppsInterface) Start(ctx context.Context, startAppRequest apps.StartAppRequest) (*apps.WaitGetDeploymentAppSucceeded[apps.AppDeployment], error)
- func (_m *MockAppsInterface) StartAndWait(ctx context.Context, startAppRequest apps.StartAppRequest, ...) (*apps.AppDeployment, error)
- func (_m *MockAppsInterface) Stop(ctx context.Context, request apps.StopAppRequest) error
- func (_m *MockAppsInterface) Update(ctx context.Context, request apps.UpdateAppRequest) (*apps.App, error)
- func (_m *MockAppsInterface) UpdatePermissions(ctx context.Context, request apps.AppPermissionsRequest) (*apps.AppPermissions, error)
- func (_m *MockAppsInterface) WaitGetAppIdle(ctx context.Context, name string, timeout time.Duration, ...) (*apps.App, error)
- func (_m *MockAppsInterface) WaitGetDeploymentAppSucceeded(ctx context.Context, appName string, deploymentId string, ...) (*apps.AppDeployment, error)
- type MockAppsInterface_CreateAndWait_Call
- func (_c *MockAppsInterface_CreateAndWait_Call) Return(_a0 *apps.App, _a1 error) *MockAppsInterface_CreateAndWait_Call
- func (_c *MockAppsInterface_CreateAndWait_Call) Run(run func(ctx context.Context, createAppRequest apps.CreateAppRequest, ...)) *MockAppsInterface_CreateAndWait_Call
- func (_c *MockAppsInterface_CreateAndWait_Call) RunAndReturn(...) *MockAppsInterface_CreateAndWait_Call
- type MockAppsInterface_Create_Call
- func (_c *MockAppsInterface_Create_Call) Return(_a0 *apps.WaitGetAppIdle[apps.App], _a1 error) *MockAppsInterface_Create_Call
- func (_c *MockAppsInterface_Create_Call) Run(run func(ctx context.Context, createAppRequest apps.CreateAppRequest)) *MockAppsInterface_Create_Call
- func (_c *MockAppsInterface_Create_Call) RunAndReturn(...) *MockAppsInterface_Create_Call
- type MockAppsInterface_DeleteByName_Call
- func (_c *MockAppsInterface_DeleteByName_Call) Return(_a0 error) *MockAppsInterface_DeleteByName_Call
- func (_c *MockAppsInterface_DeleteByName_Call) Run(run func(ctx context.Context, name string)) *MockAppsInterface_DeleteByName_Call
- func (_c *MockAppsInterface_DeleteByName_Call) RunAndReturn(run func(context.Context, string) error) *MockAppsInterface_DeleteByName_Call
- type MockAppsInterface_Delete_Call
- func (_c *MockAppsInterface_Delete_Call) Return(_a0 error) *MockAppsInterface_Delete_Call
- func (_c *MockAppsInterface_Delete_Call) Run(run func(ctx context.Context, request apps.DeleteAppRequest)) *MockAppsInterface_Delete_Call
- func (_c *MockAppsInterface_Delete_Call) RunAndReturn(run func(context.Context, apps.DeleteAppRequest) error) *MockAppsInterface_Delete_Call
- type MockAppsInterface_DeployAndWait_Call
- func (_c *MockAppsInterface_DeployAndWait_Call) Return(_a0 *apps.AppDeployment, _a1 error) *MockAppsInterface_DeployAndWait_Call
- func (_c *MockAppsInterface_DeployAndWait_Call) Run(run func(ctx context.Context, ...)) *MockAppsInterface_DeployAndWait_Call
- func (_c *MockAppsInterface_DeployAndWait_Call) RunAndReturn(...) *MockAppsInterface_DeployAndWait_Call
- type MockAppsInterface_Deploy_Call
- func (_c *MockAppsInterface_Deploy_Call) Return(_a0 *apps.WaitGetDeploymentAppSucceeded[apps.AppDeployment], _a1 error) *MockAppsInterface_Deploy_Call
- func (_c *MockAppsInterface_Deploy_Call) Run(run func(ctx context.Context, ...)) *MockAppsInterface_Deploy_Call
- func (_c *MockAppsInterface_Deploy_Call) RunAndReturn(...) *MockAppsInterface_Deploy_Call
- type MockAppsInterface_Expecter
- func (_e *MockAppsInterface_Expecter) Create(ctx interface{}, createAppRequest interface{}) *MockAppsInterface_Create_Call
- func (_e *MockAppsInterface_Expecter) CreateAndWait(ctx interface{}, createAppRequest interface{}, options ...interface{}) *MockAppsInterface_CreateAndWait_Call
- func (_e *MockAppsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockAppsInterface_Delete_Call
- func (_e *MockAppsInterface_Expecter) DeleteByName(ctx interface{}, name interface{}) *MockAppsInterface_DeleteByName_Call
- func (_e *MockAppsInterface_Expecter) Deploy(ctx interface{}, createAppDeploymentRequest interface{}) *MockAppsInterface_Deploy_Call
- func (_e *MockAppsInterface_Expecter) DeployAndWait(ctx interface{}, createAppDeploymentRequest interface{}, ...) *MockAppsInterface_DeployAndWait_Call
- func (_e *MockAppsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockAppsInterface_Get_Call
- func (_e *MockAppsInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockAppsInterface_GetByName_Call
- func (_e *MockAppsInterface_Expecter) GetDeployment(ctx interface{}, request interface{}) *MockAppsInterface_GetDeployment_Call
- func (_e *MockAppsInterface_Expecter) GetDeploymentByAppNameAndDeploymentId(ctx interface{}, appName interface{}, deploymentId interface{}) *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call
- func (_e *MockAppsInterface_Expecter) GetPermissionLevels(ctx interface{}, request interface{}) *MockAppsInterface_GetPermissionLevels_Call
- func (_e *MockAppsInterface_Expecter) GetPermissionLevelsByAppName(ctx interface{}, appName interface{}) *MockAppsInterface_GetPermissionLevelsByAppName_Call
- func (_e *MockAppsInterface_Expecter) GetPermissions(ctx interface{}, request interface{}) *MockAppsInterface_GetPermissions_Call
- func (_e *MockAppsInterface_Expecter) GetPermissionsByAppName(ctx interface{}, appName interface{}) *MockAppsInterface_GetPermissionsByAppName_Call
- func (_e *MockAppsInterface_Expecter) List(ctx interface{}, request interface{}) *MockAppsInterface_List_Call
- func (_e *MockAppsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockAppsInterface_ListAll_Call
- func (_e *MockAppsInterface_Expecter) ListDeployments(ctx interface{}, request interface{}) *MockAppsInterface_ListDeployments_Call
- func (_e *MockAppsInterface_Expecter) ListDeploymentsAll(ctx interface{}, request interface{}) *MockAppsInterface_ListDeploymentsAll_Call
- func (_e *MockAppsInterface_Expecter) ListDeploymentsByAppName(ctx interface{}, appName interface{}) *MockAppsInterface_ListDeploymentsByAppName_Call
- func (_e *MockAppsInterface_Expecter) SetPermissions(ctx interface{}, request interface{}) *MockAppsInterface_SetPermissions_Call
- func (_e *MockAppsInterface_Expecter) Start(ctx interface{}, startAppRequest interface{}) *MockAppsInterface_Start_Call
- func (_e *MockAppsInterface_Expecter) StartAndWait(ctx interface{}, startAppRequest interface{}, options ...interface{}) *MockAppsInterface_StartAndWait_Call
- func (_e *MockAppsInterface_Expecter) Stop(ctx interface{}, request interface{}) *MockAppsInterface_Stop_Call
- func (_e *MockAppsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockAppsInterface_Update_Call
- func (_e *MockAppsInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockAppsInterface_UpdatePermissions_Call
- func (_e *MockAppsInterface_Expecter) WaitGetAppIdle(ctx interface{}, name interface{}, timeout interface{}, callback interface{}) *MockAppsInterface_WaitGetAppIdle_Call
- func (_e *MockAppsInterface_Expecter) WaitGetDeploymentAppSucceeded(ctx interface{}, appName interface{}, deploymentId interface{}, ...) *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call
- type MockAppsInterface_GetByName_Call
- func (_c *MockAppsInterface_GetByName_Call) Return(_a0 *apps.App, _a1 error) *MockAppsInterface_GetByName_Call
- func (_c *MockAppsInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockAppsInterface_GetByName_Call
- func (_c *MockAppsInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*apps.App, error)) *MockAppsInterface_GetByName_Call
- type MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call
- func (_c *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call) Return(_a0 *apps.AppDeployment, _a1 error) *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call
- func (_c *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call) Run(run func(ctx context.Context, appName string, deploymentId string)) *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call
- func (_c *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call) RunAndReturn(run func(context.Context, string, string) (*apps.AppDeployment, error)) *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call
- type MockAppsInterface_GetDeployment_Call
- func (_c *MockAppsInterface_GetDeployment_Call) Return(_a0 *apps.AppDeployment, _a1 error) *MockAppsInterface_GetDeployment_Call
- func (_c *MockAppsInterface_GetDeployment_Call) Run(run func(ctx context.Context, request apps.GetAppDeploymentRequest)) *MockAppsInterface_GetDeployment_Call
- func (_c *MockAppsInterface_GetDeployment_Call) RunAndReturn(...) *MockAppsInterface_GetDeployment_Call
- type MockAppsInterface_GetPermissionLevelsByAppName_Call
- func (_c *MockAppsInterface_GetPermissionLevelsByAppName_Call) Return(_a0 *apps.GetAppPermissionLevelsResponse, _a1 error) *MockAppsInterface_GetPermissionLevelsByAppName_Call
- func (_c *MockAppsInterface_GetPermissionLevelsByAppName_Call) Run(run func(ctx context.Context, appName string)) *MockAppsInterface_GetPermissionLevelsByAppName_Call
- func (_c *MockAppsInterface_GetPermissionLevelsByAppName_Call) RunAndReturn(...) *MockAppsInterface_GetPermissionLevelsByAppName_Call
- type MockAppsInterface_GetPermissionLevels_Call
- func (_c *MockAppsInterface_GetPermissionLevels_Call) Return(_a0 *apps.GetAppPermissionLevelsResponse, _a1 error) *MockAppsInterface_GetPermissionLevels_Call
- func (_c *MockAppsInterface_GetPermissionLevels_Call) Run(run func(ctx context.Context, request apps.GetAppPermissionLevelsRequest)) *MockAppsInterface_GetPermissionLevels_Call
- func (_c *MockAppsInterface_GetPermissionLevels_Call) RunAndReturn(...) *MockAppsInterface_GetPermissionLevels_Call
- type MockAppsInterface_GetPermissionsByAppName_Call
- func (_c *MockAppsInterface_GetPermissionsByAppName_Call) Return(_a0 *apps.AppPermissions, _a1 error) *MockAppsInterface_GetPermissionsByAppName_Call
- func (_c *MockAppsInterface_GetPermissionsByAppName_Call) Run(run func(ctx context.Context, appName string)) *MockAppsInterface_GetPermissionsByAppName_Call
- func (_c *MockAppsInterface_GetPermissionsByAppName_Call) RunAndReturn(run func(context.Context, string) (*apps.AppPermissions, error)) *MockAppsInterface_GetPermissionsByAppName_Call
- type MockAppsInterface_GetPermissions_Call
- func (_c *MockAppsInterface_GetPermissions_Call) Return(_a0 *apps.AppPermissions, _a1 error) *MockAppsInterface_GetPermissions_Call
- func (_c *MockAppsInterface_GetPermissions_Call) Run(run func(ctx context.Context, request apps.GetAppPermissionsRequest)) *MockAppsInterface_GetPermissions_Call
- func (_c *MockAppsInterface_GetPermissions_Call) RunAndReturn(...) *MockAppsInterface_GetPermissions_Call
- type MockAppsInterface_Get_Call
- func (_c *MockAppsInterface_Get_Call) Return(_a0 *apps.App, _a1 error) *MockAppsInterface_Get_Call
- func (_c *MockAppsInterface_Get_Call) Run(run func(ctx context.Context, request apps.GetAppRequest)) *MockAppsInterface_Get_Call
- func (_c *MockAppsInterface_Get_Call) RunAndReturn(run func(context.Context, apps.GetAppRequest) (*apps.App, error)) *MockAppsInterface_Get_Call
- type MockAppsInterface_ListAll_Call
- func (_c *MockAppsInterface_ListAll_Call) Return(_a0 []apps.App, _a1 error) *MockAppsInterface_ListAll_Call
- func (_c *MockAppsInterface_ListAll_Call) Run(run func(ctx context.Context, request apps.ListAppsRequest)) *MockAppsInterface_ListAll_Call
- func (_c *MockAppsInterface_ListAll_Call) RunAndReturn(run func(context.Context, apps.ListAppsRequest) ([]apps.App, error)) *MockAppsInterface_ListAll_Call
- type MockAppsInterface_ListDeploymentsAll_Call
- func (_c *MockAppsInterface_ListDeploymentsAll_Call) Return(_a0 []apps.AppDeployment, _a1 error) *MockAppsInterface_ListDeploymentsAll_Call
- func (_c *MockAppsInterface_ListDeploymentsAll_Call) Run(run func(ctx context.Context, request apps.ListAppDeploymentsRequest)) *MockAppsInterface_ListDeploymentsAll_Call
- func (_c *MockAppsInterface_ListDeploymentsAll_Call) RunAndReturn(...) *MockAppsInterface_ListDeploymentsAll_Call
- type MockAppsInterface_ListDeploymentsByAppName_Call
- func (_c *MockAppsInterface_ListDeploymentsByAppName_Call) Return(_a0 *apps.ListAppDeploymentsResponse, _a1 error) *MockAppsInterface_ListDeploymentsByAppName_Call
- func (_c *MockAppsInterface_ListDeploymentsByAppName_Call) Run(run func(ctx context.Context, appName string)) *MockAppsInterface_ListDeploymentsByAppName_Call
- func (_c *MockAppsInterface_ListDeploymentsByAppName_Call) RunAndReturn(run func(context.Context, string) (*apps.ListAppDeploymentsResponse, error)) *MockAppsInterface_ListDeploymentsByAppName_Call
- type MockAppsInterface_ListDeployments_Call
- func (_c *MockAppsInterface_ListDeployments_Call) Return(_a0 listing.Iterator[apps.AppDeployment]) *MockAppsInterface_ListDeployments_Call
- func (_c *MockAppsInterface_ListDeployments_Call) Run(run func(ctx context.Context, request apps.ListAppDeploymentsRequest)) *MockAppsInterface_ListDeployments_Call
- func (_c *MockAppsInterface_ListDeployments_Call) RunAndReturn(...) *MockAppsInterface_ListDeployments_Call
- type MockAppsInterface_List_Call
- func (_c *MockAppsInterface_List_Call) Return(_a0 listing.Iterator[apps.App]) *MockAppsInterface_List_Call
- func (_c *MockAppsInterface_List_Call) Run(run func(ctx context.Context, request apps.ListAppsRequest)) *MockAppsInterface_List_Call
- func (_c *MockAppsInterface_List_Call) RunAndReturn(run func(context.Context, apps.ListAppsRequest) listing.Iterator[apps.App]) *MockAppsInterface_List_Call
- type MockAppsInterface_SetPermissions_Call
- func (_c *MockAppsInterface_SetPermissions_Call) Return(_a0 *apps.AppPermissions, _a1 error) *MockAppsInterface_SetPermissions_Call
- func (_c *MockAppsInterface_SetPermissions_Call) Run(run func(ctx context.Context, request apps.AppPermissionsRequest)) *MockAppsInterface_SetPermissions_Call
- func (_c *MockAppsInterface_SetPermissions_Call) RunAndReturn(...) *MockAppsInterface_SetPermissions_Call
- type MockAppsInterface_StartAndWait_Call
- func (_c *MockAppsInterface_StartAndWait_Call) Return(_a0 *apps.AppDeployment, _a1 error) *MockAppsInterface_StartAndWait_Call
- func (_c *MockAppsInterface_StartAndWait_Call) Run(run func(ctx context.Context, startAppRequest apps.StartAppRequest, ...)) *MockAppsInterface_StartAndWait_Call
- func (_c *MockAppsInterface_StartAndWait_Call) RunAndReturn(...) *MockAppsInterface_StartAndWait_Call
- type MockAppsInterface_Start_Call
- func (_c *MockAppsInterface_Start_Call) Return(_a0 *apps.WaitGetDeploymentAppSucceeded[apps.AppDeployment], _a1 error) *MockAppsInterface_Start_Call
- func (_c *MockAppsInterface_Start_Call) Run(run func(ctx context.Context, startAppRequest apps.StartAppRequest)) *MockAppsInterface_Start_Call
- func (_c *MockAppsInterface_Start_Call) RunAndReturn(...) *MockAppsInterface_Start_Call
- type MockAppsInterface_Stop_Call
- func (_c *MockAppsInterface_Stop_Call) Return(_a0 error) *MockAppsInterface_Stop_Call
- func (_c *MockAppsInterface_Stop_Call) Run(run func(ctx context.Context, request apps.StopAppRequest)) *MockAppsInterface_Stop_Call
- func (_c *MockAppsInterface_Stop_Call) RunAndReturn(run func(context.Context, apps.StopAppRequest) error) *MockAppsInterface_Stop_Call
- type MockAppsInterface_UpdatePermissions_Call
- func (_c *MockAppsInterface_UpdatePermissions_Call) Return(_a0 *apps.AppPermissions, _a1 error) *MockAppsInterface_UpdatePermissions_Call
- func (_c *MockAppsInterface_UpdatePermissions_Call) Run(run func(ctx context.Context, request apps.AppPermissionsRequest)) *MockAppsInterface_UpdatePermissions_Call
- func (_c *MockAppsInterface_UpdatePermissions_Call) RunAndReturn(...) *MockAppsInterface_UpdatePermissions_Call
- type MockAppsInterface_Update_Call
- func (_c *MockAppsInterface_Update_Call) Return(_a0 *apps.App, _a1 error) *MockAppsInterface_Update_Call
- func (_c *MockAppsInterface_Update_Call) Run(run func(ctx context.Context, request apps.UpdateAppRequest)) *MockAppsInterface_Update_Call
- func (_c *MockAppsInterface_Update_Call) RunAndReturn(run func(context.Context, apps.UpdateAppRequest) (*apps.App, error)) *MockAppsInterface_Update_Call
- type MockAppsInterface_WaitGetAppIdle_Call
- func (_c *MockAppsInterface_WaitGetAppIdle_Call) Return(_a0 *apps.App, _a1 error) *MockAppsInterface_WaitGetAppIdle_Call
- func (_c *MockAppsInterface_WaitGetAppIdle_Call) Run(run func(ctx context.Context, name string, timeout time.Duration, ...)) *MockAppsInterface_WaitGetAppIdle_Call
- func (_c *MockAppsInterface_WaitGetAppIdle_Call) RunAndReturn(...) *MockAppsInterface_WaitGetAppIdle_Call
- type MockAppsInterface_WaitGetDeploymentAppSucceeded_Call
- func (_c *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) Return(_a0 *apps.AppDeployment, _a1 error) *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call
- func (_c *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) Run(run func(ctx context.Context, appName string, deploymentId string, ...)) *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call
- func (_c *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) RunAndReturn(...) *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAppsInterface ¶
MockAppsInterface is an autogenerated mock type for the AppsInterface type
func NewMockAppsInterface ¶
func NewMockAppsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockAppsInterface
NewMockAppsInterface creates a new instance of MockAppsInterface. 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 (*MockAppsInterface) Create ¶
func (_m *MockAppsInterface) Create(ctx context.Context, createAppRequest apps.CreateAppRequest) (*apps.WaitGetAppIdle[apps.App], error)
Create provides a mock function with given fields: ctx, createAppRequest
func (*MockAppsInterface) CreateAndWait ¶
func (_m *MockAppsInterface) CreateAndWait(ctx context.Context, createAppRequest apps.CreateAppRequest, options ...retries.Option[apps.App]) (*apps.App, error)
CreateAndWait provides a mock function with given fields: ctx, createAppRequest, options
func (*MockAppsInterface) Delete ¶
func (_m *MockAppsInterface) Delete(ctx context.Context, request apps.DeleteAppRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockAppsInterface) DeleteByName ¶
func (_m *MockAppsInterface) DeleteByName(ctx context.Context, name string) error
DeleteByName provides a mock function with given fields: ctx, name
func (*MockAppsInterface) Deploy ¶
func (_m *MockAppsInterface) Deploy(ctx context.Context, createAppDeploymentRequest apps.CreateAppDeploymentRequest) (*apps.WaitGetDeploymentAppSucceeded[apps.AppDeployment], error)
Deploy provides a mock function with given fields: ctx, createAppDeploymentRequest
func (*MockAppsInterface) DeployAndWait ¶
func (_m *MockAppsInterface) DeployAndWait(ctx context.Context, createAppDeploymentRequest apps.CreateAppDeploymentRequest, options ...retries.Option[apps.AppDeployment]) (*apps.AppDeployment, error)
DeployAndWait provides a mock function with given fields: ctx, createAppDeploymentRequest, options
func (*MockAppsInterface) EXPECT ¶
func (_m *MockAppsInterface) EXPECT() *MockAppsInterface_Expecter
func (*MockAppsInterface) Get ¶
func (_m *MockAppsInterface) Get(ctx context.Context, request apps.GetAppRequest) (*apps.App, error)
Get provides a mock function with given fields: ctx, request
func (*MockAppsInterface) GetByName ¶
GetByName provides a mock function with given fields: ctx, name
func (*MockAppsInterface) GetDeployment ¶
func (_m *MockAppsInterface) GetDeployment(ctx context.Context, request apps.GetAppDeploymentRequest) (*apps.AppDeployment, error)
GetDeployment provides a mock function with given fields: ctx, request
func (*MockAppsInterface) GetDeploymentByAppNameAndDeploymentId ¶
func (_m *MockAppsInterface) GetDeploymentByAppNameAndDeploymentId(ctx context.Context, appName string, deploymentId string) (*apps.AppDeployment, error)
GetDeploymentByAppNameAndDeploymentId provides a mock function with given fields: ctx, appName, deploymentId
func (*MockAppsInterface) GetPermissionLevels ¶
func (_m *MockAppsInterface) GetPermissionLevels(ctx context.Context, request apps.GetAppPermissionLevelsRequest) (*apps.GetAppPermissionLevelsResponse, error)
GetPermissionLevels provides a mock function with given fields: ctx, request
func (*MockAppsInterface) GetPermissionLevelsByAppName ¶
func (_m *MockAppsInterface) GetPermissionLevelsByAppName(ctx context.Context, appName string) (*apps.GetAppPermissionLevelsResponse, error)
GetPermissionLevelsByAppName provides a mock function with given fields: ctx, appName
func (*MockAppsInterface) GetPermissions ¶
func (_m *MockAppsInterface) GetPermissions(ctx context.Context, request apps.GetAppPermissionsRequest) (*apps.AppPermissions, error)
GetPermissions provides a mock function with given fields: ctx, request
func (*MockAppsInterface) GetPermissionsByAppName ¶
func (_m *MockAppsInterface) GetPermissionsByAppName(ctx context.Context, appName string) (*apps.AppPermissions, error)
GetPermissionsByAppName provides a mock function with given fields: ctx, appName
func (*MockAppsInterface) List ¶
func (_m *MockAppsInterface) List(ctx context.Context, request apps.ListAppsRequest) listing.Iterator[apps.App]
List provides a mock function with given fields: ctx, request
func (*MockAppsInterface) ListAll ¶
func (_m *MockAppsInterface) ListAll(ctx context.Context, request apps.ListAppsRequest) ([]apps.App, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockAppsInterface) ListDeployments ¶
func (_m *MockAppsInterface) ListDeployments(ctx context.Context, request apps.ListAppDeploymentsRequest) listing.Iterator[apps.AppDeployment]
ListDeployments provides a mock function with given fields: ctx, request
func (*MockAppsInterface) ListDeploymentsAll ¶
func (_m *MockAppsInterface) ListDeploymentsAll(ctx context.Context, request apps.ListAppDeploymentsRequest) ([]apps.AppDeployment, error)
ListDeploymentsAll provides a mock function with given fields: ctx, request
func (*MockAppsInterface) ListDeploymentsByAppName ¶
func (_m *MockAppsInterface) ListDeploymentsByAppName(ctx context.Context, appName string) (*apps.ListAppDeploymentsResponse, error)
ListDeploymentsByAppName provides a mock function with given fields: ctx, appName
func (*MockAppsInterface) SetPermissions ¶
func (_m *MockAppsInterface) SetPermissions(ctx context.Context, request apps.AppPermissionsRequest) (*apps.AppPermissions, error)
SetPermissions provides a mock function with given fields: ctx, request
func (*MockAppsInterface) Start ¶
func (_m *MockAppsInterface) Start(ctx context.Context, startAppRequest apps.StartAppRequest) (*apps.WaitGetDeploymentAppSucceeded[apps.AppDeployment], error)
Start provides a mock function with given fields: ctx, startAppRequest
func (*MockAppsInterface) StartAndWait ¶
func (_m *MockAppsInterface) StartAndWait(ctx context.Context, startAppRequest apps.StartAppRequest, options ...retries.Option[apps.AppDeployment]) (*apps.AppDeployment, error)
StartAndWait provides a mock function with given fields: ctx, startAppRequest, options
func (*MockAppsInterface) Stop ¶
func (_m *MockAppsInterface) Stop(ctx context.Context, request apps.StopAppRequest) error
Stop provides a mock function with given fields: ctx, request
func (*MockAppsInterface) Update ¶
func (_m *MockAppsInterface) Update(ctx context.Context, request apps.UpdateAppRequest) (*apps.App, error)
Update provides a mock function with given fields: ctx, request
func (*MockAppsInterface) UpdatePermissions ¶
func (_m *MockAppsInterface) UpdatePermissions(ctx context.Context, request apps.AppPermissionsRequest) (*apps.AppPermissions, error)
UpdatePermissions provides a mock function with given fields: ctx, request
func (*MockAppsInterface) WaitGetAppIdle ¶
func (_m *MockAppsInterface) WaitGetAppIdle(ctx context.Context, name string, timeout time.Duration, callback func(*apps.App)) (*apps.App, error)
WaitGetAppIdle provides a mock function with given fields: ctx, name, timeout, callback
func (*MockAppsInterface) WaitGetDeploymentAppSucceeded ¶
func (_m *MockAppsInterface) WaitGetDeploymentAppSucceeded(ctx context.Context, appName string, deploymentId string, timeout time.Duration, callback func(*apps.AppDeployment)) (*apps.AppDeployment, error)
WaitGetDeploymentAppSucceeded provides a mock function with given fields: ctx, appName, deploymentId, timeout, callback
type MockAppsInterface_CreateAndWait_Call ¶
MockAppsInterface_CreateAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAndWait'
func (*MockAppsInterface_CreateAndWait_Call) Return ¶
func (_c *MockAppsInterface_CreateAndWait_Call) Return(_a0 *apps.App, _a1 error) *MockAppsInterface_CreateAndWait_Call
func (*MockAppsInterface_CreateAndWait_Call) Run ¶
func (_c *MockAppsInterface_CreateAndWait_Call) Run(run func(ctx context.Context, createAppRequest apps.CreateAppRequest, options ...retries.Option[apps.App])) *MockAppsInterface_CreateAndWait_Call
func (*MockAppsInterface_CreateAndWait_Call) RunAndReturn ¶
func (_c *MockAppsInterface_CreateAndWait_Call) RunAndReturn(run func(context.Context, apps.CreateAppRequest, ...retries.Option[apps.App]) (*apps.App, error)) *MockAppsInterface_CreateAndWait_Call
type MockAppsInterface_Create_Call ¶
MockAppsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockAppsInterface_Create_Call) Return ¶
func (_c *MockAppsInterface_Create_Call) Return(_a0 *apps.WaitGetAppIdle[apps.App], _a1 error) *MockAppsInterface_Create_Call
func (*MockAppsInterface_Create_Call) Run ¶
func (_c *MockAppsInterface_Create_Call) Run(run func(ctx context.Context, createAppRequest apps.CreateAppRequest)) *MockAppsInterface_Create_Call
func (*MockAppsInterface_Create_Call) RunAndReturn ¶
func (_c *MockAppsInterface_Create_Call) RunAndReturn(run func(context.Context, apps.CreateAppRequest) (*apps.WaitGetAppIdle[apps.App], error)) *MockAppsInterface_Create_Call
type MockAppsInterface_DeleteByName_Call ¶
MockAppsInterface_DeleteByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByName'
func (*MockAppsInterface_DeleteByName_Call) Return ¶
func (_c *MockAppsInterface_DeleteByName_Call) Return(_a0 error) *MockAppsInterface_DeleteByName_Call
func (*MockAppsInterface_DeleteByName_Call) Run ¶
func (_c *MockAppsInterface_DeleteByName_Call) Run(run func(ctx context.Context, name string)) *MockAppsInterface_DeleteByName_Call
func (*MockAppsInterface_DeleteByName_Call) RunAndReturn ¶
func (_c *MockAppsInterface_DeleteByName_Call) RunAndReturn(run func(context.Context, string) error) *MockAppsInterface_DeleteByName_Call
type MockAppsInterface_Delete_Call ¶
MockAppsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockAppsInterface_Delete_Call) Return ¶
func (_c *MockAppsInterface_Delete_Call) Return(_a0 error) *MockAppsInterface_Delete_Call
func (*MockAppsInterface_Delete_Call) Run ¶
func (_c *MockAppsInterface_Delete_Call) Run(run func(ctx context.Context, request apps.DeleteAppRequest)) *MockAppsInterface_Delete_Call
func (*MockAppsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockAppsInterface_Delete_Call) RunAndReturn(run func(context.Context, apps.DeleteAppRequest) error) *MockAppsInterface_Delete_Call
type MockAppsInterface_DeployAndWait_Call ¶
MockAppsInterface_DeployAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeployAndWait'
func (*MockAppsInterface_DeployAndWait_Call) Return ¶
func (_c *MockAppsInterface_DeployAndWait_Call) Return(_a0 *apps.AppDeployment, _a1 error) *MockAppsInterface_DeployAndWait_Call
func (*MockAppsInterface_DeployAndWait_Call) Run ¶
func (_c *MockAppsInterface_DeployAndWait_Call) Run(run func(ctx context.Context, createAppDeploymentRequest apps.CreateAppDeploymentRequest, options ...retries.Option[apps.AppDeployment])) *MockAppsInterface_DeployAndWait_Call
func (*MockAppsInterface_DeployAndWait_Call) RunAndReturn ¶
func (_c *MockAppsInterface_DeployAndWait_Call) RunAndReturn(run func(context.Context, apps.CreateAppDeploymentRequest, ...retries.Option[apps.AppDeployment]) (*apps.AppDeployment, error)) *MockAppsInterface_DeployAndWait_Call
type MockAppsInterface_Deploy_Call ¶
MockAppsInterface_Deploy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deploy'
func (*MockAppsInterface_Deploy_Call) Return ¶
func (_c *MockAppsInterface_Deploy_Call) Return(_a0 *apps.WaitGetDeploymentAppSucceeded[apps.AppDeployment], _a1 error) *MockAppsInterface_Deploy_Call
func (*MockAppsInterface_Deploy_Call) Run ¶
func (_c *MockAppsInterface_Deploy_Call) Run(run func(ctx context.Context, createAppDeploymentRequest apps.CreateAppDeploymentRequest)) *MockAppsInterface_Deploy_Call
func (*MockAppsInterface_Deploy_Call) RunAndReturn ¶
func (_c *MockAppsInterface_Deploy_Call) RunAndReturn(run func(context.Context, apps.CreateAppDeploymentRequest) (*apps.WaitGetDeploymentAppSucceeded[apps.AppDeployment], error)) *MockAppsInterface_Deploy_Call
type MockAppsInterface_Expecter ¶
type MockAppsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAppsInterface_Expecter) Create ¶
func (_e *MockAppsInterface_Expecter) Create(ctx interface{}, createAppRequest interface{}) *MockAppsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- createAppRequest apps.CreateAppRequest
func (*MockAppsInterface_Expecter) CreateAndWait ¶
func (_e *MockAppsInterface_Expecter) CreateAndWait(ctx interface{}, createAppRequest interface{}, options ...interface{}) *MockAppsInterface_CreateAndWait_Call
CreateAndWait is a helper method to define mock.On call
- ctx context.Context
- createAppRequest apps.CreateAppRequest
- options ...retries.Option[apps.App]
func (*MockAppsInterface_Expecter) Delete ¶
func (_e *MockAppsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockAppsInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request apps.DeleteAppRequest
func (*MockAppsInterface_Expecter) DeleteByName ¶
func (_e *MockAppsInterface_Expecter) DeleteByName(ctx interface{}, name interface{}) *MockAppsInterface_DeleteByName_Call
DeleteByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockAppsInterface_Expecter) Deploy ¶
func (_e *MockAppsInterface_Expecter) Deploy(ctx interface{}, createAppDeploymentRequest interface{}) *MockAppsInterface_Deploy_Call
Deploy is a helper method to define mock.On call
- ctx context.Context
- createAppDeploymentRequest apps.CreateAppDeploymentRequest
func (*MockAppsInterface_Expecter) DeployAndWait ¶
func (_e *MockAppsInterface_Expecter) DeployAndWait(ctx interface{}, createAppDeploymentRequest interface{}, options ...interface{}) *MockAppsInterface_DeployAndWait_Call
DeployAndWait is a helper method to define mock.On call
- ctx context.Context
- createAppDeploymentRequest apps.CreateAppDeploymentRequest
- options ...retries.Option[apps.AppDeployment]
func (*MockAppsInterface_Expecter) Get ¶
func (_e *MockAppsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockAppsInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request apps.GetAppRequest
func (*MockAppsInterface_Expecter) GetByName ¶
func (_e *MockAppsInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockAppsInterface_GetByName_Call
GetByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockAppsInterface_Expecter) GetDeployment ¶
func (_e *MockAppsInterface_Expecter) GetDeployment(ctx interface{}, request interface{}) *MockAppsInterface_GetDeployment_Call
GetDeployment is a helper method to define mock.On call
- ctx context.Context
- request apps.GetAppDeploymentRequest
func (*MockAppsInterface_Expecter) GetDeploymentByAppNameAndDeploymentId ¶
func (_e *MockAppsInterface_Expecter) GetDeploymentByAppNameAndDeploymentId(ctx interface{}, appName interface{}, deploymentId interface{}) *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call
GetDeploymentByAppNameAndDeploymentId is a helper method to define mock.On call
- ctx context.Context
- appName string
- deploymentId string
func (*MockAppsInterface_Expecter) GetPermissionLevels ¶
func (_e *MockAppsInterface_Expecter) GetPermissionLevels(ctx interface{}, request interface{}) *MockAppsInterface_GetPermissionLevels_Call
GetPermissionLevels is a helper method to define mock.On call
- ctx context.Context
- request apps.GetAppPermissionLevelsRequest
func (*MockAppsInterface_Expecter) GetPermissionLevelsByAppName ¶
func (_e *MockAppsInterface_Expecter) GetPermissionLevelsByAppName(ctx interface{}, appName interface{}) *MockAppsInterface_GetPermissionLevelsByAppName_Call
GetPermissionLevelsByAppName is a helper method to define mock.On call
- ctx context.Context
- appName string
func (*MockAppsInterface_Expecter) GetPermissions ¶
func (_e *MockAppsInterface_Expecter) GetPermissions(ctx interface{}, request interface{}) *MockAppsInterface_GetPermissions_Call
GetPermissions is a helper method to define mock.On call
- ctx context.Context
- request apps.GetAppPermissionsRequest
func (*MockAppsInterface_Expecter) GetPermissionsByAppName ¶
func (_e *MockAppsInterface_Expecter) GetPermissionsByAppName(ctx interface{}, appName interface{}) *MockAppsInterface_GetPermissionsByAppName_Call
GetPermissionsByAppName is a helper method to define mock.On call
- ctx context.Context
- appName string
func (*MockAppsInterface_Expecter) List ¶
func (_e *MockAppsInterface_Expecter) List(ctx interface{}, request interface{}) *MockAppsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request apps.ListAppsRequest
func (*MockAppsInterface_Expecter) ListAll ¶
func (_e *MockAppsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockAppsInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request apps.ListAppsRequest
func (*MockAppsInterface_Expecter) ListDeployments ¶
func (_e *MockAppsInterface_Expecter) ListDeployments(ctx interface{}, request interface{}) *MockAppsInterface_ListDeployments_Call
ListDeployments is a helper method to define mock.On call
- ctx context.Context
- request apps.ListAppDeploymentsRequest
func (*MockAppsInterface_Expecter) ListDeploymentsAll ¶
func (_e *MockAppsInterface_Expecter) ListDeploymentsAll(ctx interface{}, request interface{}) *MockAppsInterface_ListDeploymentsAll_Call
ListDeploymentsAll is a helper method to define mock.On call
- ctx context.Context
- request apps.ListAppDeploymentsRequest
func (*MockAppsInterface_Expecter) ListDeploymentsByAppName ¶
func (_e *MockAppsInterface_Expecter) ListDeploymentsByAppName(ctx interface{}, appName interface{}) *MockAppsInterface_ListDeploymentsByAppName_Call
ListDeploymentsByAppName is a helper method to define mock.On call
- ctx context.Context
- appName string
func (*MockAppsInterface_Expecter) SetPermissions ¶
func (_e *MockAppsInterface_Expecter) SetPermissions(ctx interface{}, request interface{}) *MockAppsInterface_SetPermissions_Call
SetPermissions is a helper method to define mock.On call
- ctx context.Context
- request apps.AppPermissionsRequest
func (*MockAppsInterface_Expecter) Start ¶
func (_e *MockAppsInterface_Expecter) Start(ctx interface{}, startAppRequest interface{}) *MockAppsInterface_Start_Call
Start is a helper method to define mock.On call
- ctx context.Context
- startAppRequest apps.StartAppRequest
func (*MockAppsInterface_Expecter) StartAndWait ¶
func (_e *MockAppsInterface_Expecter) StartAndWait(ctx interface{}, startAppRequest interface{}, options ...interface{}) *MockAppsInterface_StartAndWait_Call
StartAndWait is a helper method to define mock.On call
- ctx context.Context
- startAppRequest apps.StartAppRequest
- options ...retries.Option[apps.AppDeployment]
func (*MockAppsInterface_Expecter) Stop ¶
func (_e *MockAppsInterface_Expecter) Stop(ctx interface{}, request interface{}) *MockAppsInterface_Stop_Call
Stop is a helper method to define mock.On call
- ctx context.Context
- request apps.StopAppRequest
func (*MockAppsInterface_Expecter) Update ¶
func (_e *MockAppsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockAppsInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request apps.UpdateAppRequest
func (*MockAppsInterface_Expecter) UpdatePermissions ¶
func (_e *MockAppsInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockAppsInterface_UpdatePermissions_Call
UpdatePermissions is a helper method to define mock.On call
- ctx context.Context
- request apps.AppPermissionsRequest
func (*MockAppsInterface_Expecter) WaitGetAppIdle ¶
func (_e *MockAppsInterface_Expecter) WaitGetAppIdle(ctx interface{}, name interface{}, timeout interface{}, callback interface{}) *MockAppsInterface_WaitGetAppIdle_Call
WaitGetAppIdle is a helper method to define mock.On call
- ctx context.Context
- name string
- timeout time.Duration
- callback func(*apps.App)
func (*MockAppsInterface_Expecter) WaitGetDeploymentAppSucceeded ¶
func (_e *MockAppsInterface_Expecter) WaitGetDeploymentAppSucceeded(ctx interface{}, appName interface{}, deploymentId interface{}, timeout interface{}, callback interface{}) *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call
WaitGetDeploymentAppSucceeded is a helper method to define mock.On call
- ctx context.Context
- appName string
- deploymentId string
- timeout time.Duration
- callback func(*apps.AppDeployment)
type MockAppsInterface_GetByName_Call ¶
MockAppsInterface_GetByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByName'
func (*MockAppsInterface_GetByName_Call) Return ¶
func (_c *MockAppsInterface_GetByName_Call) Return(_a0 *apps.App, _a1 error) *MockAppsInterface_GetByName_Call
func (*MockAppsInterface_GetByName_Call) Run ¶
func (_c *MockAppsInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockAppsInterface_GetByName_Call
func (*MockAppsInterface_GetByName_Call) RunAndReturn ¶
func (_c *MockAppsInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*apps.App, error)) *MockAppsInterface_GetByName_Call
type MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call ¶
MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeploymentByAppNameAndDeploymentId'
func (*MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call) Run ¶
func (_c *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call) Run(run func(ctx context.Context, appName string, deploymentId string)) *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call
func (*MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call) RunAndReturn ¶
func (_c *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call) RunAndReturn(run func(context.Context, string, string) (*apps.AppDeployment, error)) *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call
type MockAppsInterface_GetDeployment_Call ¶
MockAppsInterface_GetDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeployment'
func (*MockAppsInterface_GetDeployment_Call) Return ¶
func (_c *MockAppsInterface_GetDeployment_Call) Return(_a0 *apps.AppDeployment, _a1 error) *MockAppsInterface_GetDeployment_Call
func (*MockAppsInterface_GetDeployment_Call) Run ¶
func (_c *MockAppsInterface_GetDeployment_Call) Run(run func(ctx context.Context, request apps.GetAppDeploymentRequest)) *MockAppsInterface_GetDeployment_Call
func (*MockAppsInterface_GetDeployment_Call) RunAndReturn ¶
func (_c *MockAppsInterface_GetDeployment_Call) RunAndReturn(run func(context.Context, apps.GetAppDeploymentRequest) (*apps.AppDeployment, error)) *MockAppsInterface_GetDeployment_Call
type MockAppsInterface_GetPermissionLevelsByAppName_Call ¶
MockAppsInterface_GetPermissionLevelsByAppName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevelsByAppName'
func (*MockAppsInterface_GetPermissionLevelsByAppName_Call) Run ¶
func (_c *MockAppsInterface_GetPermissionLevelsByAppName_Call) Run(run func(ctx context.Context, appName string)) *MockAppsInterface_GetPermissionLevelsByAppName_Call
func (*MockAppsInterface_GetPermissionLevelsByAppName_Call) RunAndReturn ¶
func (_c *MockAppsInterface_GetPermissionLevelsByAppName_Call) RunAndReturn(run func(context.Context, string) (*apps.GetAppPermissionLevelsResponse, error)) *MockAppsInterface_GetPermissionLevelsByAppName_Call
type MockAppsInterface_GetPermissionLevels_Call ¶
MockAppsInterface_GetPermissionLevels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevels'
func (*MockAppsInterface_GetPermissionLevels_Call) Return ¶
func (_c *MockAppsInterface_GetPermissionLevels_Call) Return(_a0 *apps.GetAppPermissionLevelsResponse, _a1 error) *MockAppsInterface_GetPermissionLevels_Call
func (*MockAppsInterface_GetPermissionLevels_Call) Run ¶
func (_c *MockAppsInterface_GetPermissionLevels_Call) Run(run func(ctx context.Context, request apps.GetAppPermissionLevelsRequest)) *MockAppsInterface_GetPermissionLevels_Call
func (*MockAppsInterface_GetPermissionLevels_Call) RunAndReturn ¶
func (_c *MockAppsInterface_GetPermissionLevels_Call) RunAndReturn(run func(context.Context, apps.GetAppPermissionLevelsRequest) (*apps.GetAppPermissionLevelsResponse, error)) *MockAppsInterface_GetPermissionLevels_Call
type MockAppsInterface_GetPermissionsByAppName_Call ¶
MockAppsInterface_GetPermissionsByAppName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionsByAppName'
func (*MockAppsInterface_GetPermissionsByAppName_Call) Return ¶
func (_c *MockAppsInterface_GetPermissionsByAppName_Call) Return(_a0 *apps.AppPermissions, _a1 error) *MockAppsInterface_GetPermissionsByAppName_Call
func (*MockAppsInterface_GetPermissionsByAppName_Call) Run ¶
func (_c *MockAppsInterface_GetPermissionsByAppName_Call) Run(run func(ctx context.Context, appName string)) *MockAppsInterface_GetPermissionsByAppName_Call
func (*MockAppsInterface_GetPermissionsByAppName_Call) RunAndReturn ¶
func (_c *MockAppsInterface_GetPermissionsByAppName_Call) RunAndReturn(run func(context.Context, string) (*apps.AppPermissions, error)) *MockAppsInterface_GetPermissionsByAppName_Call
type MockAppsInterface_GetPermissions_Call ¶
MockAppsInterface_GetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissions'
func (*MockAppsInterface_GetPermissions_Call) Return ¶
func (_c *MockAppsInterface_GetPermissions_Call) Return(_a0 *apps.AppPermissions, _a1 error) *MockAppsInterface_GetPermissions_Call
func (*MockAppsInterface_GetPermissions_Call) Run ¶
func (_c *MockAppsInterface_GetPermissions_Call) Run(run func(ctx context.Context, request apps.GetAppPermissionsRequest)) *MockAppsInterface_GetPermissions_Call
func (*MockAppsInterface_GetPermissions_Call) RunAndReturn ¶
func (_c *MockAppsInterface_GetPermissions_Call) RunAndReturn(run func(context.Context, apps.GetAppPermissionsRequest) (*apps.AppPermissions, error)) *MockAppsInterface_GetPermissions_Call
type MockAppsInterface_Get_Call ¶
MockAppsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockAppsInterface_Get_Call) Return ¶
func (_c *MockAppsInterface_Get_Call) Return(_a0 *apps.App, _a1 error) *MockAppsInterface_Get_Call
func (*MockAppsInterface_Get_Call) Run ¶
func (_c *MockAppsInterface_Get_Call) Run(run func(ctx context.Context, request apps.GetAppRequest)) *MockAppsInterface_Get_Call
func (*MockAppsInterface_Get_Call) RunAndReturn ¶
func (_c *MockAppsInterface_Get_Call) RunAndReturn(run func(context.Context, apps.GetAppRequest) (*apps.App, error)) *MockAppsInterface_Get_Call
type MockAppsInterface_ListAll_Call ¶
MockAppsInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockAppsInterface_ListAll_Call) Return ¶
func (_c *MockAppsInterface_ListAll_Call) Return(_a0 []apps.App, _a1 error) *MockAppsInterface_ListAll_Call
func (*MockAppsInterface_ListAll_Call) Run ¶
func (_c *MockAppsInterface_ListAll_Call) Run(run func(ctx context.Context, request apps.ListAppsRequest)) *MockAppsInterface_ListAll_Call
func (*MockAppsInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockAppsInterface_ListAll_Call) RunAndReturn(run func(context.Context, apps.ListAppsRequest) ([]apps.App, error)) *MockAppsInterface_ListAll_Call
type MockAppsInterface_ListDeploymentsAll_Call ¶
MockAppsInterface_ListDeploymentsAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDeploymentsAll'
func (*MockAppsInterface_ListDeploymentsAll_Call) Return ¶
func (_c *MockAppsInterface_ListDeploymentsAll_Call) Return(_a0 []apps.AppDeployment, _a1 error) *MockAppsInterface_ListDeploymentsAll_Call
func (*MockAppsInterface_ListDeploymentsAll_Call) Run ¶
func (_c *MockAppsInterface_ListDeploymentsAll_Call) Run(run func(ctx context.Context, request apps.ListAppDeploymentsRequest)) *MockAppsInterface_ListDeploymentsAll_Call
func (*MockAppsInterface_ListDeploymentsAll_Call) RunAndReturn ¶
func (_c *MockAppsInterface_ListDeploymentsAll_Call) RunAndReturn(run func(context.Context, apps.ListAppDeploymentsRequest) ([]apps.AppDeployment, error)) *MockAppsInterface_ListDeploymentsAll_Call
type MockAppsInterface_ListDeploymentsByAppName_Call ¶
MockAppsInterface_ListDeploymentsByAppName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDeploymentsByAppName'
func (*MockAppsInterface_ListDeploymentsByAppName_Call) Return ¶
func (_c *MockAppsInterface_ListDeploymentsByAppName_Call) Return(_a0 *apps.ListAppDeploymentsResponse, _a1 error) *MockAppsInterface_ListDeploymentsByAppName_Call
func (*MockAppsInterface_ListDeploymentsByAppName_Call) Run ¶
func (_c *MockAppsInterface_ListDeploymentsByAppName_Call) Run(run func(ctx context.Context, appName string)) *MockAppsInterface_ListDeploymentsByAppName_Call
func (*MockAppsInterface_ListDeploymentsByAppName_Call) RunAndReturn ¶
func (_c *MockAppsInterface_ListDeploymentsByAppName_Call) RunAndReturn(run func(context.Context, string) (*apps.ListAppDeploymentsResponse, error)) *MockAppsInterface_ListDeploymentsByAppName_Call
type MockAppsInterface_ListDeployments_Call ¶
MockAppsInterface_ListDeployments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDeployments'
func (*MockAppsInterface_ListDeployments_Call) Return ¶
func (_c *MockAppsInterface_ListDeployments_Call) Return(_a0 listing.Iterator[apps.AppDeployment]) *MockAppsInterface_ListDeployments_Call
func (*MockAppsInterface_ListDeployments_Call) Run ¶
func (_c *MockAppsInterface_ListDeployments_Call) Run(run func(ctx context.Context, request apps.ListAppDeploymentsRequest)) *MockAppsInterface_ListDeployments_Call
func (*MockAppsInterface_ListDeployments_Call) RunAndReturn ¶
func (_c *MockAppsInterface_ListDeployments_Call) RunAndReturn(run func(context.Context, apps.ListAppDeploymentsRequest) listing.Iterator[apps.AppDeployment]) *MockAppsInterface_ListDeployments_Call
type MockAppsInterface_List_Call ¶
MockAppsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockAppsInterface_List_Call) Return ¶
func (_c *MockAppsInterface_List_Call) Return(_a0 listing.Iterator[apps.App]) *MockAppsInterface_List_Call
func (*MockAppsInterface_List_Call) Run ¶
func (_c *MockAppsInterface_List_Call) Run(run func(ctx context.Context, request apps.ListAppsRequest)) *MockAppsInterface_List_Call
func (*MockAppsInterface_List_Call) RunAndReturn ¶
func (_c *MockAppsInterface_List_Call) RunAndReturn(run func(context.Context, apps.ListAppsRequest) listing.Iterator[apps.App]) *MockAppsInterface_List_Call
type MockAppsInterface_SetPermissions_Call ¶
MockAppsInterface_SetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPermissions'
func (*MockAppsInterface_SetPermissions_Call) Return ¶
func (_c *MockAppsInterface_SetPermissions_Call) Return(_a0 *apps.AppPermissions, _a1 error) *MockAppsInterface_SetPermissions_Call
func (*MockAppsInterface_SetPermissions_Call) Run ¶
func (_c *MockAppsInterface_SetPermissions_Call) Run(run func(ctx context.Context, request apps.AppPermissionsRequest)) *MockAppsInterface_SetPermissions_Call
func (*MockAppsInterface_SetPermissions_Call) RunAndReturn ¶
func (_c *MockAppsInterface_SetPermissions_Call) RunAndReturn(run func(context.Context, apps.AppPermissionsRequest) (*apps.AppPermissions, error)) *MockAppsInterface_SetPermissions_Call
type MockAppsInterface_StartAndWait_Call ¶
MockAppsInterface_StartAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartAndWait'
func (*MockAppsInterface_StartAndWait_Call) Return ¶
func (_c *MockAppsInterface_StartAndWait_Call) Return(_a0 *apps.AppDeployment, _a1 error) *MockAppsInterface_StartAndWait_Call
func (*MockAppsInterface_StartAndWait_Call) Run ¶
func (_c *MockAppsInterface_StartAndWait_Call) Run(run func(ctx context.Context, startAppRequest apps.StartAppRequest, options ...retries.Option[apps.AppDeployment])) *MockAppsInterface_StartAndWait_Call
func (*MockAppsInterface_StartAndWait_Call) RunAndReturn ¶
func (_c *MockAppsInterface_StartAndWait_Call) RunAndReturn(run func(context.Context, apps.StartAppRequest, ...retries.Option[apps.AppDeployment]) (*apps.AppDeployment, error)) *MockAppsInterface_StartAndWait_Call
type MockAppsInterface_Start_Call ¶
MockAppsInterface_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*MockAppsInterface_Start_Call) Return ¶
func (_c *MockAppsInterface_Start_Call) Return(_a0 *apps.WaitGetDeploymentAppSucceeded[apps.AppDeployment], _a1 error) *MockAppsInterface_Start_Call
func (*MockAppsInterface_Start_Call) Run ¶
func (_c *MockAppsInterface_Start_Call) Run(run func(ctx context.Context, startAppRequest apps.StartAppRequest)) *MockAppsInterface_Start_Call
func (*MockAppsInterface_Start_Call) RunAndReturn ¶
func (_c *MockAppsInterface_Start_Call) RunAndReturn(run func(context.Context, apps.StartAppRequest) (*apps.WaitGetDeploymentAppSucceeded[apps.AppDeployment], error)) *MockAppsInterface_Start_Call
type MockAppsInterface_Stop_Call ¶
MockAppsInterface_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*MockAppsInterface_Stop_Call) Return ¶
func (_c *MockAppsInterface_Stop_Call) Return(_a0 error) *MockAppsInterface_Stop_Call
func (*MockAppsInterface_Stop_Call) Run ¶
func (_c *MockAppsInterface_Stop_Call) Run(run func(ctx context.Context, request apps.StopAppRequest)) *MockAppsInterface_Stop_Call
func (*MockAppsInterface_Stop_Call) RunAndReturn ¶
func (_c *MockAppsInterface_Stop_Call) RunAndReturn(run func(context.Context, apps.StopAppRequest) error) *MockAppsInterface_Stop_Call
type MockAppsInterface_UpdatePermissions_Call ¶
MockAppsInterface_UpdatePermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePermissions'
func (*MockAppsInterface_UpdatePermissions_Call) Return ¶
func (_c *MockAppsInterface_UpdatePermissions_Call) Return(_a0 *apps.AppPermissions, _a1 error) *MockAppsInterface_UpdatePermissions_Call
func (*MockAppsInterface_UpdatePermissions_Call) Run ¶
func (_c *MockAppsInterface_UpdatePermissions_Call) Run(run func(ctx context.Context, request apps.AppPermissionsRequest)) *MockAppsInterface_UpdatePermissions_Call
func (*MockAppsInterface_UpdatePermissions_Call) RunAndReturn ¶
func (_c *MockAppsInterface_UpdatePermissions_Call) RunAndReturn(run func(context.Context, apps.AppPermissionsRequest) (*apps.AppPermissions, error)) *MockAppsInterface_UpdatePermissions_Call
type MockAppsInterface_Update_Call ¶
MockAppsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockAppsInterface_Update_Call) Return ¶
func (_c *MockAppsInterface_Update_Call) Return(_a0 *apps.App, _a1 error) *MockAppsInterface_Update_Call
func (*MockAppsInterface_Update_Call) Run ¶
func (_c *MockAppsInterface_Update_Call) Run(run func(ctx context.Context, request apps.UpdateAppRequest)) *MockAppsInterface_Update_Call
func (*MockAppsInterface_Update_Call) RunAndReturn ¶
func (_c *MockAppsInterface_Update_Call) RunAndReturn(run func(context.Context, apps.UpdateAppRequest) (*apps.App, error)) *MockAppsInterface_Update_Call
type MockAppsInterface_WaitGetAppIdle_Call ¶
MockAppsInterface_WaitGetAppIdle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitGetAppIdle'
func (*MockAppsInterface_WaitGetAppIdle_Call) Return ¶
func (_c *MockAppsInterface_WaitGetAppIdle_Call) Return(_a0 *apps.App, _a1 error) *MockAppsInterface_WaitGetAppIdle_Call
func (*MockAppsInterface_WaitGetAppIdle_Call) Run ¶
func (_c *MockAppsInterface_WaitGetAppIdle_Call) Run(run func(ctx context.Context, name string, timeout time.Duration, callback func(*apps.App))) *MockAppsInterface_WaitGetAppIdle_Call
func (*MockAppsInterface_WaitGetAppIdle_Call) RunAndReturn ¶
type MockAppsInterface_WaitGetDeploymentAppSucceeded_Call ¶
MockAppsInterface_WaitGetDeploymentAppSucceeded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitGetDeploymentAppSucceeded'
func (*MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) Return ¶
func (_c *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) Return(_a0 *apps.AppDeployment, _a1 error) *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call
func (*MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) Run ¶
func (_c *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) Run(run func(ctx context.Context, appName string, deploymentId string, timeout time.Duration, callback func(*apps.AppDeployment))) *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call
func (*MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) RunAndReturn ¶
func (_c *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) RunAndReturn(run func(context.Context, string, string, time.Duration, func(*apps.AppDeployment)) (*apps.AppDeployment, error)) *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call