Help us shape the future of Go! Take the 2026 Go Developer Survey

serving

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAppsInterface

type MockAppsInterface struct {
	mock.Mock
}

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

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

func (*MockAppsInterface) DeleteApp

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

func (*MockAppsInterface) DeleteAppByName

func (_m *MockAppsInterface) DeleteAppByName(ctx context.Context, name string) (*serving.DeleteAppResponse, error)

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

func (*MockAppsInterface) EXPECT

func (*MockAppsInterface) GetApp

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

func (*MockAppsInterface) GetAppByName

func (_m *MockAppsInterface) GetAppByName(ctx context.Context, name string) (*serving.GetAppResponse, error)

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

func (*MockAppsInterface) GetAppDeploymentStatus

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

func (*MockAppsInterface) GetAppDeploymentStatusByDeploymentId

func (_m *MockAppsInterface) GetAppDeploymentStatusByDeploymentId(ctx context.Context, deploymentId string) (*serving.DeploymentStatus, error)

GetAppDeploymentStatusByDeploymentId provides a mock function with given fields: ctx, deploymentId

func (*MockAppsInterface) GetApps

GetApps provides a mock function with given fields: ctx

func (*MockAppsInterface) GetEvents

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

func (*MockAppsInterface) GetEventsByName

func (_m *MockAppsInterface) GetEventsByName(ctx context.Context, name string) (*serving.ListAppEventsResponse, error)

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

func (*MockAppsInterface) Impl

Impl provides a mock function with given fields:

func (*MockAppsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockAppsInterface_Create_Call

type MockAppsInterface_Create_Call struct {
	*mock.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 (*MockAppsInterface_Create_Call) Run

type MockAppsInterface_DeleteAppByName_Call

type MockAppsInterface_DeleteAppByName_Call struct {
	*mock.Call
}

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

func (*MockAppsInterface_DeleteAppByName_Call) Return

func (*MockAppsInterface_DeleteAppByName_Call) Run

func (*MockAppsInterface_DeleteAppByName_Call) RunAndReturn

type MockAppsInterface_DeleteApp_Call

type MockAppsInterface_DeleteApp_Call struct {
	*mock.Call
}

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

func (*MockAppsInterface_DeleteApp_Call) Return

func (*MockAppsInterface_DeleteApp_Call) Run

type MockAppsInterface_Expecter

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

func (*MockAppsInterface_Expecter) Create

func (_e *MockAppsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockAppsInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request serving.DeployAppRequest

func (*MockAppsInterface_Expecter) DeleteApp

func (_e *MockAppsInterface_Expecter) DeleteApp(ctx interface{}, request interface{}) *MockAppsInterface_DeleteApp_Call

DeleteApp is a helper method to define mock.On call

  • ctx context.Context
  • request serving.DeleteAppRequest

func (*MockAppsInterface_Expecter) DeleteAppByName

func (_e *MockAppsInterface_Expecter) DeleteAppByName(ctx interface{}, name interface{}) *MockAppsInterface_DeleteAppByName_Call

DeleteAppByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockAppsInterface_Expecter) GetApp

func (_e *MockAppsInterface_Expecter) GetApp(ctx interface{}, request interface{}) *MockAppsInterface_GetApp_Call

GetApp is a helper method to define mock.On call

  • ctx context.Context
  • request serving.GetAppRequest

func (*MockAppsInterface_Expecter) GetAppByName

func (_e *MockAppsInterface_Expecter) GetAppByName(ctx interface{}, name interface{}) *MockAppsInterface_GetAppByName_Call

GetAppByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockAppsInterface_Expecter) GetAppDeploymentStatus

func (_e *MockAppsInterface_Expecter) GetAppDeploymentStatus(ctx interface{}, request interface{}) *MockAppsInterface_GetAppDeploymentStatus_Call

GetAppDeploymentStatus is a helper method to define mock.On call

  • ctx context.Context
  • request serving.GetAppDeploymentStatusRequest

func (*MockAppsInterface_Expecter) GetAppDeploymentStatusByDeploymentId

func (_e *MockAppsInterface_Expecter) GetAppDeploymentStatusByDeploymentId(ctx interface{}, deploymentId interface{}) *MockAppsInterface_GetAppDeploymentStatusByDeploymentId_Call

GetAppDeploymentStatusByDeploymentId is a helper method to define mock.On call

  • ctx context.Context
  • deploymentId string

func (*MockAppsInterface_Expecter) GetApps

func (_e *MockAppsInterface_Expecter) GetApps(ctx interface{}) *MockAppsInterface_GetApps_Call

GetApps is a helper method to define mock.On call

  • ctx context.Context

func (*MockAppsInterface_Expecter) GetEvents

func (_e *MockAppsInterface_Expecter) GetEvents(ctx interface{}, request interface{}) *MockAppsInterface_GetEvents_Call

GetEvents is a helper method to define mock.On call

  • ctx context.Context
  • request serving.GetEventsRequest

func (*MockAppsInterface_Expecter) GetEventsByName

func (_e *MockAppsInterface_Expecter) GetEventsByName(ctx interface{}, name interface{}) *MockAppsInterface_GetEventsByName_Call

GetEventsByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockAppsInterface_Expecter) Impl

