Documentation ¶
Index ¶
- type MockAppsInterface
- func (_m *MockAppsInterface) Create(ctx context.Context, createAppRequest serving.CreateAppRequest) (*serving.WaitGetAppIdle[serving.App], error)
- func (_m *MockAppsInterface) CreateAndWait(ctx context.Context, createAppRequest serving.CreateAppRequest, ...) (*serving.App, error)
- func (_m *MockAppsInterface) Delete(ctx context.Context, request serving.DeleteAppRequest) error
- func (_m *MockAppsInterface) DeleteByName(ctx context.Context, name string) error
- func (_m *MockAppsInterface) Deploy(ctx context.Context, ...) (*serving.WaitGetDeploymentAppSucceeded[serving.AppDeployment], error)
- func (_m *MockAppsInterface) DeployAndWait(ctx context.Context, ...) (*serving.AppDeployment, error)
- func (_m *MockAppsInterface) EXPECT() *MockAppsInterface_Expecter
- func (_m *MockAppsInterface) Get(ctx context.Context, request serving.GetAppRequest) (*serving.App, error)
- func (_m *MockAppsInterface) GetByName(ctx context.Context, name string) (*serving.App, error)
- func (_m *MockAppsInterface) GetDeployment(ctx context.Context, request serving.GetAppDeploymentRequest) (*serving.AppDeployment, error)
- func (_m *MockAppsInterface) GetDeploymentByAppNameAndDeploymentId(ctx context.Context, appName string, deploymentId string) (*serving.AppDeployment, error)
- func (_m *MockAppsInterface) GetEnvironment(ctx context.Context, request serving.GetAppEnvironmentRequest) (*serving.AppEnvironment, error)
- func (_m *MockAppsInterface) GetEnvironmentByName(ctx context.Context, name string) (*serving.AppEnvironment, error)
- func (_m *MockAppsInterface) Impl() serving.AppsService
- func (_m *MockAppsInterface) List(ctx context.Context, request serving.ListAppsRequest) listing.Iterator[serving.App]
- func (_m *MockAppsInterface) ListAll(ctx context.Context, request serving.ListAppsRequest) ([]serving.App, error)
- func (_m *MockAppsInterface) ListDeployments(ctx context.Context, request serving.ListAppDeploymentsRequest) listing.Iterator[serving.AppDeployment]
- func (_m *MockAppsInterface) ListDeploymentsAll(ctx context.Context, request serving.ListAppDeploymentsRequest) ([]serving.AppDeployment, error)
- func (_m *MockAppsInterface) ListDeploymentsByAppName(ctx context.Context, appName string) (*serving.ListAppDeploymentsResponse, error)
- func (_m *MockAppsInterface) Start(ctx context.Context, request serving.StartAppRequest) (*serving.AppDeployment, error)
- func (_m *MockAppsInterface) Stop(ctx context.Context, request serving.StopAppRequest) error
- func (_m *MockAppsInterface) Update(ctx context.Context, request serving.UpdateAppRequest) (*serving.App, error)
- func (_m *MockAppsInterface) WaitGetAppIdle(ctx context.Context, name string, timeout time.Duration, ...) (*serving.App, error)
- func (_m *MockAppsInterface) WaitGetDeploymentAppSucceeded(ctx context.Context, appName string, deploymentId string, ...) (*serving.AppDeployment, error)
- func (_m *MockAppsInterface) WithImpl(impl serving.AppsService) serving.AppsInterface
- type MockAppsInterface_CreateAndWait_Call
- func (_c *MockAppsInterface_CreateAndWait_Call) Return(_a0 *serving.App, _a1 error) *MockAppsInterface_CreateAndWait_Call
- func (_c *MockAppsInterface_CreateAndWait_Call) Run(run func(ctx context.Context, createAppRequest serving.CreateAppRequest, ...)) *MockAppsInterface_CreateAndWait_Call
- func (_c *MockAppsInterface_CreateAndWait_Call) RunAndReturn(...) *MockAppsInterface_CreateAndWait_Call
- type MockAppsInterface_Create_Call
- func (_c *MockAppsInterface_Create_Call) Return(_a0 *serving.WaitGetAppIdle[serving.App], _a1 error) *MockAppsInterface_Create_Call
- func (_c *MockAppsInterface_Create_Call) Run(run func(ctx context.Context, createAppRequest serving.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 serving.DeleteAppRequest)) *MockAppsInterface_Delete_Call
- func (_c *MockAppsInterface_Delete_Call) RunAndReturn(run func(context.Context, serving.DeleteAppRequest) error) *MockAppsInterface_Delete_Call
- type MockAppsInterface_DeployAndWait_Call
- func (_c *MockAppsInterface_DeployAndWait_Call) Return(_a0 *serving.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 *serving.WaitGetDeploymentAppSucceeded[serving.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) GetEnvironment(ctx interface{}, request interface{}) *MockAppsInterface_GetEnvironment_Call
- func (_e *MockAppsInterface_Expecter) GetEnvironmentByName(ctx interface{}, name interface{}) *MockAppsInterface_GetEnvironmentByName_Call
- func (_e *MockAppsInterface_Expecter) Impl() *MockAppsInterface_Impl_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) Start(ctx interface{}, request interface{}) *MockAppsInterface_Start_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) 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
- func (_e *MockAppsInterface_Expecter) WithImpl(impl interface{}) *MockAppsInterface_WithImpl_Call
- type MockAppsInterface_GetByName_Call
- func (_c *MockAppsInterface_GetByName_Call) Return(_a0 *serving.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) (*serving.App, error)) *MockAppsInterface_GetByName_Call
- type MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call
- func (_c *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call) Return(_a0 *serving.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) (*serving.AppDeployment, error)) *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call
- type MockAppsInterface_GetDeployment_Call
- func (_c *MockAppsInterface_GetDeployment_Call) Return(_a0 *serving.AppDeployment, _a1 error) *MockAppsInterface_GetDeployment_Call
- func (_c *MockAppsInterface_GetDeployment_Call) Run(run func(ctx context.Context, request serving.GetAppDeploymentRequest)) *MockAppsInterface_GetDeployment_Call
- func (_c *MockAppsInterface_GetDeployment_Call) RunAndReturn(...) *MockAppsInterface_GetDeployment_Call
- type MockAppsInterface_GetEnvironmentByName_Call
- func (_c *MockAppsInterface_GetEnvironmentByName_Call) Return(_a0 *serving.AppEnvironment, _a1 error) *MockAppsInterface_GetEnvironmentByName_Call
- func (_c *MockAppsInterface_GetEnvironmentByName_Call) Run(run func(ctx context.Context, name string)) *MockAppsInterface_GetEnvironmentByName_Call
- func (_c *MockAppsInterface_GetEnvironmentByName_Call) RunAndReturn(run func(context.Context, string) (*serving.AppEnvironment, error)) *MockAppsInterface_GetEnvironmentByName_Call
- type MockAppsInterface_GetEnvironment_Call
- func (_c *MockAppsInterface_GetEnvironment_Call) Return(_a0 *serving.AppEnvironment, _a1 error) *MockAppsInterface_GetEnvironment_Call
- func (_c *MockAppsInterface_GetEnvironment_Call) Run(run func(ctx context.Context, request serving.GetAppEnvironmentRequest)) *MockAppsInterface_GetEnvironment_Call
- func (_c *MockAppsInterface_GetEnvironment_Call) RunAndReturn(...) *MockAppsInterface_GetEnvironment_Call
- type MockAppsInterface_Get_Call
- func (_c *MockAppsInterface_Get_Call) Return(_a0 *serving.App, _a1 error) *MockAppsInterface_Get_Call
- func (_c *MockAppsInterface_Get_Call) Run(run func(ctx context.Context, request serving.GetAppRequest)) *MockAppsInterface_Get_Call
- func (_c *MockAppsInterface_Get_Call) RunAndReturn(run func(context.Context, serving.GetAppRequest) (*serving.App, error)) *MockAppsInterface_Get_Call
- type MockAppsInterface_Impl_Call
- type MockAppsInterface_ListAll_Call
- func (_c *MockAppsInterface_ListAll_Call) Return(_a0 []serving.App, _a1 error) *MockAppsInterface_ListAll_Call
- func (_c *MockAppsInterface_ListAll_Call) Run(run func(ctx context.Context, request serving.ListAppsRequest)) *MockAppsInterface_ListAll_Call
- func (_c *MockAppsInterface_ListAll_Call) RunAndReturn(run func(context.Context, serving.ListAppsRequest) ([]serving.App, error)) *MockAppsInterface_ListAll_Call
- type MockAppsInterface_ListDeploymentsAll_Call
- func (_c *MockAppsInterface_ListDeploymentsAll_Call) Return(_a0 []serving.AppDeployment, _a1 error) *MockAppsInterface_ListDeploymentsAll_Call
- func (_c *MockAppsInterface_ListDeploymentsAll_Call) Run(run func(ctx context.Context, request serving.ListAppDeploymentsRequest)) *MockAppsInterface_ListDeploymentsAll_Call
- func (_c *MockAppsInterface_ListDeploymentsAll_Call) RunAndReturn(...) *MockAppsInterface_ListDeploymentsAll_Call
- type MockAppsInterface_ListDeploymentsByAppName_Call
- func (_c *MockAppsInterface_ListDeploymentsByAppName_Call) Return(_a0 *serving.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) (*serving.ListAppDeploymentsResponse, error)) *MockAppsInterface_ListDeploymentsByAppName_Call
- type MockAppsInterface_ListDeployments_Call
- func (_c *MockAppsInterface_ListDeployments_Call) Return(_a0 listing.Iterator[serving.AppDeployment]) *MockAppsInterface_ListDeployments_Call
- func (_c *MockAppsInterface_ListDeployments_Call) Run(run func(ctx context.Context, request serving.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[serving.App]) *MockAppsInterface_List_Call
- func (_c *MockAppsInterface_List_Call) Run(run func(ctx context.Context, request serving.ListAppsRequest)) *MockAppsInterface_List_Call
- func (_c *MockAppsInterface_List_Call) RunAndReturn(...) *MockAppsInterface_List_Call
- type MockAppsInterface_Start_Call
- func (_c *MockAppsInterface_Start_Call) Return(_a0 *serving.AppDeployment, _a1 error) *MockAppsInterface_Start_Call
- func (_c *MockAppsInterface_Start_Call) Run(run func(ctx context.Context, request serving.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 serving.StopAppRequest)) *MockAppsInterface_Stop_Call
- func (_c *MockAppsInterface_Stop_Call) RunAndReturn(run func(context.Context, serving.StopAppRequest) error) *MockAppsInterface_Stop_Call
- type MockAppsInterface_Update_Call
- func (_c *MockAppsInterface_Update_Call) Return(_a0 *serving.App, _a1 error) *MockAppsInterface_Update_Call
- func (_c *MockAppsInterface_Update_Call) Run(run func(ctx context.Context, request serving.UpdateAppRequest)) *MockAppsInterface_Update_Call
- func (_c *MockAppsInterface_Update_Call) RunAndReturn(run func(context.Context, serving.UpdateAppRequest) (*serving.App, error)) *MockAppsInterface_Update_Call
- type MockAppsInterface_WaitGetAppIdle_Call
- func (_c *MockAppsInterface_WaitGetAppIdle_Call) Return(_a0 *serving.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 *serving.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
- type MockAppsInterface_WithImpl_Call
- func (_c *MockAppsInterface_WithImpl_Call) Return(_a0 serving.AppsInterface) *MockAppsInterface_WithImpl_Call
- func (_c *MockAppsInterface_WithImpl_Call) Run(run func(impl serving.AppsService)) *MockAppsInterface_WithImpl_Call
- func (_c *MockAppsInterface_WithImpl_Call) RunAndReturn(run func(serving.AppsService) serving.AppsInterface) *MockAppsInterface_WithImpl_Call
- type MockServingEndpointsDataPlaneInterface
- func (_m *MockServingEndpointsDataPlaneInterface) EXPECT() *MockServingEndpointsDataPlaneInterface_Expecter
- func (_m *MockServingEndpointsDataPlaneInterface) Impl() serving.ServingEndpointsDataPlaneService
- func (_m *MockServingEndpointsDataPlaneInterface) Query(ctx context.Context, request serving.QueryEndpointInput) (*serving.QueryEndpointResponse, error)
- func (_m *MockServingEndpointsDataPlaneInterface) WithImpl(impl serving.ServingEndpointsDataPlaneService) serving.ServingEndpointsDataPlaneInterface
- type MockServingEndpointsDataPlaneInterface_Expecter
- func (_e *MockServingEndpointsDataPlaneInterface_Expecter) Impl() *MockServingEndpointsDataPlaneInterface_Impl_Call
- func (_e *MockServingEndpointsDataPlaneInterface_Expecter) Query(ctx interface{}, request interface{}) *MockServingEndpointsDataPlaneInterface_Query_Call
- func (_e *MockServingEndpointsDataPlaneInterface_Expecter) WithImpl(impl interface{}) *MockServingEndpointsDataPlaneInterface_WithImpl_Call
- type MockServingEndpointsDataPlaneInterface_Impl_Call
- func (_c *MockServingEndpointsDataPlaneInterface_Impl_Call) Return(_a0 serving.ServingEndpointsDataPlaneService) *MockServingEndpointsDataPlaneInterface_Impl_Call
- func (_c *MockServingEndpointsDataPlaneInterface_Impl_Call) Run(run func()) *MockServingEndpointsDataPlaneInterface_Impl_Call
- func (_c *MockServingEndpointsDataPlaneInterface_Impl_Call) RunAndReturn(run func() serving.ServingEndpointsDataPlaneService) *MockServingEndpointsDataPlaneInterface_Impl_Call
- type MockServingEndpointsDataPlaneInterface_Query_Call
- func (_c *MockServingEndpointsDataPlaneInterface_Query_Call) Return(_a0 *serving.QueryEndpointResponse, _a1 error) *MockServingEndpointsDataPlaneInterface_Query_Call
- func (_c *MockServingEndpointsDataPlaneInterface_Query_Call) Run(run func(ctx context.Context, request serving.QueryEndpointInput)) *MockServingEndpointsDataPlaneInterface_Query_Call
- func (_c *MockServingEndpointsDataPlaneInterface_Query_Call) RunAndReturn(...) *MockServingEndpointsDataPlaneInterface_Query_Call
- type MockServingEndpointsDataPlaneInterface_WithImpl_Call
- func (_c *MockServingEndpointsDataPlaneInterface_WithImpl_Call) Return(_a0 serving.ServingEndpointsDataPlaneInterface) *MockServingEndpointsDataPlaneInterface_WithImpl_Call
- func (_c *MockServingEndpointsDataPlaneInterface_WithImpl_Call) Run(run func(impl serving.ServingEndpointsDataPlaneService)) *MockServingEndpointsDataPlaneInterface_WithImpl_Call
- func (_c *MockServingEndpointsDataPlaneInterface_WithImpl_Call) RunAndReturn(...) *MockServingEndpointsDataPlaneInterface_WithImpl_Call
- type MockServingEndpointsInterface
- func (_m *MockServingEndpointsInterface) BuildLogs(ctx context.Context, request serving.BuildLogsRequest) (*serving.BuildLogsResponse, error)
- func (_m *MockServingEndpointsInterface) BuildLogsByNameAndServedModelName(ctx context.Context, name string, servedModelName string) (*serving.BuildLogsResponse, error)
- func (_m *MockServingEndpointsInterface) Create(ctx context.Context, createServingEndpoint serving.CreateServingEndpoint) (*serving.WaitGetServingEndpointNotUpdating[serving.ServingEndpointDetailed], ...)
- func (_m *MockServingEndpointsInterface) CreateAndWait(ctx context.Context, createServingEndpoint serving.CreateServingEndpoint, ...) (*serving.ServingEndpointDetailed, error)
- func (_m *MockServingEndpointsInterface) Delete(ctx context.Context, request serving.DeleteServingEndpointRequest) error
- func (_m *MockServingEndpointsInterface) DeleteByName(ctx context.Context, name string) error
- func (_m *MockServingEndpointsInterface) EXPECT() *MockServingEndpointsInterface_Expecter
- func (_m *MockServingEndpointsInterface) ExportMetrics(ctx context.Context, request serving.ExportMetricsRequest) (*serving.ExportMetricsResponse, error)
- func (_m *MockServingEndpointsInterface) ExportMetricsByName(ctx context.Context, name string) (*serving.ExportMetricsResponse, error)
- func (_m *MockServingEndpointsInterface) Get(ctx context.Context, request serving.GetServingEndpointRequest) (*serving.ServingEndpointDetailed, error)
- func (_m *MockServingEndpointsInterface) GetByName(ctx context.Context, name string) (*serving.ServingEndpointDetailed, error)
- func (_m *MockServingEndpointsInterface) GetOpenApi(ctx context.Context, request serving.GetOpenApiRequest) error
- func (_m *MockServingEndpointsInterface) GetOpenApiByName(ctx context.Context, name string) error
- func (_m *MockServingEndpointsInterface) GetPermissionLevels(ctx context.Context, request serving.GetServingEndpointPermissionLevelsRequest) (*serving.GetServingEndpointPermissionLevelsResponse, error)
- func (_m *MockServingEndpointsInterface) GetPermissionLevelsByServingEndpointId(ctx context.Context, servingEndpointId string) (*serving.GetServingEndpointPermissionLevelsResponse, error)
- func (_m *MockServingEndpointsInterface) GetPermissions(ctx context.Context, request serving.GetServingEndpointPermissionsRequest) (*serving.ServingEndpointPermissions, error)
- func (_m *MockServingEndpointsInterface) GetPermissionsByServingEndpointId(ctx context.Context, servingEndpointId string) (*serving.ServingEndpointPermissions, error)
- func (_m *MockServingEndpointsInterface) Impl() serving.ServingEndpointsService
- func (_m *MockServingEndpointsInterface) List(ctx context.Context) listing.Iterator[serving.ServingEndpoint]
- func (_m *MockServingEndpointsInterface) ListAll(ctx context.Context) ([]serving.ServingEndpoint, error)
- func (_m *MockServingEndpointsInterface) Logs(ctx context.Context, request serving.LogsRequest) (*serving.ServerLogsResponse, error)
- func (_m *MockServingEndpointsInterface) LogsByNameAndServedModelName(ctx context.Context, name string, servedModelName string) (*serving.ServerLogsResponse, error)
- func (_m *MockServingEndpointsInterface) Patch(ctx context.Context, request serving.PatchServingEndpointTags) ([]serving.EndpointTag, error)
- func (_m *MockServingEndpointsInterface) Put(ctx context.Context, request serving.PutRequest) (*serving.PutResponse, error)
- func (_m *MockServingEndpointsInterface) Query(ctx context.Context, request serving.QueryEndpointInput) (*serving.QueryEndpointResponse, error)
- func (_m *MockServingEndpointsInterface) SetPermissions(ctx context.Context, request serving.ServingEndpointPermissionsRequest) (*serving.ServingEndpointPermissions, error)
- func (_m *MockServingEndpointsInterface) UpdateConfig(ctx context.Context, endpointCoreConfigInput serving.EndpointCoreConfigInput) (*serving.WaitGetServingEndpointNotUpdating[serving.ServingEndpointDetailed], ...)
- func (_m *MockServingEndpointsInterface) UpdateConfigAndWait(ctx context.Context, endpointCoreConfigInput serving.EndpointCoreConfigInput, ...) (*serving.ServingEndpointDetailed, error)
- func (_m *MockServingEndpointsInterface) UpdatePermissions(ctx context.Context, request serving.ServingEndpointPermissionsRequest) (*serving.ServingEndpointPermissions, error)
- func (_m *MockServingEndpointsInterface) WaitGetServingEndpointNotUpdating(ctx context.Context, name string, timeout time.Duration, ...) (*serving.ServingEndpointDetailed, error)
- func (_m *MockServingEndpointsInterface) WithImpl(impl serving.ServingEndpointsService) serving.ServingEndpointsInterface
- type MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call
- func (_c *MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call) Return(_a0 *serving.BuildLogsResponse, _a1 error) *MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call
- func (_c *MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call) Run(run func(ctx context.Context, name string, servedModelName string)) *MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call
- func (_c *MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call) RunAndReturn(run func(context.Context, string, string) (*serving.BuildLogsResponse, error)) *MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call
- type MockServingEndpointsInterface_BuildLogs_Call
- func (_c *MockServingEndpointsInterface_BuildLogs_Call) Return(_a0 *serving.BuildLogsResponse, _a1 error) *MockServingEndpointsInterface_BuildLogs_Call
- func (_c *MockServingEndpointsInterface_BuildLogs_Call) Run(run func(ctx context.Context, request serving.BuildLogsRequest)) *MockServingEndpointsInterface_BuildLogs_Call
- func (_c *MockServingEndpointsInterface_BuildLogs_Call) RunAndReturn(...) *MockServingEndpointsInterface_BuildLogs_Call
- type MockServingEndpointsInterface_CreateAndWait_Call
- func (_c *MockServingEndpointsInterface_CreateAndWait_Call) Return(_a0 *serving.ServingEndpointDetailed, _a1 error) *MockServingEndpointsInterface_CreateAndWait_Call
- func (_c *MockServingEndpointsInterface_CreateAndWait_Call) Run(...) *MockServingEndpointsInterface_CreateAndWait_Call
- func (_c *MockServingEndpointsInterface_CreateAndWait_Call) RunAndReturn(...) *MockServingEndpointsInterface_CreateAndWait_Call
- type MockServingEndpointsInterface_Create_Call
- func (_c *MockServingEndpointsInterface_Create_Call) Return(...) *MockServingEndpointsInterface_Create_Call
- func (_c *MockServingEndpointsInterface_Create_Call) Run(...) *MockServingEndpointsInterface_Create_Call
- func (_c *MockServingEndpointsInterface_Create_Call) RunAndReturn(...) *MockServingEndpointsInterface_Create_Call
- type MockServingEndpointsInterface_DeleteByName_Call
- func (_c *MockServingEndpointsInterface_DeleteByName_Call) Return(_a0 error) *MockServingEndpointsInterface_DeleteByName_Call
- func (_c *MockServingEndpointsInterface_DeleteByName_Call) Run(run func(ctx context.Context, name string)) *MockServingEndpointsInterface_DeleteByName_Call
- func (_c *MockServingEndpointsInterface_DeleteByName_Call) RunAndReturn(run func(context.Context, string) error) *MockServingEndpointsInterface_DeleteByName_Call
- type MockServingEndpointsInterface_Delete_Call
- func (_c *MockServingEndpointsInterface_Delete_Call) Return(_a0 error) *MockServingEndpointsInterface_Delete_Call
- func (_c *MockServingEndpointsInterface_Delete_Call) Run(run func(ctx context.Context, request serving.DeleteServingEndpointRequest)) *MockServingEndpointsInterface_Delete_Call
- func (_c *MockServingEndpointsInterface_Delete_Call) RunAndReturn(run func(context.Context, serving.DeleteServingEndpointRequest) error) *MockServingEndpointsInterface_Delete_Call
- type MockServingEndpointsInterface_Expecter
- func (_e *MockServingEndpointsInterface_Expecter) BuildLogs(ctx interface{}, request interface{}) *MockServingEndpointsInterface_BuildLogs_Call
- func (_e *MockServingEndpointsInterface_Expecter) BuildLogsByNameAndServedModelName(ctx interface{}, name interface{}, servedModelName interface{}) *MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call
- func (_e *MockServingEndpointsInterface_Expecter) Create(ctx interface{}, createServingEndpoint interface{}) *MockServingEndpointsInterface_Create_Call
- func (_e *MockServingEndpointsInterface_Expecter) CreateAndWait(ctx interface{}, createServingEndpoint interface{}, options ...interface{}) *MockServingEndpointsInterface_CreateAndWait_Call
- func (_e *MockServingEndpointsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockServingEndpointsInterface_Delete_Call
- func (_e *MockServingEndpointsInterface_Expecter) DeleteByName(ctx interface{}, name interface{}) *MockServingEndpointsInterface_DeleteByName_Call
- func (_e *MockServingEndpointsInterface_Expecter) ExportMetrics(ctx interface{}, request interface{}) *MockServingEndpointsInterface_ExportMetrics_Call
- func (_e *MockServingEndpointsInterface_Expecter) ExportMetricsByName(ctx interface{}, name interface{}) *MockServingEndpointsInterface_ExportMetricsByName_Call
- func (_e *MockServingEndpointsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockServingEndpointsInterface_Get_Call
- func (_e *MockServingEndpointsInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockServingEndpointsInterface_GetByName_Call
- func (_e *MockServingEndpointsInterface_Expecter) GetOpenApi(ctx interface{}, request interface{}) *MockServingEndpointsInterface_GetOpenApi_Call
- func (_e *MockServingEndpointsInterface_Expecter) GetOpenApiByName(ctx interface{}, name interface{}) *MockServingEndpointsInterface_GetOpenApiByName_Call
- func (_e *MockServingEndpointsInterface_Expecter) GetPermissionLevels(ctx interface{}, request interface{}) *MockServingEndpointsInterface_GetPermissionLevels_Call
- func (_e *MockServingEndpointsInterface_Expecter) GetPermissionLevelsByServingEndpointId(ctx interface{}, servingEndpointId interface{}) *MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call
- func (_e *MockServingEndpointsInterface_Expecter) GetPermissions(ctx interface{}, request interface{}) *MockServingEndpointsInterface_GetPermissions_Call
- func (_e *MockServingEndpointsInterface_Expecter) GetPermissionsByServingEndpointId(ctx interface{}, servingEndpointId interface{}) *MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call
- func (_e *MockServingEndpointsInterface_Expecter) Impl() *MockServingEndpointsInterface_Impl_Call
- func (_e *MockServingEndpointsInterface_Expecter) List(ctx interface{}) *MockServingEndpointsInterface_List_Call
- func (_e *MockServingEndpointsInterface_Expecter) ListAll(ctx interface{}) *MockServingEndpointsInterface_ListAll_Call
- func (_e *MockServingEndpointsInterface_Expecter) Logs(ctx interface{}, request interface{}) *MockServingEndpointsInterface_Logs_Call
- func (_e *MockServingEndpointsInterface_Expecter) LogsByNameAndServedModelName(ctx interface{}, name interface{}, servedModelName interface{}) *MockServingEndpointsInterface_LogsByNameAndServedModelName_Call
- func (_e *MockServingEndpointsInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockServingEndpointsInterface_Patch_Call
- func (_e *MockServingEndpointsInterface_Expecter) Put(ctx interface{}, request interface{}) *MockServingEndpointsInterface_Put_Call
- func (_e *MockServingEndpointsInterface_Expecter) Query(ctx interface{}, request interface{}) *MockServingEndpointsInterface_Query_Call
- func (_e *MockServingEndpointsInterface_Expecter) SetPermissions(ctx interface{}, request interface{}) *MockServingEndpointsInterface_SetPermissions_Call
- func (_e *MockServingEndpointsInterface_Expecter) UpdateConfig(ctx interface{}, endpointCoreConfigInput interface{}) *MockServingEndpointsInterface_UpdateConfig_Call
- func (_e *MockServingEndpointsInterface_Expecter) UpdateConfigAndWait(ctx interface{}, endpointCoreConfigInput interface{}, options ...interface{}) *MockServingEndpointsInterface_UpdateConfigAndWait_Call
- func (_e *MockServingEndpointsInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockServingEndpointsInterface_UpdatePermissions_Call
- func (_e *MockServingEndpointsInterface_Expecter) WaitGetServingEndpointNotUpdating(ctx interface{}, name interface{}, timeout interface{}, callback interface{}) *MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call
- func (_e *MockServingEndpointsInterface_Expecter) WithImpl(impl interface{}) *MockServingEndpointsInterface_WithImpl_Call
- type MockServingEndpointsInterface_ExportMetricsByName_Call
- func (_c *MockServingEndpointsInterface_ExportMetricsByName_Call) Return(_a0 *serving.ExportMetricsResponse, _a1 error) *MockServingEndpointsInterface_ExportMetricsByName_Call
- func (_c *MockServingEndpointsInterface_ExportMetricsByName_Call) Run(run func(ctx context.Context, name string)) *MockServingEndpointsInterface_ExportMetricsByName_Call
- func (_c *MockServingEndpointsInterface_ExportMetricsByName_Call) RunAndReturn(run func(context.Context, string) (*serving.ExportMetricsResponse, error)) *MockServingEndpointsInterface_ExportMetricsByName_Call
- type MockServingEndpointsInterface_ExportMetrics_Call
- func (_c *MockServingEndpointsInterface_ExportMetrics_Call) Return(_a0 *serving.ExportMetricsResponse, _a1 error) *MockServingEndpointsInterface_ExportMetrics_Call
- func (_c *MockServingEndpointsInterface_ExportMetrics_Call) Run(run func(ctx context.Context, request serving.ExportMetricsRequest)) *MockServingEndpointsInterface_ExportMetrics_Call
- func (_c *MockServingEndpointsInterface_ExportMetrics_Call) RunAndReturn(...) *MockServingEndpointsInterface_ExportMetrics_Call
- type MockServingEndpointsInterface_GetByName_Call
- func (_c *MockServingEndpointsInterface_GetByName_Call) Return(_a0 *serving.ServingEndpointDetailed, _a1 error) *MockServingEndpointsInterface_GetByName_Call
- func (_c *MockServingEndpointsInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockServingEndpointsInterface_GetByName_Call
- func (_c *MockServingEndpointsInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*serving.ServingEndpointDetailed, error)) *MockServingEndpointsInterface_GetByName_Call
- type MockServingEndpointsInterface_GetOpenApiByName_Call
- func (_c *MockServingEndpointsInterface_GetOpenApiByName_Call) Return(_a0 error) *MockServingEndpointsInterface_GetOpenApiByName_Call
- func (_c *MockServingEndpointsInterface_GetOpenApiByName_Call) Run(run func(ctx context.Context, name string)) *MockServingEndpointsInterface_GetOpenApiByName_Call
- func (_c *MockServingEndpointsInterface_GetOpenApiByName_Call) RunAndReturn(run func(context.Context, string) error) *MockServingEndpointsInterface_GetOpenApiByName_Call
- type MockServingEndpointsInterface_GetOpenApi_Call
- func (_c *MockServingEndpointsInterface_GetOpenApi_Call) Return(_a0 error) *MockServingEndpointsInterface_GetOpenApi_Call
- func (_c *MockServingEndpointsInterface_GetOpenApi_Call) Run(run func(ctx context.Context, request serving.GetOpenApiRequest)) *MockServingEndpointsInterface_GetOpenApi_Call
- func (_c *MockServingEndpointsInterface_GetOpenApi_Call) RunAndReturn(run func(context.Context, serving.GetOpenApiRequest) error) *MockServingEndpointsInterface_GetOpenApi_Call
- type MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call
- func (_c *MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call) Return(_a0 *serving.GetServingEndpointPermissionLevelsResponse, _a1 error) *MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call
- func (_c *MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call) Run(run func(ctx context.Context, servingEndpointId string)) *MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call
- func (_c *MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call) RunAndReturn(...) *MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call
- type MockServingEndpointsInterface_GetPermissionLevels_Call
- func (_c *MockServingEndpointsInterface_GetPermissionLevels_Call) Return(_a0 *serving.GetServingEndpointPermissionLevelsResponse, _a1 error) *MockServingEndpointsInterface_GetPermissionLevels_Call
- func (_c *MockServingEndpointsInterface_GetPermissionLevels_Call) Run(...) *MockServingEndpointsInterface_GetPermissionLevels_Call
- func (_c *MockServingEndpointsInterface_GetPermissionLevels_Call) RunAndReturn(...) *MockServingEndpointsInterface_GetPermissionLevels_Call
- type MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call
- func (_c *MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call) Return(_a0 *serving.ServingEndpointPermissions, _a1 error) *MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call
- func (_c *MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call) Run(run func(ctx context.Context, servingEndpointId string)) *MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call
- func (_c *MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call) RunAndReturn(run func(context.Context, string) (*serving.ServingEndpointPermissions, error)) *MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call
- type MockServingEndpointsInterface_GetPermissions_Call
- func (_c *MockServingEndpointsInterface_GetPermissions_Call) Return(_a0 *serving.ServingEndpointPermissions, _a1 error) *MockServingEndpointsInterface_GetPermissions_Call
- func (_c *MockServingEndpointsInterface_GetPermissions_Call) Run(...) *MockServingEndpointsInterface_GetPermissions_Call
- func (_c *MockServingEndpointsInterface_GetPermissions_Call) RunAndReturn(...) *MockServingEndpointsInterface_GetPermissions_Call
- type MockServingEndpointsInterface_Get_Call
- func (_c *MockServingEndpointsInterface_Get_Call) Return(_a0 *serving.ServingEndpointDetailed, _a1 error) *MockServingEndpointsInterface_Get_Call
- func (_c *MockServingEndpointsInterface_Get_Call) Run(run func(ctx context.Context, request serving.GetServingEndpointRequest)) *MockServingEndpointsInterface_Get_Call
- func (_c *MockServingEndpointsInterface_Get_Call) RunAndReturn(...) *MockServingEndpointsInterface_Get_Call
- type MockServingEndpointsInterface_Impl_Call
- func (_c *MockServingEndpointsInterface_Impl_Call) Return(_a0 serving.ServingEndpointsService) *MockServingEndpointsInterface_Impl_Call
- func (_c *MockServingEndpointsInterface_Impl_Call) Run(run func()) *MockServingEndpointsInterface_Impl_Call
- func (_c *MockServingEndpointsInterface_Impl_Call) RunAndReturn(run func() serving.ServingEndpointsService) *MockServingEndpointsInterface_Impl_Call
- type MockServingEndpointsInterface_ListAll_Call
- func (_c *MockServingEndpointsInterface_ListAll_Call) Return(_a0 []serving.ServingEndpoint, _a1 error) *MockServingEndpointsInterface_ListAll_Call
- func (_c *MockServingEndpointsInterface_ListAll_Call) Run(run func(ctx context.Context)) *MockServingEndpointsInterface_ListAll_Call
- func (_c *MockServingEndpointsInterface_ListAll_Call) RunAndReturn(run func(context.Context) ([]serving.ServingEndpoint, error)) *MockServingEndpointsInterface_ListAll_Call
- type MockServingEndpointsInterface_List_Call
- func (_c *MockServingEndpointsInterface_List_Call) Return(_a0 listing.Iterator[serving.ServingEndpoint]) *MockServingEndpointsInterface_List_Call
- func (_c *MockServingEndpointsInterface_List_Call) Run(run func(ctx context.Context)) *MockServingEndpointsInterface_List_Call
- func (_c *MockServingEndpointsInterface_List_Call) RunAndReturn(run func(context.Context) listing.Iterator[serving.ServingEndpoint]) *MockServingEndpointsInterface_List_Call
- type MockServingEndpointsInterface_LogsByNameAndServedModelName_Call
- func (_c *MockServingEndpointsInterface_LogsByNameAndServedModelName_Call) Return(_a0 *serving.ServerLogsResponse, _a1 error) *MockServingEndpointsInterface_LogsByNameAndServedModelName_Call
- func (_c *MockServingEndpointsInterface_LogsByNameAndServedModelName_Call) Run(run func(ctx context.Context, name string, servedModelName string)) *MockServingEndpointsInterface_LogsByNameAndServedModelName_Call
- func (_c *MockServingEndpointsInterface_LogsByNameAndServedModelName_Call) RunAndReturn(run func(context.Context, string, string) (*serving.ServerLogsResponse, error)) *MockServingEndpointsInterface_LogsByNameAndServedModelName_Call
- type MockServingEndpointsInterface_Logs_Call
- func (_c *MockServingEndpointsInterface_Logs_Call) Return(_a0 *serving.ServerLogsResponse, _a1 error) *MockServingEndpointsInterface_Logs_Call
- func (_c *MockServingEndpointsInterface_Logs_Call) Run(run func(ctx context.Context, request serving.LogsRequest)) *MockServingEndpointsInterface_Logs_Call
- func (_c *MockServingEndpointsInterface_Logs_Call) RunAndReturn(...) *MockServingEndpointsInterface_Logs_Call
- type MockServingEndpointsInterface_Patch_Call
- func (_c *MockServingEndpointsInterface_Patch_Call) Return(_a0 []serving.EndpointTag, _a1 error) *MockServingEndpointsInterface_Patch_Call
- func (_c *MockServingEndpointsInterface_Patch_Call) Run(run func(ctx context.Context, request serving.PatchServingEndpointTags)) *MockServingEndpointsInterface_Patch_Call
- func (_c *MockServingEndpointsInterface_Patch_Call) RunAndReturn(...) *MockServingEndpointsInterface_Patch_Call
- type MockServingEndpointsInterface_Put_Call
- func (_c *MockServingEndpointsInterface_Put_Call) Return(_a0 *serving.PutResponse, _a1 error) *MockServingEndpointsInterface_Put_Call
- func (_c *MockServingEndpointsInterface_Put_Call) Run(run func(ctx context.Context, request serving.PutRequest)) *MockServingEndpointsInterface_Put_Call
- func (_c *MockServingEndpointsInterface_Put_Call) RunAndReturn(run func(context.Context, serving.PutRequest) (*serving.PutResponse, error)) *MockServingEndpointsInterface_Put_Call
- type MockServingEndpointsInterface_Query_Call
- func (_c *MockServingEndpointsInterface_Query_Call) Return(_a0 *serving.QueryEndpointResponse, _a1 error) *MockServingEndpointsInterface_Query_Call
- func (_c *MockServingEndpointsInterface_Query_Call) Run(run func(ctx context.Context, request serving.QueryEndpointInput)) *MockServingEndpointsInterface_Query_Call
- func (_c *MockServingEndpointsInterface_Query_Call) RunAndReturn(...) *MockServingEndpointsInterface_Query_Call
- type MockServingEndpointsInterface_SetPermissions_Call
- func (_c *MockServingEndpointsInterface_SetPermissions_Call) Return(_a0 *serving.ServingEndpointPermissions, _a1 error) *MockServingEndpointsInterface_SetPermissions_Call
- func (_c *MockServingEndpointsInterface_SetPermissions_Call) Run(...) *MockServingEndpointsInterface_SetPermissions_Call
- func (_c *MockServingEndpointsInterface_SetPermissions_Call) RunAndReturn(...) *MockServingEndpointsInterface_SetPermissions_Call
- type MockServingEndpointsInterface_UpdateConfigAndWait_Call
- func (_c *MockServingEndpointsInterface_UpdateConfigAndWait_Call) Return(_a0 *serving.ServingEndpointDetailed, _a1 error) *MockServingEndpointsInterface_UpdateConfigAndWait_Call
- func (_c *MockServingEndpointsInterface_UpdateConfigAndWait_Call) Run(...) *MockServingEndpointsInterface_UpdateConfigAndWait_Call
- func (_c *MockServingEndpointsInterface_UpdateConfigAndWait_Call) RunAndReturn(...) *MockServingEndpointsInterface_UpdateConfigAndWait_Call
- type MockServingEndpointsInterface_UpdateConfig_Call
- func (_c *MockServingEndpointsInterface_UpdateConfig_Call) Return(...) *MockServingEndpointsInterface_UpdateConfig_Call
- func (_c *MockServingEndpointsInterface_UpdateConfig_Call) Run(...) *MockServingEndpointsInterface_UpdateConfig_Call
- func (_c *MockServingEndpointsInterface_UpdateConfig_Call) RunAndReturn(...) *MockServingEndpointsInterface_UpdateConfig_Call
- type MockServingEndpointsInterface_UpdatePermissions_Call
- func (_c *MockServingEndpointsInterface_UpdatePermissions_Call) Return(_a0 *serving.ServingEndpointPermissions, _a1 error) *MockServingEndpointsInterface_UpdatePermissions_Call
- func (_c *MockServingEndpointsInterface_UpdatePermissions_Call) Run(...) *MockServingEndpointsInterface_UpdatePermissions_Call
- func (_c *MockServingEndpointsInterface_UpdatePermissions_Call) RunAndReturn(...) *MockServingEndpointsInterface_UpdatePermissions_Call
- type MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call
- func (_c *MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call) Return(_a0 *serving.ServingEndpointDetailed, _a1 error) *MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call
- func (_c *MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call) Run(run func(ctx context.Context, name string, timeout time.Duration, ...)) *MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call
- func (_c *MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call) RunAndReturn(...) *MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call
- type MockServingEndpointsInterface_WithImpl_Call
- func (_c *MockServingEndpointsInterface_WithImpl_Call) Return(_a0 serving.ServingEndpointsInterface) *MockServingEndpointsInterface_WithImpl_Call
- func (_c *MockServingEndpointsInterface_WithImpl_Call) Run(run func(impl serving.ServingEndpointsService)) *MockServingEndpointsInterface_WithImpl_Call
- func (_c *MockServingEndpointsInterface_WithImpl_Call) RunAndReturn(run func(serving.ServingEndpointsService) serving.ServingEndpointsInterface) *MockServingEndpointsInterface_WithImpl_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 serving.CreateAppRequest) (*serving.WaitGetAppIdle[serving.App], error)
Create provides a mock function with given fields: ctx, createAppRequest
func (*MockAppsInterface) CreateAndWait ¶ added in v0.40.0
func (_m *MockAppsInterface) CreateAndWait(ctx context.Context, createAppRequest serving.CreateAppRequest, options ...retries.Option[serving.App]) (*serving.App, error)
CreateAndWait provides a mock function with given fields: ctx, createAppRequest, options
func (*MockAppsInterface) Delete ¶ added in v0.40.0
func (_m *MockAppsInterface) Delete(ctx context.Context, request serving.DeleteAppRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockAppsInterface) DeleteByName ¶ added in v0.40.0
func (_m *MockAppsInterface) DeleteByName(ctx context.Context, name string) error
DeleteByName provides a mock function with given fields: ctx, name
func (*MockAppsInterface) Deploy ¶ added in v0.42.0
func (_m *MockAppsInterface) Deploy(ctx context.Context, createAppDeploymentRequest serving.CreateAppDeploymentRequest) (*serving.WaitGetDeploymentAppSucceeded[serving.AppDeployment], error)
Deploy provides a mock function with given fields: ctx, createAppDeploymentRequest
func (*MockAppsInterface) DeployAndWait ¶ added in v0.42.0
func (_m *MockAppsInterface) DeployAndWait(ctx context.Context, createAppDeploymentRequest serving.CreateAppDeploymentRequest, options ...retries.Option[serving.AppDeployment]) (*serving.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 ¶ added in v0.40.0
func (_m *MockAppsInterface) Get(ctx context.Context, request serving.GetAppRequest) (*serving.App, error)
Get provides a mock function with given fields: ctx, request
func (*MockAppsInterface) GetByName ¶ added in v0.40.0
GetByName provides a mock function with given fields: ctx, name
func (*MockAppsInterface) GetDeployment ¶ added in v0.40.0
func (_m *MockAppsInterface) GetDeployment(ctx context.Context, request serving.GetAppDeploymentRequest) (*serving.AppDeployment, error)
GetDeployment provides a mock function with given fields: ctx, request
func (*MockAppsInterface) GetDeploymentByAppNameAndDeploymentId ¶ added in v0.40.0
func (_m *MockAppsInterface) GetDeploymentByAppNameAndDeploymentId(ctx context.Context, appName string, deploymentId string) (*serving.AppDeployment, error)
GetDeploymentByAppNameAndDeploymentId provides a mock function with given fields: ctx, appName, deploymentId
func (*MockAppsInterface) GetEnvironment ¶ added in v0.40.0
func (_m *MockAppsInterface) GetEnvironment(ctx context.Context, request serving.GetAppEnvironmentRequest) (*serving.AppEnvironment, error)
GetEnvironment provides a mock function with given fields: ctx, request
func (*MockAppsInterface) GetEnvironmentByName ¶ added in v0.40.0
func (_m *MockAppsInterface) GetEnvironmentByName(ctx context.Context, name string) (*serving.AppEnvironment, error)
GetEnvironmentByName provides a mock function with given fields: ctx, name
func (*MockAppsInterface) Impl ¶
func (_m *MockAppsInterface) Impl() serving.AppsService
Impl provides a mock function with given fields:
func (*MockAppsInterface) List ¶ added in v0.40.0
func (_m *MockAppsInterface) List(ctx context.Context, request serving.ListAppsRequest) listing.Iterator[serving.App]
List provides a mock function with given fields: ctx, request
func (*MockAppsInterface) ListAll ¶ added in v0.40.0
func (_m *MockAppsInterface) ListAll(ctx context.Context, request serving.ListAppsRequest) ([]serving.App, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockAppsInterface) ListDeployments ¶ added in v0.40.0
func (_m *MockAppsInterface) ListDeployments(ctx context.Context, request serving.ListAppDeploymentsRequest) listing.Iterator[serving.AppDeployment]
ListDeployments provides a mock function with given fields: ctx, request
func (*MockAppsInterface) ListDeploymentsAll ¶ added in v0.40.0
func (_m *MockAppsInterface) ListDeploymentsAll(ctx context.Context, request serving.ListAppDeploymentsRequest) ([]serving.AppDeployment, error)
ListDeploymentsAll provides a mock function with given fields: ctx, request
func (*MockAppsInterface) ListDeploymentsByAppName ¶ added in v0.40.0
func (_m *MockAppsInterface) ListDeploymentsByAppName(ctx context.Context, appName string) (*serving.ListAppDeploymentsResponse, error)
ListDeploymentsByAppName provides a mock function with given fields: ctx, appName
func (*MockAppsInterface) Start ¶ added in v0.43.0
func (_m *MockAppsInterface) Start(ctx context.Context, request serving.StartAppRequest) (*serving.AppDeployment, error)
Start provides a mock function with given fields: ctx, request
func (*MockAppsInterface) Stop ¶ added in v0.40.0
func (_m *MockAppsInterface) Stop(ctx context.Context, request serving.StopAppRequest) error
Stop provides a mock function with given fields: ctx, request
func (*MockAppsInterface) Update ¶ added in v0.40.0
func (_m *MockAppsInterface) Update(ctx context.Context, request serving.UpdateAppRequest) (*serving.App, error)
Update provides a mock function with given fields: ctx, request
func (*MockAppsInterface) WaitGetAppIdle ¶ added in v0.40.0
func (_m *MockAppsInterface) WaitGetAppIdle(ctx context.Context, name string, timeout time.Duration, callback func(*serving.App)) (*serving.App, error)
WaitGetAppIdle provides a mock function with given fields: ctx, name, timeout, callback
func (*MockAppsInterface) WaitGetDeploymentAppSucceeded ¶ added in v0.40.0
func (_m *MockAppsInterface) WaitGetDeploymentAppSucceeded(ctx context.Context, appName string, deploymentId string, timeout time.Duration, callback func(*serving.AppDeployment)) (*serving.AppDeployment, error)
WaitGetDeploymentAppSucceeded provides a mock function with given fields: ctx, appName, deploymentId, timeout, callback
func (*MockAppsInterface) WithImpl ¶
func (_m *MockAppsInterface) WithImpl(impl serving.AppsService) serving.AppsInterface
WithImpl provides a mock function with given fields: impl
type MockAppsInterface_CreateAndWait_Call ¶ added in v0.40.0
MockAppsInterface_CreateAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAndWait'
func (*MockAppsInterface_CreateAndWait_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_CreateAndWait_Call) Return(_a0 *serving.App, _a1 error) *MockAppsInterface_CreateAndWait_Call
func (*MockAppsInterface_CreateAndWait_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_CreateAndWait_Call) Run(run func(ctx context.Context, createAppRequest serving.CreateAppRequest, options ...retries.Option[serving.App])) *MockAppsInterface_CreateAndWait_Call
func (*MockAppsInterface_CreateAndWait_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_CreateAndWait_Call) RunAndReturn(run func(context.Context, serving.CreateAppRequest, ...retries.Option[serving.App]) (*serving.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 *serving.WaitGetAppIdle[serving.App], _a1 error) *MockAppsInterface_Create_Call
func (*MockAppsInterface_Create_Call) Run ¶
func (_c *MockAppsInterface_Create_Call) Run(run func(ctx context.Context, createAppRequest serving.CreateAppRequest)) *MockAppsInterface_Create_Call
func (*MockAppsInterface_Create_Call) RunAndReturn ¶
func (_c *MockAppsInterface_Create_Call) RunAndReturn(run func(context.Context, serving.CreateAppRequest) (*serving.WaitGetAppIdle[serving.App], error)) *MockAppsInterface_Create_Call
type MockAppsInterface_DeleteByName_Call ¶ added in v0.40.0
MockAppsInterface_DeleteByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByName'
func (*MockAppsInterface_DeleteByName_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_DeleteByName_Call) Return(_a0 error) *MockAppsInterface_DeleteByName_Call
func (*MockAppsInterface_DeleteByName_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_DeleteByName_Call) Run(run func(ctx context.Context, name string)) *MockAppsInterface_DeleteByName_Call
func (*MockAppsInterface_DeleteByName_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_DeleteByName_Call) RunAndReturn(run func(context.Context, string) error) *MockAppsInterface_DeleteByName_Call
type MockAppsInterface_Delete_Call ¶ added in v0.40.0
MockAppsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockAppsInterface_Delete_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_Delete_Call) Return(_a0 error) *MockAppsInterface_Delete_Call
func (*MockAppsInterface_Delete_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_Delete_Call) Run(run func(ctx context.Context, request serving.DeleteAppRequest)) *MockAppsInterface_Delete_Call
func (*MockAppsInterface_Delete_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_Delete_Call) RunAndReturn(run func(context.Context, serving.DeleteAppRequest) error) *MockAppsInterface_Delete_Call
type MockAppsInterface_DeployAndWait_Call ¶ added in v0.42.0
MockAppsInterface_DeployAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeployAndWait'
func (*MockAppsInterface_DeployAndWait_Call) Return ¶ added in v0.42.0
func (_c *MockAppsInterface_DeployAndWait_Call) Return(_a0 *serving.AppDeployment, _a1 error) *MockAppsInterface_DeployAndWait_Call
func (*MockAppsInterface_DeployAndWait_Call) Run ¶ added in v0.42.0
func (_c *MockAppsInterface_DeployAndWait_Call) Run(run func(ctx context.Context, createAppDeploymentRequest serving.CreateAppDeploymentRequest, options ...retries.Option[serving.AppDeployment])) *MockAppsInterface_DeployAndWait_Call
func (*MockAppsInterface_DeployAndWait_Call) RunAndReturn ¶ added in v0.42.0
func (_c *MockAppsInterface_DeployAndWait_Call) RunAndReturn(run func(context.Context, serving.CreateAppDeploymentRequest, ...retries.Option[serving.AppDeployment]) (*serving.AppDeployment, error)) *MockAppsInterface_DeployAndWait_Call
type MockAppsInterface_Deploy_Call ¶ added in v0.42.0
MockAppsInterface_Deploy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deploy'
func (*MockAppsInterface_Deploy_Call) Return ¶ added in v0.42.0
func (_c *MockAppsInterface_Deploy_Call) Return(_a0 *serving.WaitGetDeploymentAppSucceeded[serving.AppDeployment], _a1 error) *MockAppsInterface_Deploy_Call
func (*MockAppsInterface_Deploy_Call) Run ¶ added in v0.42.0
func (_c *MockAppsInterface_Deploy_Call) Run(run func(ctx context.Context, createAppDeploymentRequest serving.CreateAppDeploymentRequest)) *MockAppsInterface_Deploy_Call
func (*MockAppsInterface_Deploy_Call) RunAndReturn ¶ added in v0.42.0
func (_c *MockAppsInterface_Deploy_Call) RunAndReturn(run func(context.Context, serving.CreateAppDeploymentRequest) (*serving.WaitGetDeploymentAppSucceeded[serving.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 serving.CreateAppRequest
func (*MockAppsInterface_Expecter) CreateAndWait ¶ added in v0.40.0
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 serving.CreateAppRequest
- options ...retries.Option[serving.App]
func (*MockAppsInterface_Expecter) Delete ¶ added in v0.40.0
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 serving.DeleteAppRequest
func (*MockAppsInterface_Expecter) DeleteByName ¶ added in v0.40.0
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 ¶ added in v0.42.0
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 serving.CreateAppDeploymentRequest
func (*MockAppsInterface_Expecter) DeployAndWait ¶ added in v0.42.0
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 serving.CreateAppDeploymentRequest
- options ...retries.Option[serving.AppDeployment]
func (*MockAppsInterface_Expecter) Get ¶ added in v0.40.0
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 serving.GetAppRequest
func (*MockAppsInterface_Expecter) GetByName ¶ added in v0.40.0
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 ¶ added in v0.40.0
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 serving.GetAppDeploymentRequest
func (*MockAppsInterface_Expecter) GetDeploymentByAppNameAndDeploymentId ¶ added in v0.40.0
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) GetEnvironment ¶ added in v0.40.0
func (_e *MockAppsInterface_Expecter) GetEnvironment(ctx interface{}, request interface{}) *MockAppsInterface_GetEnvironment_Call
GetEnvironment is a helper method to define mock.On call
- ctx context.Context
- request serving.GetAppEnvironmentRequest
func (*MockAppsInterface_Expecter) GetEnvironmentByName ¶ added in v0.40.0
func (_e *MockAppsInterface_Expecter) GetEnvironmentByName(ctx interface{}, name interface{}) *MockAppsInterface_GetEnvironmentByName_Call
GetEnvironmentByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockAppsInterface_Expecter) Impl ¶
func (_e *MockAppsInterface_Expecter) Impl() *MockAppsInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockAppsInterface_Expecter) List ¶ added in v0.40.0
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 serving.ListAppsRequest
func (*MockAppsInterface_Expecter) ListAll ¶ added in v0.40.0
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 serving.ListAppsRequest
func (*MockAppsInterface_Expecter) ListDeployments ¶ added in v0.40.0
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 serving.ListAppDeploymentsRequest
func (*MockAppsInterface_Expecter) ListDeploymentsAll ¶ added in v0.40.0
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 serving.ListAppDeploymentsRequest
func (*MockAppsInterface_Expecter) ListDeploymentsByAppName ¶ added in v0.40.0
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) Start ¶ added in v0.43.0
func (_e *MockAppsInterface_Expecter) Start(ctx interface{}, request interface{}) *MockAppsInterface_Start_Call
Start is a helper method to define mock.On call
- ctx context.Context
- request serving.StartAppRequest
func (*MockAppsInterface_Expecter) Stop ¶ added in v0.40.0
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 serving.StopAppRequest
func (*MockAppsInterface_Expecter) Update ¶ added in v0.40.0
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 serving.UpdateAppRequest
func (*MockAppsInterface_Expecter) WaitGetAppIdle ¶ added in v0.40.0
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(*serving.App)
func (*MockAppsInterface_Expecter) WaitGetDeploymentAppSucceeded ¶ added in v0.40.0
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(*serving.AppDeployment)
func (*MockAppsInterface_Expecter) WithImpl ¶
func (_e *MockAppsInterface_Expecter) WithImpl(impl interface{}) *MockAppsInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl serving.AppsService
type MockAppsInterface_GetByName_Call ¶ added in v0.40.0
MockAppsInterface_GetByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByName'
func (*MockAppsInterface_GetByName_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_GetByName_Call) Return(_a0 *serving.App, _a1 error) *MockAppsInterface_GetByName_Call
func (*MockAppsInterface_GetByName_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockAppsInterface_GetByName_Call
func (*MockAppsInterface_GetByName_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*serving.App, error)) *MockAppsInterface_GetByName_Call
type MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call ¶ added in v0.40.0
MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeploymentByAppNameAndDeploymentId'
func (*MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call) Run(run func(ctx context.Context, appName string, deploymentId string)) *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call
func (*MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call) RunAndReturn(run func(context.Context, string, string) (*serving.AppDeployment, error)) *MockAppsInterface_GetDeploymentByAppNameAndDeploymentId_Call
type MockAppsInterface_GetDeployment_Call ¶ added in v0.40.0
MockAppsInterface_GetDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeployment'
func (*MockAppsInterface_GetDeployment_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_GetDeployment_Call) Return(_a0 *serving.AppDeployment, _a1 error) *MockAppsInterface_GetDeployment_Call
func (*MockAppsInterface_GetDeployment_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_GetDeployment_Call) Run(run func(ctx context.Context, request serving.GetAppDeploymentRequest)) *MockAppsInterface_GetDeployment_Call
func (*MockAppsInterface_GetDeployment_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_GetDeployment_Call) RunAndReturn(run func(context.Context, serving.GetAppDeploymentRequest) (*serving.AppDeployment, error)) *MockAppsInterface_GetDeployment_Call
type MockAppsInterface_GetEnvironmentByName_Call ¶ added in v0.40.0
MockAppsInterface_GetEnvironmentByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEnvironmentByName'
func (*MockAppsInterface_GetEnvironmentByName_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_GetEnvironmentByName_Call) Return(_a0 *serving.AppEnvironment, _a1 error) *MockAppsInterface_GetEnvironmentByName_Call
func (*MockAppsInterface_GetEnvironmentByName_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_GetEnvironmentByName_Call) Run(run func(ctx context.Context, name string)) *MockAppsInterface_GetEnvironmentByName_Call
func (*MockAppsInterface_GetEnvironmentByName_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_GetEnvironmentByName_Call) RunAndReturn(run func(context.Context, string) (*serving.AppEnvironment, error)) *MockAppsInterface_GetEnvironmentByName_Call
type MockAppsInterface_GetEnvironment_Call ¶ added in v0.40.0
MockAppsInterface_GetEnvironment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEnvironment'
func (*MockAppsInterface_GetEnvironment_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_GetEnvironment_Call) Return(_a0 *serving.AppEnvironment, _a1 error) *MockAppsInterface_GetEnvironment_Call
func (*MockAppsInterface_GetEnvironment_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_GetEnvironment_Call) Run(run func(ctx context.Context, request serving.GetAppEnvironmentRequest)) *MockAppsInterface_GetEnvironment_Call
func (*MockAppsInterface_GetEnvironment_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_GetEnvironment_Call) RunAndReturn(run func(context.Context, serving.GetAppEnvironmentRequest) (*serving.AppEnvironment, error)) *MockAppsInterface_GetEnvironment_Call
type MockAppsInterface_Get_Call ¶ added in v0.40.0
MockAppsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockAppsInterface_Get_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_Get_Call) Return(_a0 *serving.App, _a1 error) *MockAppsInterface_Get_Call
func (*MockAppsInterface_Get_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_Get_Call) Run(run func(ctx context.Context, request serving.GetAppRequest)) *MockAppsInterface_Get_Call
func (*MockAppsInterface_Get_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_Get_Call) RunAndReturn(run func(context.Context, serving.GetAppRequest) (*serving.App, error)) *MockAppsInterface_Get_Call
type MockAppsInterface_Impl_Call ¶
MockAppsInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockAppsInterface_Impl_Call) Return ¶
func (_c *MockAppsInterface_Impl_Call) Return(_a0 serving.AppsService) *MockAppsInterface_Impl_Call
func (*MockAppsInterface_Impl_Call) Run ¶
func (_c *MockAppsInterface_Impl_Call) Run(run func()) *MockAppsInterface_Impl_Call
func (*MockAppsInterface_Impl_Call) RunAndReturn ¶
func (_c *MockAppsInterface_Impl_Call) RunAndReturn(run func() serving.AppsService) *MockAppsInterface_Impl_Call
type MockAppsInterface_ListAll_Call ¶ added in v0.40.0
MockAppsInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockAppsInterface_ListAll_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_ListAll_Call) Return(_a0 []serving.App, _a1 error) *MockAppsInterface_ListAll_Call
func (*MockAppsInterface_ListAll_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_ListAll_Call) Run(run func(ctx context.Context, request serving.ListAppsRequest)) *MockAppsInterface_ListAll_Call
func (*MockAppsInterface_ListAll_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_ListAll_Call) RunAndReturn(run func(context.Context, serving.ListAppsRequest) ([]serving.App, error)) *MockAppsInterface_ListAll_Call
type MockAppsInterface_ListDeploymentsAll_Call ¶ added in v0.40.0
MockAppsInterface_ListDeploymentsAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDeploymentsAll'
func (*MockAppsInterface_ListDeploymentsAll_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_ListDeploymentsAll_Call) Return(_a0 []serving.AppDeployment, _a1 error) *MockAppsInterface_ListDeploymentsAll_Call
func (*MockAppsInterface_ListDeploymentsAll_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_ListDeploymentsAll_Call) Run(run func(ctx context.Context, request serving.ListAppDeploymentsRequest)) *MockAppsInterface_ListDeploymentsAll_Call
func (*MockAppsInterface_ListDeploymentsAll_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_ListDeploymentsAll_Call) RunAndReturn(run func(context.Context, serving.ListAppDeploymentsRequest) ([]serving.AppDeployment, error)) *MockAppsInterface_ListDeploymentsAll_Call
type MockAppsInterface_ListDeploymentsByAppName_Call ¶ added in v0.40.0
MockAppsInterface_ListDeploymentsByAppName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDeploymentsByAppName'
func (*MockAppsInterface_ListDeploymentsByAppName_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_ListDeploymentsByAppName_Call) Return(_a0 *serving.ListAppDeploymentsResponse, _a1 error) *MockAppsInterface_ListDeploymentsByAppName_Call
func (*MockAppsInterface_ListDeploymentsByAppName_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_ListDeploymentsByAppName_Call) Run(run func(ctx context.Context, appName string)) *MockAppsInterface_ListDeploymentsByAppName_Call
func (*MockAppsInterface_ListDeploymentsByAppName_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_ListDeploymentsByAppName_Call) RunAndReturn(run func(context.Context, string) (*serving.ListAppDeploymentsResponse, error)) *MockAppsInterface_ListDeploymentsByAppName_Call
type MockAppsInterface_ListDeployments_Call ¶ added in v0.40.0
MockAppsInterface_ListDeployments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDeployments'
func (*MockAppsInterface_ListDeployments_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_ListDeployments_Call) Return(_a0 listing.Iterator[serving.AppDeployment]) *MockAppsInterface_ListDeployments_Call
func (*MockAppsInterface_ListDeployments_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_ListDeployments_Call) Run(run func(ctx context.Context, request serving.ListAppDeploymentsRequest)) *MockAppsInterface_ListDeployments_Call
func (*MockAppsInterface_ListDeployments_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_ListDeployments_Call) RunAndReturn(run func(context.Context, serving.ListAppDeploymentsRequest) listing.Iterator[serving.AppDeployment]) *MockAppsInterface_ListDeployments_Call
type MockAppsInterface_List_Call ¶ added in v0.40.0
MockAppsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockAppsInterface_List_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_List_Call) Return(_a0 listing.Iterator[serving.App]) *MockAppsInterface_List_Call
func (*MockAppsInterface_List_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_List_Call) Run(run func(ctx context.Context, request serving.ListAppsRequest)) *MockAppsInterface_List_Call
func (*MockAppsInterface_List_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_List_Call) RunAndReturn(run func(context.Context, serving.ListAppsRequest) listing.Iterator[serving.App]) *MockAppsInterface_List_Call
type MockAppsInterface_Start_Call ¶ added in v0.43.0
MockAppsInterface_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*MockAppsInterface_Start_Call) Return ¶ added in v0.43.0
func (_c *MockAppsInterface_Start_Call) Return(_a0 *serving.AppDeployment, _a1 error) *MockAppsInterface_Start_Call
func (*MockAppsInterface_Start_Call) Run ¶ added in v0.43.0
func (_c *MockAppsInterface_Start_Call) Run(run func(ctx context.Context, request serving.StartAppRequest)) *MockAppsInterface_Start_Call
func (*MockAppsInterface_Start_Call) RunAndReturn ¶ added in v0.43.0
func (_c *MockAppsInterface_Start_Call) RunAndReturn(run func(context.Context, serving.StartAppRequest) (*serving.AppDeployment, error)) *MockAppsInterface_Start_Call
type MockAppsInterface_Stop_Call ¶ added in v0.40.0
MockAppsInterface_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*MockAppsInterface_Stop_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_Stop_Call) Return(_a0 error) *MockAppsInterface_Stop_Call
func (*MockAppsInterface_Stop_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_Stop_Call) Run(run func(ctx context.Context, request serving.StopAppRequest)) *MockAppsInterface_Stop_Call
func (*MockAppsInterface_Stop_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_Stop_Call) RunAndReturn(run func(context.Context, serving.StopAppRequest) error) *MockAppsInterface_Stop_Call
type MockAppsInterface_Update_Call ¶ added in v0.40.0
MockAppsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockAppsInterface_Update_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_Update_Call) Return(_a0 *serving.App, _a1 error) *MockAppsInterface_Update_Call
func (*MockAppsInterface_Update_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_Update_Call) Run(run func(ctx context.Context, request serving.UpdateAppRequest)) *MockAppsInterface_Update_Call
func (*MockAppsInterface_Update_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_Update_Call) RunAndReturn(run func(context.Context, serving.UpdateAppRequest) (*serving.App, error)) *MockAppsInterface_Update_Call
type MockAppsInterface_WaitGetAppIdle_Call ¶ added in v0.40.0
MockAppsInterface_WaitGetAppIdle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitGetAppIdle'
func (*MockAppsInterface_WaitGetAppIdle_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_WaitGetAppIdle_Call) Return(_a0 *serving.App, _a1 error) *MockAppsInterface_WaitGetAppIdle_Call
func (*MockAppsInterface_WaitGetAppIdle_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_WaitGetAppIdle_Call) Run(run func(ctx context.Context, name string, timeout time.Duration, callback func(*serving.App))) *MockAppsInterface_WaitGetAppIdle_Call
func (*MockAppsInterface_WaitGetAppIdle_Call) RunAndReturn ¶ added in v0.40.0
type MockAppsInterface_WaitGetDeploymentAppSucceeded_Call ¶ added in v0.40.0
MockAppsInterface_WaitGetDeploymentAppSucceeded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitGetDeploymentAppSucceeded'
func (*MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) Return ¶ added in v0.40.0
func (_c *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) Return(_a0 *serving.AppDeployment, _a1 error) *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call
func (*MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) Run ¶ added in v0.40.0
func (_c *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) Run(run func(ctx context.Context, appName string, deploymentId string, timeout time.Duration, callback func(*serving.AppDeployment))) *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call
func (*MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) RunAndReturn ¶ added in v0.40.0
func (_c *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call) RunAndReturn(run func(context.Context, string, string, time.Duration, func(*serving.AppDeployment)) (*serving.AppDeployment, error)) *MockAppsInterface_WaitGetDeploymentAppSucceeded_Call
type MockAppsInterface_WithImpl_Call ¶
MockAppsInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockAppsInterface_WithImpl_Call) Return ¶
func (_c *MockAppsInterface_WithImpl_Call) Return(_a0 serving.AppsInterface) *MockAppsInterface_WithImpl_Call
func (*MockAppsInterface_WithImpl_Call) Run ¶
func (_c *MockAppsInterface_WithImpl_Call) Run(run func(impl serving.AppsService)) *MockAppsInterface_WithImpl_Call
func (*MockAppsInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockAppsInterface_WithImpl_Call) RunAndReturn(run func(serving.AppsService) serving.AppsInterface) *MockAppsInterface_WithImpl_Call
type MockServingEndpointsDataPlaneInterface ¶ added in v0.43.1
MockServingEndpointsDataPlaneInterface is an autogenerated mock type for the ServingEndpointsDataPlaneInterface type
func NewMockServingEndpointsDataPlaneInterface ¶ added in v0.43.1
func NewMockServingEndpointsDataPlaneInterface(t interface { mock.TestingT Cleanup(func()) }) *MockServingEndpointsDataPlaneInterface
NewMockServingEndpointsDataPlaneInterface creates a new instance of MockServingEndpointsDataPlaneInterface. 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 (*MockServingEndpointsDataPlaneInterface) EXPECT ¶ added in v0.43.1
func (_m *MockServingEndpointsDataPlaneInterface) EXPECT() *MockServingEndpointsDataPlaneInterface_Expecter
func (*MockServingEndpointsDataPlaneInterface) Impl ¶ added in v0.43.1
func (_m *MockServingEndpointsDataPlaneInterface) Impl() serving.ServingEndpointsDataPlaneService
Impl provides a mock function with given fields:
func (*MockServingEndpointsDataPlaneInterface) Query ¶ added in v0.43.1
func (_m *MockServingEndpointsDataPlaneInterface) Query(ctx context.Context, request serving.QueryEndpointInput) (*serving.QueryEndpointResponse, error)
Query provides a mock function with given fields: ctx, request
func (*MockServingEndpointsDataPlaneInterface) WithImpl ¶ added in v0.43.1
func (_m *MockServingEndpointsDataPlaneInterface) WithImpl(impl serving.ServingEndpointsDataPlaneService) serving.ServingEndpointsDataPlaneInterface
WithImpl provides a mock function with given fields: impl
type MockServingEndpointsDataPlaneInterface_Expecter ¶ added in v0.43.1
type MockServingEndpointsDataPlaneInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockServingEndpointsDataPlaneInterface_Expecter) Impl ¶ added in v0.43.1
func (_e *MockServingEndpointsDataPlaneInterface_Expecter) Impl() *MockServingEndpointsDataPlaneInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockServingEndpointsDataPlaneInterface_Expecter) Query ¶ added in v0.43.1
func (_e *MockServingEndpointsDataPlaneInterface_Expecter) Query(ctx interface{}, request interface{}) *MockServingEndpointsDataPlaneInterface_Query_Call
Query is a helper method to define mock.On call
- ctx context.Context
- request serving.QueryEndpointInput
func (*MockServingEndpointsDataPlaneInterface_Expecter) WithImpl ¶ added in v0.43.1
func (_e *MockServingEndpointsDataPlaneInterface_Expecter) WithImpl(impl interface{}) *MockServingEndpointsDataPlaneInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl serving.ServingEndpointsDataPlaneService
type MockServingEndpointsDataPlaneInterface_Impl_Call ¶ added in v0.43.1
MockServingEndpointsDataPlaneInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockServingEndpointsDataPlaneInterface_Impl_Call) Run ¶ added in v0.43.1
func (_c *MockServingEndpointsDataPlaneInterface_Impl_Call) Run(run func()) *MockServingEndpointsDataPlaneInterface_Impl_Call
func (*MockServingEndpointsDataPlaneInterface_Impl_Call) RunAndReturn ¶ added in v0.43.1
func (_c *MockServingEndpointsDataPlaneInterface_Impl_Call) RunAndReturn(run func() serving.ServingEndpointsDataPlaneService) *MockServingEndpointsDataPlaneInterface_Impl_Call
type MockServingEndpointsDataPlaneInterface_Query_Call ¶ added in v0.43.1
MockServingEndpointsDataPlaneInterface_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*MockServingEndpointsDataPlaneInterface_Query_Call) Return ¶ added in v0.43.1
func (_c *MockServingEndpointsDataPlaneInterface_Query_Call) Return(_a0 *serving.QueryEndpointResponse, _a1 error) *MockServingEndpointsDataPlaneInterface_Query_Call
func (*MockServingEndpointsDataPlaneInterface_Query_Call) Run ¶ added in v0.43.1
func (_c *MockServingEndpointsDataPlaneInterface_Query_Call) Run(run func(ctx context.Context, request serving.QueryEndpointInput)) *MockServingEndpointsDataPlaneInterface_Query_Call
func (*MockServingEndpointsDataPlaneInterface_Query_Call) RunAndReturn ¶ added in v0.43.1
func (_c *MockServingEndpointsDataPlaneInterface_Query_Call) RunAndReturn(run func(context.Context, serving.QueryEndpointInput) (*serving.QueryEndpointResponse, error)) *MockServingEndpointsDataPlaneInterface_Query_Call
type MockServingEndpointsDataPlaneInterface_WithImpl_Call ¶ added in v0.43.1
MockServingEndpointsDataPlaneInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockServingEndpointsDataPlaneInterface_WithImpl_Call) RunAndReturn ¶ added in v0.43.1
type MockServingEndpointsInterface ¶
MockServingEndpointsInterface is an autogenerated mock type for the ServingEndpointsInterface type
func NewMockServingEndpointsInterface ¶
func NewMockServingEndpointsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockServingEndpointsInterface
NewMockServingEndpointsInterface creates a new instance of MockServingEndpointsInterface. 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 (*MockServingEndpointsInterface) BuildLogs ¶
func (_m *MockServingEndpointsInterface) BuildLogs(ctx context.Context, request serving.BuildLogsRequest) (*serving.BuildLogsResponse, error)
BuildLogs provides a mock function with given fields: ctx, request
func (*MockServingEndpointsInterface) BuildLogsByNameAndServedModelName ¶
func (_m *MockServingEndpointsInterface) BuildLogsByNameAndServedModelName(ctx context.Context, name string, servedModelName string) (*serving.BuildLogsResponse, error)
BuildLogsByNameAndServedModelName provides a mock function with given fields: ctx, name, servedModelName
func (*MockServingEndpointsInterface) Create ¶
func (_m *MockServingEndpointsInterface) Create(ctx context.Context, createServingEndpoint serving.CreateServingEndpoint) (*serving.WaitGetServingEndpointNotUpdating[serving.ServingEndpointDetailed], error)
Create provides a mock function with given fields: ctx, createServingEndpoint
func (*MockServingEndpointsInterface) CreateAndWait ¶
func (_m *MockServingEndpointsInterface) CreateAndWait(ctx context.Context, createServingEndpoint serving.CreateServingEndpoint, options ...retries.Option[serving.ServingEndpointDetailed]) (*serving.ServingEndpointDetailed, error)
CreateAndWait provides a mock function with given fields: ctx, createServingEndpoint, options
func (*MockServingEndpointsInterface) Delete ¶
func (_m *MockServingEndpointsInterface) Delete(ctx context.Context, request serving.DeleteServingEndpointRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockServingEndpointsInterface) DeleteByName ¶
func (_m *MockServingEndpointsInterface) DeleteByName(ctx context.Context, name string) error
DeleteByName provides a mock function with given fields: ctx, name
func (*MockServingEndpointsInterface) EXPECT ¶
func (_m *MockServingEndpointsInterface) EXPECT() *MockServingEndpointsInterface_Expecter
func (*MockServingEndpointsInterface) ExportMetrics ¶
func (_m *MockServingEndpointsInterface) ExportMetrics(ctx context.Context, request serving.ExportMetricsRequest) (*serving.ExportMetricsResponse, error)
ExportMetrics provides a mock function with given fields: ctx, request
func (*MockServingEndpointsInterface) ExportMetricsByName ¶
func (_m *MockServingEndpointsInterface) ExportMetricsByName(ctx context.Context, name string) (*serving.ExportMetricsResponse, error)
ExportMetricsByName provides a mock function with given fields: ctx, name
func (*MockServingEndpointsInterface) Get ¶
func (_m *MockServingEndpointsInterface) Get(ctx context.Context, request serving.GetServingEndpointRequest) (*serving.ServingEndpointDetailed, error)
Get provides a mock function with given fields: ctx, request
func (*MockServingEndpointsInterface) GetByName ¶
func (_m *MockServingEndpointsInterface) GetByName(ctx context.Context, name string) (*serving.ServingEndpointDetailed, error)
GetByName provides a mock function with given fields: ctx, name
func (*MockServingEndpointsInterface) GetOpenApi ¶ added in v0.39.0
func (_m *MockServingEndpointsInterface) GetOpenApi(ctx context.Context, request serving.GetOpenApiRequest) error
GetOpenApi provides a mock function with given fields: ctx, request
func (*MockServingEndpointsInterface) GetOpenApiByName ¶ added in v0.39.0
func (_m *MockServingEndpointsInterface) GetOpenApiByName(ctx context.Context, name string) error
GetOpenApiByName provides a mock function with given fields: ctx, name
func (*MockServingEndpointsInterface) GetPermissionLevels ¶
func (_m *MockServingEndpointsInterface) GetPermissionLevels(ctx context.Context, request serving.GetServingEndpointPermissionLevelsRequest) (*serving.GetServingEndpointPermissionLevelsResponse, error)
GetPermissionLevels provides a mock function with given fields: ctx, request
func (*MockServingEndpointsInterface) GetPermissionLevelsByServingEndpointId ¶
func (_m *MockServingEndpointsInterface) GetPermissionLevelsByServingEndpointId(ctx context.Context, servingEndpointId string) (*serving.GetServingEndpointPermissionLevelsResponse, error)
GetPermissionLevelsByServingEndpointId provides a mock function with given fields: ctx, servingEndpointId
func (*MockServingEndpointsInterface) GetPermissions ¶
func (_m *MockServingEndpointsInterface) GetPermissions(ctx context.Context, request serving.GetServingEndpointPermissionsRequest) (*serving.ServingEndpointPermissions, error)
GetPermissions provides a mock function with given fields: ctx, request
func (*MockServingEndpointsInterface) GetPermissionsByServingEndpointId ¶
func (_m *MockServingEndpointsInterface) GetPermissionsByServingEndpointId(ctx context.Context, servingEndpointId string) (*serving.ServingEndpointPermissions, error)
GetPermissionsByServingEndpointId provides a mock function with given fields: ctx, servingEndpointId
func (*MockServingEndpointsInterface) Impl ¶
func (_m *MockServingEndpointsInterface) Impl() serving.ServingEndpointsService
Impl provides a mock function with given fields:
func (*MockServingEndpointsInterface) List ¶
func (_m *MockServingEndpointsInterface) List(ctx context.Context) listing.Iterator[serving.ServingEndpoint]
List provides a mock function with given fields: ctx
func (*MockServingEndpointsInterface) ListAll ¶
func (_m *MockServingEndpointsInterface) ListAll(ctx context.Context) ([]serving.ServingEndpoint, error)
ListAll provides a mock function with given fields: ctx
func (*MockServingEndpointsInterface) Logs ¶
func (_m *MockServingEndpointsInterface) Logs(ctx context.Context, request serving.LogsRequest) (*serving.ServerLogsResponse, error)
Logs provides a mock function with given fields: ctx, request
func (*MockServingEndpointsInterface) LogsByNameAndServedModelName ¶
func (_m *MockServingEndpointsInterface) LogsByNameAndServedModelName(ctx context.Context, name string, servedModelName string) (*serving.ServerLogsResponse, error)
LogsByNameAndServedModelName provides a mock function with given fields: ctx, name, servedModelName
func (*MockServingEndpointsInterface) Patch ¶
func (_m *MockServingEndpointsInterface) Patch(ctx context.Context, request serving.PatchServingEndpointTags) ([]serving.EndpointTag, error)
Patch provides a mock function with given fields: ctx, request
func (*MockServingEndpointsInterface) Put ¶
func (_m *MockServingEndpointsInterface) Put(ctx context.Context, request serving.PutRequest) (*serving.PutResponse, error)
Put provides a mock function with given fields: ctx, request
func (*MockServingEndpointsInterface) Query ¶
func (_m *MockServingEndpointsInterface) Query(ctx context.Context, request serving.QueryEndpointInput) (*serving.QueryEndpointResponse, error)
Query provides a mock function with given fields: ctx, request
func (*MockServingEndpointsInterface) SetPermissions ¶
func (_m *MockServingEndpointsInterface) SetPermissions(ctx context.Context, request serving.ServingEndpointPermissionsRequest) (*serving.ServingEndpointPermissions, error)
SetPermissions provides a mock function with given fields: ctx, request
func (*MockServingEndpointsInterface) UpdateConfig ¶
func (_m *MockServingEndpointsInterface) UpdateConfig(ctx context.Context, endpointCoreConfigInput serving.EndpointCoreConfigInput) (*serving.WaitGetServingEndpointNotUpdating[serving.ServingEndpointDetailed], error)
UpdateConfig provides a mock function with given fields: ctx, endpointCoreConfigInput
func (*MockServingEndpointsInterface) UpdateConfigAndWait ¶
func (_m *MockServingEndpointsInterface) UpdateConfigAndWait(ctx context.Context, endpointCoreConfigInput serving.EndpointCoreConfigInput, options ...retries.Option[serving.ServingEndpointDetailed]) (*serving.ServingEndpointDetailed, error)
UpdateConfigAndWait provides a mock function with given fields: ctx, endpointCoreConfigInput, options
func (*MockServingEndpointsInterface) UpdatePermissions ¶
func (_m *MockServingEndpointsInterface) UpdatePermissions(ctx context.Context, request serving.ServingEndpointPermissionsRequest) (*serving.ServingEndpointPermissions, error)
UpdatePermissions provides a mock function with given fields: ctx, request
func (*MockServingEndpointsInterface) WaitGetServingEndpointNotUpdating ¶
func (_m *MockServingEndpointsInterface) WaitGetServingEndpointNotUpdating(ctx context.Context, name string, timeout time.Duration, callback func(*serving.ServingEndpointDetailed)) (*serving.ServingEndpointDetailed, error)
WaitGetServingEndpointNotUpdating provides a mock function with given fields: ctx, name, timeout, callback
func (*MockServingEndpointsInterface) WithImpl ¶
func (_m *MockServingEndpointsInterface) WithImpl(impl serving.ServingEndpointsService) serving.ServingEndpointsInterface
WithImpl provides a mock function with given fields: impl
type MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call ¶
MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildLogsByNameAndServedModelName'
func (*MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call) Run ¶
func (_c *MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call) Run(run func(ctx context.Context, name string, servedModelName string)) *MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call
func (*MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call) RunAndReturn(run func(context.Context, string, string) (*serving.BuildLogsResponse, error)) *MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call
type MockServingEndpointsInterface_BuildLogs_Call ¶
MockServingEndpointsInterface_BuildLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildLogs'
func (*MockServingEndpointsInterface_BuildLogs_Call) Return ¶
func (_c *MockServingEndpointsInterface_BuildLogs_Call) Return(_a0 *serving.BuildLogsResponse, _a1 error) *MockServingEndpointsInterface_BuildLogs_Call
func (*MockServingEndpointsInterface_BuildLogs_Call) Run ¶
func (_c *MockServingEndpointsInterface_BuildLogs_Call) Run(run func(ctx context.Context, request serving.BuildLogsRequest)) *MockServingEndpointsInterface_BuildLogs_Call
func (*MockServingEndpointsInterface_BuildLogs_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_BuildLogs_Call) RunAndReturn(run func(context.Context, serving.BuildLogsRequest) (*serving.BuildLogsResponse, error)) *MockServingEndpointsInterface_BuildLogs_Call
type MockServingEndpointsInterface_CreateAndWait_Call ¶
MockServingEndpointsInterface_CreateAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAndWait'
func (*MockServingEndpointsInterface_CreateAndWait_Call) Return ¶
func (_c *MockServingEndpointsInterface_CreateAndWait_Call) Return(_a0 *serving.ServingEndpointDetailed, _a1 error) *MockServingEndpointsInterface_CreateAndWait_Call
func (*MockServingEndpointsInterface_CreateAndWait_Call) Run ¶
func (_c *MockServingEndpointsInterface_CreateAndWait_Call) Run(run func(ctx context.Context, createServingEndpoint serving.CreateServingEndpoint, options ...retries.Option[serving.ServingEndpointDetailed])) *MockServingEndpointsInterface_CreateAndWait_Call
func (*MockServingEndpointsInterface_CreateAndWait_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_CreateAndWait_Call) RunAndReturn(run func(context.Context, serving.CreateServingEndpoint, ...retries.Option[serving.ServingEndpointDetailed]) (*serving.ServingEndpointDetailed, error)) *MockServingEndpointsInterface_CreateAndWait_Call
type MockServingEndpointsInterface_Create_Call ¶
MockServingEndpointsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockServingEndpointsInterface_Create_Call) Run ¶
func (_c *MockServingEndpointsInterface_Create_Call) Run(run func(ctx context.Context, createServingEndpoint serving.CreateServingEndpoint)) *MockServingEndpointsInterface_Create_Call
func (*MockServingEndpointsInterface_Create_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_Create_Call) RunAndReturn(run func(context.Context, serving.CreateServingEndpoint) (*serving.WaitGetServingEndpointNotUpdating[serving.ServingEndpointDetailed], error)) *MockServingEndpointsInterface_Create_Call
type MockServingEndpointsInterface_DeleteByName_Call ¶
MockServingEndpointsInterface_DeleteByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByName'
func (*MockServingEndpointsInterface_DeleteByName_Call) Return ¶
func (_c *MockServingEndpointsInterface_DeleteByName_Call) Return(_a0 error) *MockServingEndpointsInterface_DeleteByName_Call
func (*MockServingEndpointsInterface_DeleteByName_Call) Run ¶
func (_c *MockServingEndpointsInterface_DeleteByName_Call) Run(run func(ctx context.Context, name string)) *MockServingEndpointsInterface_DeleteByName_Call
func (*MockServingEndpointsInterface_DeleteByName_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_DeleteByName_Call) RunAndReturn(run func(context.Context, string) error) *MockServingEndpointsInterface_DeleteByName_Call
type MockServingEndpointsInterface_Delete_Call ¶
MockServingEndpointsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockServingEndpointsInterface_Delete_Call) Return ¶
func (_c *MockServingEndpointsInterface_Delete_Call) Return(_a0 error) *MockServingEndpointsInterface_Delete_Call
func (*MockServingEndpointsInterface_Delete_Call) Run ¶
func (_c *MockServingEndpointsInterface_Delete_Call) Run(run func(ctx context.Context, request serving.DeleteServingEndpointRequest)) *MockServingEndpointsInterface_Delete_Call
func (*MockServingEndpointsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_Delete_Call) RunAndReturn(run func(context.Context, serving.DeleteServingEndpointRequest) error) *MockServingEndpointsInterface_Delete_Call
type MockServingEndpointsInterface_Expecter ¶
type MockServingEndpointsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockServingEndpointsInterface_Expecter) BuildLogs ¶
func (_e *MockServingEndpointsInterface_Expecter) BuildLogs(ctx interface{}, request interface{}) *MockServingEndpointsInterface_BuildLogs_Call
BuildLogs is a helper method to define mock.On call
- ctx context.Context
- request serving.BuildLogsRequest
func (*MockServingEndpointsInterface_Expecter) BuildLogsByNameAndServedModelName ¶
func (_e *MockServingEndpointsInterface_Expecter) BuildLogsByNameAndServedModelName(ctx interface{}, name interface{}, servedModelName interface{}) *MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call
BuildLogsByNameAndServedModelName is a helper method to define mock.On call
- ctx context.Context
- name string
- servedModelName string
func (*MockServingEndpointsInterface_Expecter) Create ¶
func (_e *MockServingEndpointsInterface_Expecter) Create(ctx interface{}, createServingEndpoint interface{}) *MockServingEndpointsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- createServingEndpoint serving.CreateServingEndpoint
func (*MockServingEndpointsInterface_Expecter) CreateAndWait ¶
func (_e *MockServingEndpointsInterface_Expecter) CreateAndWait(ctx interface{}, createServingEndpoint interface{}, options ...interface{}) *MockServingEndpointsInterface_CreateAndWait_Call
CreateAndWait is a helper method to define mock.On call
- ctx context.Context
- createServingEndpoint serving.CreateServingEndpoint
- options ...retries.Option[serving.ServingEndpointDetailed]
func (*MockServingEndpointsInterface_Expecter) Delete ¶
func (_e *MockServingEndpointsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockServingEndpointsInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request serving.DeleteServingEndpointRequest
func (*MockServingEndpointsInterface_Expecter) DeleteByName ¶
func (_e *MockServingEndpointsInterface_Expecter) DeleteByName(ctx interface{}, name interface{}) *MockServingEndpointsInterface_DeleteByName_Call
DeleteByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockServingEndpointsInterface_Expecter) ExportMetrics ¶
func (_e *MockServingEndpointsInterface_Expecter) ExportMetrics(ctx interface{}, request interface{}) *MockServingEndpointsInterface_ExportMetrics_Call
ExportMetrics is a helper method to define mock.On call
- ctx context.Context
- request serving.ExportMetricsRequest
func (*MockServingEndpointsInterface_Expecter) ExportMetricsByName ¶
func (_e *MockServingEndpointsInterface_Expecter) ExportMetricsByName(ctx interface{}, name interface{}) *MockServingEndpointsInterface_ExportMetricsByName_Call
ExportMetricsByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockServingEndpointsInterface_Expecter) Get ¶
func (_e *MockServingEndpointsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockServingEndpointsInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request serving.GetServingEndpointRequest
func (*MockServingEndpointsInterface_Expecter) GetByName ¶
func (_e *MockServingEndpointsInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockServingEndpointsInterface_GetByName_Call
GetByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockServingEndpointsInterface_Expecter) GetOpenApi ¶ added in v0.39.0
func (_e *MockServingEndpointsInterface_Expecter) GetOpenApi(ctx interface{}, request interface{}) *MockServingEndpointsInterface_GetOpenApi_Call
GetOpenApi is a helper method to define mock.On call
- ctx context.Context
- request serving.GetOpenApiRequest
func (*MockServingEndpointsInterface_Expecter) GetOpenApiByName ¶ added in v0.39.0
func (_e *MockServingEndpointsInterface_Expecter) GetOpenApiByName(ctx interface{}, name interface{}) *MockServingEndpointsInterface_GetOpenApiByName_Call
GetOpenApiByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockServingEndpointsInterface_Expecter) GetPermissionLevels ¶
func (_e *MockServingEndpointsInterface_Expecter) GetPermissionLevels(ctx interface{}, request interface{}) *MockServingEndpointsInterface_GetPermissionLevels_Call
GetPermissionLevels is a helper method to define mock.On call
- ctx context.Context
- request serving.GetServingEndpointPermissionLevelsRequest
func (*MockServingEndpointsInterface_Expecter) GetPermissionLevelsByServingEndpointId ¶
func (_e *MockServingEndpointsInterface_Expecter) GetPermissionLevelsByServingEndpointId(ctx interface{}, servingEndpointId interface{}) *MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call
GetPermissionLevelsByServingEndpointId is a helper method to define mock.On call
- ctx context.Context
- servingEndpointId string
func (*MockServingEndpointsInterface_Expecter) GetPermissions ¶
func (_e *MockServingEndpointsInterface_Expecter) GetPermissions(ctx interface{}, request interface{}) *MockServingEndpointsInterface_GetPermissions_Call
GetPermissions is a helper method to define mock.On call
- ctx context.Context
- request serving.GetServingEndpointPermissionsRequest
func (*MockServingEndpointsInterface_Expecter) GetPermissionsByServingEndpointId ¶
func (_e *MockServingEndpointsInterface_Expecter) GetPermissionsByServingEndpointId(ctx interface{}, servingEndpointId interface{}) *MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call
GetPermissionsByServingEndpointId is a helper method to define mock.On call
- ctx context.Context
- servingEndpointId string
func (*MockServingEndpointsInterface_Expecter) Impl ¶
func (_e *MockServingEndpointsInterface_Expecter) Impl() *MockServingEndpointsInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockServingEndpointsInterface_Expecter) List ¶
func (_e *MockServingEndpointsInterface_Expecter) List(ctx interface{}) *MockServingEndpointsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
func (*MockServingEndpointsInterface_Expecter) ListAll ¶
func (_e *MockServingEndpointsInterface_Expecter) ListAll(ctx interface{}) *MockServingEndpointsInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
func (*MockServingEndpointsInterface_Expecter) Logs ¶
func (_e *MockServingEndpointsInterface_Expecter) Logs(ctx interface{}, request interface{}) *MockServingEndpointsInterface_Logs_Call
Logs is a helper method to define mock.On call
- ctx context.Context
- request serving.LogsRequest
func (*MockServingEndpointsInterface_Expecter) LogsByNameAndServedModelName ¶
func (_e *MockServingEndpointsInterface_Expecter) LogsByNameAndServedModelName(ctx interface{}, name interface{}, servedModelName interface{}) *MockServingEndpointsInterface_LogsByNameAndServedModelName_Call
LogsByNameAndServedModelName is a helper method to define mock.On call
- ctx context.Context
- name string
- servedModelName string
func (*MockServingEndpointsInterface_Expecter) Patch ¶
func (_e *MockServingEndpointsInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockServingEndpointsInterface_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- request serving.PatchServingEndpointTags
func (*MockServingEndpointsInterface_Expecter) Put ¶
func (_e *MockServingEndpointsInterface_Expecter) Put(ctx interface{}, request interface{}) *MockServingEndpointsInterface_Put_Call
Put is a helper method to define mock.On call
- ctx context.Context
- request serving.PutRequest
func (*MockServingEndpointsInterface_Expecter) Query ¶
func (_e *MockServingEndpointsInterface_Expecter) Query(ctx interface{}, request interface{}) *MockServingEndpointsInterface_Query_Call
Query is a helper method to define mock.On call
- ctx context.Context
- request serving.QueryEndpointInput
func (*MockServingEndpointsInterface_Expecter) SetPermissions ¶
func (_e *MockServingEndpointsInterface_Expecter) SetPermissions(ctx interface{}, request interface{}) *MockServingEndpointsInterface_SetPermissions_Call
SetPermissions is a helper method to define mock.On call
- ctx context.Context
- request serving.ServingEndpointPermissionsRequest
func (*MockServingEndpointsInterface_Expecter) UpdateConfig ¶
func (_e *MockServingEndpointsInterface_Expecter) UpdateConfig(ctx interface{}, endpointCoreConfigInput interface{}) *MockServingEndpointsInterface_UpdateConfig_Call
UpdateConfig is a helper method to define mock.On call
- ctx context.Context
- endpointCoreConfigInput serving.EndpointCoreConfigInput
func (*MockServingEndpointsInterface_Expecter) UpdateConfigAndWait ¶
func (_e *MockServingEndpointsInterface_Expecter) UpdateConfigAndWait(ctx interface{}, endpointCoreConfigInput interface{}, options ...interface{}) *MockServingEndpointsInterface_UpdateConfigAndWait_Call
UpdateConfigAndWait is a helper method to define mock.On call
- ctx context.Context
- endpointCoreConfigInput serving.EndpointCoreConfigInput
- options ...retries.Option[serving.ServingEndpointDetailed]
func (*MockServingEndpointsInterface_Expecter) UpdatePermissions ¶
func (_e *MockServingEndpointsInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockServingEndpointsInterface_UpdatePermissions_Call
UpdatePermissions is a helper method to define mock.On call
- ctx context.Context
- request serving.ServingEndpointPermissionsRequest
func (*MockServingEndpointsInterface_Expecter) WaitGetServingEndpointNotUpdating ¶
func (_e *MockServingEndpointsInterface_Expecter) WaitGetServingEndpointNotUpdating(ctx interface{}, name interface{}, timeout interface{}, callback interface{}) *MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call
WaitGetServingEndpointNotUpdating is a helper method to define mock.On call
- ctx context.Context
- name string
- timeout time.Duration
- callback func(*serving.ServingEndpointDetailed)
func (*MockServingEndpointsInterface_Expecter) WithImpl ¶
func (_e *MockServingEndpointsInterface_Expecter) WithImpl(impl interface{}) *MockServingEndpointsInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl serving.ServingEndpointsService
type MockServingEndpointsInterface_ExportMetricsByName_Call ¶
MockServingEndpointsInterface_ExportMetricsByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExportMetricsByName'
func (*MockServingEndpointsInterface_ExportMetricsByName_Call) Run ¶
func (_c *MockServingEndpointsInterface_ExportMetricsByName_Call) Run(run func(ctx context.Context, name string)) *MockServingEndpointsInterface_ExportMetricsByName_Call
func (*MockServingEndpointsInterface_ExportMetricsByName_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_ExportMetricsByName_Call) RunAndReturn(run func(context.Context, string) (*serving.ExportMetricsResponse, error)) *MockServingEndpointsInterface_ExportMetricsByName_Call
type MockServingEndpointsInterface_ExportMetrics_Call ¶
MockServingEndpointsInterface_ExportMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExportMetrics'
func (*MockServingEndpointsInterface_ExportMetrics_Call) Return ¶
func (_c *MockServingEndpointsInterface_ExportMetrics_Call) Return(_a0 *serving.ExportMetricsResponse, _a1 error) *MockServingEndpointsInterface_ExportMetrics_Call
func (*MockServingEndpointsInterface_ExportMetrics_Call) Run ¶
func (_c *MockServingEndpointsInterface_ExportMetrics_Call) Run(run func(ctx context.Context, request serving.ExportMetricsRequest)) *MockServingEndpointsInterface_ExportMetrics_Call
func (*MockServingEndpointsInterface_ExportMetrics_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_ExportMetrics_Call) RunAndReturn(run func(context.Context, serving.ExportMetricsRequest) (*serving.ExportMetricsResponse, error)) *MockServingEndpointsInterface_ExportMetrics_Call
type MockServingEndpointsInterface_GetByName_Call ¶
MockServingEndpointsInterface_GetByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByName'
func (*MockServingEndpointsInterface_GetByName_Call) Return ¶
func (_c *MockServingEndpointsInterface_GetByName_Call) Return(_a0 *serving.ServingEndpointDetailed, _a1 error) *MockServingEndpointsInterface_GetByName_Call
func (*MockServingEndpointsInterface_GetByName_Call) Run ¶
func (_c *MockServingEndpointsInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockServingEndpointsInterface_GetByName_Call
func (*MockServingEndpointsInterface_GetByName_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*serving.ServingEndpointDetailed, error)) *MockServingEndpointsInterface_GetByName_Call
type MockServingEndpointsInterface_GetOpenApiByName_Call ¶ added in v0.39.0
MockServingEndpointsInterface_GetOpenApiByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOpenApiByName'
func (*MockServingEndpointsInterface_GetOpenApiByName_Call) Run ¶ added in v0.39.0
func (_c *MockServingEndpointsInterface_GetOpenApiByName_Call) Run(run func(ctx context.Context, name string)) *MockServingEndpointsInterface_GetOpenApiByName_Call
func (*MockServingEndpointsInterface_GetOpenApiByName_Call) RunAndReturn ¶ added in v0.39.0
func (_c *MockServingEndpointsInterface_GetOpenApiByName_Call) RunAndReturn(run func(context.Context, string) error) *MockServingEndpointsInterface_GetOpenApiByName_Call
type MockServingEndpointsInterface_GetOpenApi_Call ¶ added in v0.39.0
MockServingEndpointsInterface_GetOpenApi_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOpenApi'
func (*MockServingEndpointsInterface_GetOpenApi_Call) Return ¶ added in v0.39.0
func (_c *MockServingEndpointsInterface_GetOpenApi_Call) Return(_a0 error) *MockServingEndpointsInterface_GetOpenApi_Call
func (*MockServingEndpointsInterface_GetOpenApi_Call) Run ¶ added in v0.39.0
func (_c *MockServingEndpointsInterface_GetOpenApi_Call) Run(run func(ctx context.Context, request serving.GetOpenApiRequest)) *MockServingEndpointsInterface_GetOpenApi_Call
func (*MockServingEndpointsInterface_GetOpenApi_Call) RunAndReturn ¶ added in v0.39.0
func (_c *MockServingEndpointsInterface_GetOpenApi_Call) RunAndReturn(run func(context.Context, serving.GetOpenApiRequest) error) *MockServingEndpointsInterface_GetOpenApi_Call
type MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call ¶
type MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call struct {
*mock.Call
}
MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevelsByServingEndpointId'
func (*MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call) Run ¶
func (_c *MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call) Run(run func(ctx context.Context, servingEndpointId string)) *MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call
func (*MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call) RunAndReturn ¶
type MockServingEndpointsInterface_GetPermissionLevels_Call ¶
MockServingEndpointsInterface_GetPermissionLevels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevels'
func (*MockServingEndpointsInterface_GetPermissionLevels_Call) Run ¶
func (_c *MockServingEndpointsInterface_GetPermissionLevels_Call) Run(run func(ctx context.Context, request serving.GetServingEndpointPermissionLevelsRequest)) *MockServingEndpointsInterface_GetPermissionLevels_Call
func (*MockServingEndpointsInterface_GetPermissionLevels_Call) RunAndReturn ¶
type MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call ¶
MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionsByServingEndpointId'
func (*MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call) Run ¶
func (_c *MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call) Run(run func(ctx context.Context, servingEndpointId string)) *MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call
func (*MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call) RunAndReturn ¶
type MockServingEndpointsInterface_GetPermissions_Call ¶
MockServingEndpointsInterface_GetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissions'
func (*MockServingEndpointsInterface_GetPermissions_Call) Return ¶
func (_c *MockServingEndpointsInterface_GetPermissions_Call) Return(_a0 *serving.ServingEndpointPermissions, _a1 error) *MockServingEndpointsInterface_GetPermissions_Call
func (*MockServingEndpointsInterface_GetPermissions_Call) Run ¶
func (_c *MockServingEndpointsInterface_GetPermissions_Call) Run(run func(ctx context.Context, request serving.GetServingEndpointPermissionsRequest)) *MockServingEndpointsInterface_GetPermissions_Call
func (*MockServingEndpointsInterface_GetPermissions_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_GetPermissions_Call) RunAndReturn(run func(context.Context, serving.GetServingEndpointPermissionsRequest) (*serving.ServingEndpointPermissions, error)) *MockServingEndpointsInterface_GetPermissions_Call
type MockServingEndpointsInterface_Get_Call ¶
MockServingEndpointsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockServingEndpointsInterface_Get_Call) Return ¶
func (_c *MockServingEndpointsInterface_Get_Call) Return(_a0 *serving.ServingEndpointDetailed, _a1 error) *MockServingEndpointsInterface_Get_Call
func (*MockServingEndpointsInterface_Get_Call) Run ¶
func (_c *MockServingEndpointsInterface_Get_Call) Run(run func(ctx context.Context, request serving.GetServingEndpointRequest)) *MockServingEndpointsInterface_Get_Call
func (*MockServingEndpointsInterface_Get_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_Get_Call) RunAndReturn(run func(context.Context, serving.GetServingEndpointRequest) (*serving.ServingEndpointDetailed, error)) *MockServingEndpointsInterface_Get_Call
type MockServingEndpointsInterface_Impl_Call ¶
MockServingEndpointsInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockServingEndpointsInterface_Impl_Call) Return ¶
func (_c *MockServingEndpointsInterface_Impl_Call) Return(_a0 serving.ServingEndpointsService) *MockServingEndpointsInterface_Impl_Call
func (*MockServingEndpointsInterface_Impl_Call) Run ¶
func (_c *MockServingEndpointsInterface_Impl_Call) Run(run func()) *MockServingEndpointsInterface_Impl_Call
func (*MockServingEndpointsInterface_Impl_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_Impl_Call) RunAndReturn(run func() serving.ServingEndpointsService) *MockServingEndpointsInterface_Impl_Call
type MockServingEndpointsInterface_ListAll_Call ¶
MockServingEndpointsInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockServingEndpointsInterface_ListAll_Call) Return ¶
func (_c *MockServingEndpointsInterface_ListAll_Call) Return(_a0 []serving.ServingEndpoint, _a1 error) *MockServingEndpointsInterface_ListAll_Call
func (*MockServingEndpointsInterface_ListAll_Call) Run ¶
func (_c *MockServingEndpointsInterface_ListAll_Call) Run(run func(ctx context.Context)) *MockServingEndpointsInterface_ListAll_Call
func (*MockServingEndpointsInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_ListAll_Call) RunAndReturn(run func(context.Context) ([]serving.ServingEndpoint, error)) *MockServingEndpointsInterface_ListAll_Call
type MockServingEndpointsInterface_List_Call ¶
MockServingEndpointsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockServingEndpointsInterface_List_Call) Return ¶
func (_c *MockServingEndpointsInterface_List_Call) Return(_a0 listing.Iterator[serving.ServingEndpoint]) *MockServingEndpointsInterface_List_Call
func (*MockServingEndpointsInterface_List_Call) Run ¶
func (_c *MockServingEndpointsInterface_List_Call) Run(run func(ctx context.Context)) *MockServingEndpointsInterface_List_Call
func (*MockServingEndpointsInterface_List_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_List_Call) RunAndReturn(run func(context.Context) listing.Iterator[serving.ServingEndpoint]) *MockServingEndpointsInterface_List_Call
type MockServingEndpointsInterface_LogsByNameAndServedModelName_Call ¶
MockServingEndpointsInterface_LogsByNameAndServedModelName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogsByNameAndServedModelName'
func (*MockServingEndpointsInterface_LogsByNameAndServedModelName_Call) Run ¶
func (_c *MockServingEndpointsInterface_LogsByNameAndServedModelName_Call) Run(run func(ctx context.Context, name string, servedModelName string)) *MockServingEndpointsInterface_LogsByNameAndServedModelName_Call
func (*MockServingEndpointsInterface_LogsByNameAndServedModelName_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_LogsByNameAndServedModelName_Call) RunAndReturn(run func(context.Context, string, string) (*serving.ServerLogsResponse, error)) *MockServingEndpointsInterface_LogsByNameAndServedModelName_Call
type MockServingEndpointsInterface_Logs_Call ¶
MockServingEndpointsInterface_Logs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Logs'
func (*MockServingEndpointsInterface_Logs_Call) Return ¶
func (_c *MockServingEndpointsInterface_Logs_Call) Return(_a0 *serving.ServerLogsResponse, _a1 error) *MockServingEndpointsInterface_Logs_Call
func (*MockServingEndpointsInterface_Logs_Call) Run ¶
func (_c *MockServingEndpointsInterface_Logs_Call) Run(run func(ctx context.Context, request serving.LogsRequest)) *MockServingEndpointsInterface_Logs_Call
func (*MockServingEndpointsInterface_Logs_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_Logs_Call) RunAndReturn(run func(context.Context, serving.LogsRequest) (*serving.ServerLogsResponse, error)) *MockServingEndpointsInterface_Logs_Call
type MockServingEndpointsInterface_Patch_Call ¶
MockServingEndpointsInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*MockServingEndpointsInterface_Patch_Call) Return ¶
func (_c *MockServingEndpointsInterface_Patch_Call) Return(_a0 []serving.EndpointTag, _a1 error) *MockServingEndpointsInterface_Patch_Call
func (*MockServingEndpointsInterface_Patch_Call) Run ¶
func (_c *MockServingEndpointsInterface_Patch_Call) Run(run func(ctx context.Context, request serving.PatchServingEndpointTags)) *MockServingEndpointsInterface_Patch_Call
func (*MockServingEndpointsInterface_Patch_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_Patch_Call) RunAndReturn(run func(context.Context, serving.PatchServingEndpointTags) ([]serving.EndpointTag, error)) *MockServingEndpointsInterface_Patch_Call
type MockServingEndpointsInterface_Put_Call ¶
MockServingEndpointsInterface_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'
func (*MockServingEndpointsInterface_Put_Call) Return ¶
func (_c *MockServingEndpointsInterface_Put_Call) Return(_a0 *serving.PutResponse, _a1 error) *MockServingEndpointsInterface_Put_Call
func (*MockServingEndpointsInterface_Put_Call) Run ¶
func (_c *MockServingEndpointsInterface_Put_Call) Run(run func(ctx context.Context, request serving.PutRequest)) *MockServingEndpointsInterface_Put_Call
func (*MockServingEndpointsInterface_Put_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_Put_Call) RunAndReturn(run func(context.Context, serving.PutRequest) (*serving.PutResponse, error)) *MockServingEndpointsInterface_Put_Call
type MockServingEndpointsInterface_Query_Call ¶
MockServingEndpointsInterface_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*MockServingEndpointsInterface_Query_Call) Return ¶
func (_c *MockServingEndpointsInterface_Query_Call) Return(_a0 *serving.QueryEndpointResponse, _a1 error) *MockServingEndpointsInterface_Query_Call
func (*MockServingEndpointsInterface_Query_Call) Run ¶
func (_c *MockServingEndpointsInterface_Query_Call) Run(run func(ctx context.Context, request serving.QueryEndpointInput)) *MockServingEndpointsInterface_Query_Call
func (*MockServingEndpointsInterface_Query_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_Query_Call) RunAndReturn(run func(context.Context, serving.QueryEndpointInput) (*serving.QueryEndpointResponse, error)) *MockServingEndpointsInterface_Query_Call
type MockServingEndpointsInterface_SetPermissions_Call ¶
MockServingEndpointsInterface_SetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPermissions'
func (*MockServingEndpointsInterface_SetPermissions_Call) Return ¶
func (_c *MockServingEndpointsInterface_SetPermissions_Call) Return(_a0 *serving.ServingEndpointPermissions, _a1 error) *MockServingEndpointsInterface_SetPermissions_Call
func (*MockServingEndpointsInterface_SetPermissions_Call) Run ¶
func (_c *MockServingEndpointsInterface_SetPermissions_Call) Run(run func(ctx context.Context, request serving.ServingEndpointPermissionsRequest)) *MockServingEndpointsInterface_SetPermissions_Call
func (*MockServingEndpointsInterface_SetPermissions_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_SetPermissions_Call) RunAndReturn(run func(context.Context, serving.ServingEndpointPermissionsRequest) (*serving.ServingEndpointPermissions, error)) *MockServingEndpointsInterface_SetPermissions_Call
type MockServingEndpointsInterface_UpdateConfigAndWait_Call ¶
MockServingEndpointsInterface_UpdateConfigAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateConfigAndWait'
func (*MockServingEndpointsInterface_UpdateConfigAndWait_Call) Run ¶
func (_c *MockServingEndpointsInterface_UpdateConfigAndWait_Call) Run(run func(ctx context.Context, endpointCoreConfigInput serving.EndpointCoreConfigInput, options ...retries.Option[serving.ServingEndpointDetailed])) *MockServingEndpointsInterface_UpdateConfigAndWait_Call
func (*MockServingEndpointsInterface_UpdateConfigAndWait_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_UpdateConfigAndWait_Call) RunAndReturn(run func(context.Context, serving.EndpointCoreConfigInput, ...retries.Option[serving.ServingEndpointDetailed]) (*serving.ServingEndpointDetailed, error)) *MockServingEndpointsInterface_UpdateConfigAndWait_Call
type MockServingEndpointsInterface_UpdateConfig_Call ¶
MockServingEndpointsInterface_UpdateConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateConfig'
func (*MockServingEndpointsInterface_UpdateConfig_Call) Run ¶
func (_c *MockServingEndpointsInterface_UpdateConfig_Call) Run(run func(ctx context.Context, endpointCoreConfigInput serving.EndpointCoreConfigInput)) *MockServingEndpointsInterface_UpdateConfig_Call
func (*MockServingEndpointsInterface_UpdateConfig_Call) RunAndReturn ¶
type MockServingEndpointsInterface_UpdatePermissions_Call ¶
MockServingEndpointsInterface_UpdatePermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePermissions'
func (*MockServingEndpointsInterface_UpdatePermissions_Call) Run ¶
func (_c *MockServingEndpointsInterface_UpdatePermissions_Call) Run(run func(ctx context.Context, request serving.ServingEndpointPermissionsRequest)) *MockServingEndpointsInterface_UpdatePermissions_Call
func (*MockServingEndpointsInterface_UpdatePermissions_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_UpdatePermissions_Call) RunAndReturn(run func(context.Context, serving.ServingEndpointPermissionsRequest) (*serving.ServingEndpointPermissions, error)) *MockServingEndpointsInterface_UpdatePermissions_Call
type MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call ¶
MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitGetServingEndpointNotUpdating'
func (*MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call) Run ¶
func (_c *MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call) Run(run func(ctx context.Context, name string, timeout time.Duration, callback func(*serving.ServingEndpointDetailed))) *MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call
func (*MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call) RunAndReturn(run func(context.Context, string, time.Duration, func(*serving.ServingEndpointDetailed)) (*serving.ServingEndpointDetailed, error)) *MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call
type MockServingEndpointsInterface_WithImpl_Call ¶
MockServingEndpointsInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockServingEndpointsInterface_WithImpl_Call) Run ¶
func (_c *MockServingEndpointsInterface_WithImpl_Call) Run(run func(impl serving.ServingEndpointsService)) *MockServingEndpointsInterface_WithImpl_Call
func (*MockServingEndpointsInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockServingEndpointsInterface_WithImpl_Call) RunAndReturn(run func(serving.ServingEndpointsService) serving.ServingEndpointsInterface) *MockServingEndpointsInterface_WithImpl_Call