Impl is a helper method to define mock.On call

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_GetAppByName_Call

type MockAppsInterface_GetAppByName_Call struct {
	*mock.Call
}

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

func (*MockAppsInterface_GetAppByName_Call) Return

func (*MockAppsInterface_GetAppByName_Call) Run

func (*MockAppsInterface_GetAppByName_Call) RunAndReturn

type MockAppsInterface_GetAppDeploymentStatusByDeploymentId_Call

type MockAppsInterface_GetAppDeploymentStatusByDeploymentId_Call struct {
	*mock.Call
}

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

func (*MockAppsInterface_GetAppDeploymentStatusByDeploymentId_Call) Return

func (*MockAppsInterface_GetAppDeploymentStatusByDeploymentId_Call) Run

func (*MockAppsInterface_GetAppDeploymentStatusByDeploymentId_Call) RunAndReturn

type MockAppsInterface_GetAppDeploymentStatus_Call

type MockAppsInterface_GetAppDeploymentStatus_Call struct {
	*mock.Call
}

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

func (*MockAppsInterface_GetAppDeploymentStatus_Call) Return

func (*MockAppsInterface_GetAppDeploymentStatus_Call) Run

type MockAppsInterface_GetApp_Call

type MockAppsInterface_GetApp_Call struct {
	*mock.Call
}

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

func (*MockAppsInterface_GetApp_Call) Return

func (*MockAppsInterface_GetApp_Call) Run

func (*MockAppsInterface_GetApp_Call) RunAndReturn

type MockAppsInterface_GetApps_Call

type MockAppsInterface_GetApps_Call struct {
	*mock.Call
}

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

func (*MockAppsInterface_GetApps_Call) Return

func (*MockAppsInterface_GetApps_Call) Run

func (*MockAppsInterface_GetApps_Call) RunAndReturn

type MockAppsInterface_GetEventsByName_Call

type MockAppsInterface_GetEventsByName_Call struct {
	*mock.Call
}

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

func (*MockAppsInterface_GetEventsByName_Call) Return

func (*MockAppsInterface_GetEventsByName_Call) Run

func (*MockAppsInterface_GetEventsByName_Call) RunAndReturn

type MockAppsInterface_GetEvents_Call

type MockAppsInterface_GetEvents_Call struct {
	*mock.Call
}

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

func (*MockAppsInterface_GetEvents_Call) Return

func (*MockAppsInterface_GetEvents_Call) Run

type MockAppsInterface_Impl_Call

type MockAppsInterface_Impl_Call struct {
	*mock.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 (*MockAppsInterface_Impl_Call) Run

func (*MockAppsInterface_Impl_Call) RunAndReturn

type MockAppsInterface_WithImpl_Call

type MockAppsInterface_WithImpl_Call struct {
	*mock.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 (*MockAppsInterface_WithImpl_Call) Run

func (*MockAppsInterface_WithImpl_Call) RunAndReturn

type MockServingEndpointsInterface

type MockServingEndpointsInterface struct {
	mock.Mock
}

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

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

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

func (*MockServingEndpointsInterface) CreateAndWait

CreateAndWait provides a mock function with given fields: ctx, createServingEndpoint, options

func (*MockServingEndpointsInterface) Delete

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 (*MockServingEndpointsInterface) ExportMetrics

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

func (*MockServingEndpointsInterface) ExportMetricsByName

func (_m *MockServingEndpointsInterface) ExportMetricsByName(ctx context.Context, name string) error

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

func (*MockServingEndpointsInterface) Get

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

func (*MockServingEndpointsInterface) GetByName

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

func (*MockServingEndpointsInterface) GetPermissionLevels

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

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

Impl provides a mock function with given fields:

func (*MockServingEndpointsInterface) List

List provides a mock function with given fields: ctx

func (*MockServingEndpointsInterface) ListAll

ListAll provides a mock function with given fields: ctx

func (*MockServingEndpointsInterface) Logs

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

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

func (*MockServingEndpointsInterface) Put

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

func (*MockServingEndpointsInterface) Query

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

func (*MockServingEndpointsInterface) SetPermissions

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

func (*MockServingEndpointsInterface) UpdateConfig

UpdateConfig provides a mock function with given fields: ctx, endpointCoreConfigInput

func (*MockServingEndpointsInterface) UpdateConfigAndWait

UpdateConfigAndWait provides a mock function with given fields: ctx, endpointCoreConfigInput, options

func (*MockServingEndpointsInterface) UpdatePermissions

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

WithImpl provides a mock function with given fields: impl

type MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call

type MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call struct {
	*mock.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

type MockServingEndpointsInterface_BuildLogs_Call

type MockServingEndpointsInterface_BuildLogs_Call struct {
	*mock.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 (*MockServingEndpointsInterface_BuildLogs_Call) Run

type MockServingEndpointsInterface_CreateAndWait_Call

type MockServingEndpointsInterface_CreateAndWait_Call struct {
	*mock.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 (*MockServingEndpointsInterface_CreateAndWait_Call) Run

type MockServingEndpointsInterface_Create_Call

type MockServingEndpointsInterface_Create_Call struct {
	*mock.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

type MockServingEndpointsInterface_DeleteByName_Call

type MockServingEndpointsInterface_DeleteByName_Call struct {
	*mock.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 (*MockServingEndpointsInterface_DeleteByName_Call) Run

func (*MockServingEndpointsInterface_DeleteByName_Call) RunAndReturn

type MockServingEndpointsInterface_Delete_Call

type MockServingEndpointsInterface_Delete_Call struct {
	*mock.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 (*MockServingEndpointsInterface_Delete_Call) Run

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) 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

Impl is a helper method to define mock.On call

func (*MockServingEndpointsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockServingEndpointsInterface_Expecter) ListAll

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

WithImpl is a helper method to define mock.On call

  • impl serving.ServingEndpointsService

type MockServingEndpointsInterface_ExportMetricsByName_Call

type MockServingEndpointsInterface_ExportMetricsByName_Call struct {
	*mock.Call
}

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

func (*MockServingEndpointsInterface_ExportMetricsByName_Call) Return

func (*MockServingEndpointsInterface_ExportMetricsByName_Call) Run

func (*MockServingEndpointsInterface_ExportMetricsByName_Call) RunAndReturn

type MockServingEndpointsInterface_ExportMetrics_Call

type MockServingEndpointsInterface_ExportMetrics_Call struct {
	*mock.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 (*MockServingEndpointsInterface_ExportMetrics_Call) Run

func (*MockServingEndpointsInterface_ExportMetrics_Call) RunAndReturn

type MockServingEndpointsInterface_GetByName_Call

type MockServingEndpointsInterface_GetByName_Call struct {
	*mock.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 (*MockServingEndpointsInterface_GetByName_Call) Run

func (*MockServingEndpointsInterface_GetByName_Call) RunAndReturn

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

type MockServingEndpointsInterface_GetPermissionLevels_Call

type MockServingEndpointsInterface_GetPermissionLevels_Call struct {
	*mock.Call
}

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

type MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call

type MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call struct {
	*mock.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

type MockServingEndpointsInterface_GetPermissions_Call

type MockServingEndpointsInterface_GetPermissions_Call struct {
	*mock.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 (*MockServingEndpointsInterface_GetPermissions_Call) Run

type MockServingEndpointsInterface_Get_Call

type MockServingEndpointsInterface_Get_Call struct {
	*mock.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 (*MockServingEndpointsInterface_Get_Call) Run

type MockServingEndpointsInterface_Impl_Call

type MockServingEndpointsInterface_Impl_Call struct {
	*mock.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 (*MockServingEndpointsInterface_Impl_Call) Run

func (*MockServingEndpointsInterface_Impl_Call) RunAndReturn

type MockServingEndpointsInterface_ListAll_Call

type MockServingEndpointsInterface_ListAll_Call struct {
	*mock.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 (*MockServingEndpointsInterface_ListAll_Call) Run

func (*MockServingEndpointsInterface_ListAll_Call) RunAndReturn

type MockServingEndpointsInterface_List_Call

type MockServingEndpointsInterface_List_Call struct {
	*mock.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 (*MockServingEndpointsInterface_List_Call) Run

func (*MockServingEndpointsInterface_List_Call) RunAndReturn

type MockServingEndpointsInterface_LogsByNameAndServedModelName_Call

type MockServingEndpointsInterface_LogsByNameAndServedModelName_Call struct {
	*mock.Call
}

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

func (*MockServingEndpointsInterface_LogsByNameAndServedModelName_Call) Return

func (*MockServingEndpointsInterface_LogsByNameAndServedModelName_Call) Run

type MockServingEndpointsInterface_Logs_Call

type MockServingEndpointsInterface_Logs_Call struct {
	*mock.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 (*MockServingEndpointsInterface_Logs_Call) Run

type MockServingEndpointsInterface_Patch_Call

type MockServingEndpointsInterface_Patch_Call struct {
	*mock.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 (*MockServingEndpointsInterface_Patch_Call) Run

type MockServingEndpointsInterface_Put_Call

type MockServingEndpointsInterface_Put_Call struct {
	*mock.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 (*MockServingEndpointsInterface_Put_Call) Run

func (*MockServingEndpointsInterface_Put_Call) RunAndReturn

type MockServingEndpointsInterface_Query_Call

type MockServingEndpointsInterface_Query_Call struct {
	*mock.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 (*MockServingEndpointsInterface_Query_Call) Run

type MockServingEndpointsInterface_SetPermissions_Call

type MockServingEndpointsInterface_SetPermissions_Call struct {
	*mock.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 (*MockServingEndpointsInterface_SetPermissions_Call) Run

type MockServingEndpointsInterface_UpdateConfigAndWait_Call

type MockServingEndpointsInterface_UpdateConfigAndWait_Call struct {
	*mock.Call
}

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

func (*MockServingEndpointsInterface_UpdateConfigAndWait_Call) Return

func (*MockServingEndpointsInterface_UpdateConfigAndWait_Call) Run

type MockServingEndpointsInterface_UpdateConfig_Call

type MockServingEndpointsInterface_UpdateConfig_Call struct {
	*mock.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

type MockServingEndpointsInterface_UpdatePermissions_Call

type MockServingEndpointsInterface_UpdatePermissions_Call struct {
	*mock.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

type MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call

type MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call struct {
	*mock.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

type MockServingEndpointsInterface_WithImpl_Call

type MockServingEndpointsInterface_WithImpl_Call struct {
	*mock.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

Jump to

Keyboard shortcuts

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