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

serving

package
v0.81.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 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 MockServingEndpointsDataPlaneInterface added in v0.43.1

type MockServingEndpointsDataPlaneInterface struct {
	mock.Mock
}

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 (*MockServingEndpointsDataPlaneInterface) Query added in v0.43.1

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

type MockServingEndpointsDataPlaneInterface_Expecter added in v0.43.1

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

func (*MockServingEndpointsDataPlaneInterface_Expecter) Query added in v0.43.1

Query is a helper method to define mock.On call

  • ctx context.Context
  • request serving.QueryEndpointInput

type MockServingEndpointsDataPlaneInterface_Query_Call added in v0.43.1

type MockServingEndpointsDataPlaneInterface_Query_Call struct {
	*mock.Call
}

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 (*MockServingEndpointsDataPlaneInterface_Query_Call) Run added in v0.43.1

func (*MockServingEndpointsDataPlaneInterface_Query_Call) RunAndReturn added in v0.43.1

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) CreateProvisionedThroughputEndpoint added in v0.69.0

CreateProvisionedThroughputEndpoint provides a mock function with given fields: ctx, createPtEndpointRequest

func (*MockServingEndpointsInterface) CreateProvisionedThroughputEndpointAndWait added in v0.69.0

func (_m *MockServingEndpointsInterface) CreateProvisionedThroughputEndpointAndWait(ctx context.Context, createPtEndpointRequest serving.CreatePtEndpointRequest, options ...retries.Option[serving.ServingEndpointDetailed]) (*serving.ServingEndpointDetailed, error)

CreateProvisionedThroughputEndpointAndWait provides a mock function with given fields: ctx, createPtEndpointRequest, 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

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) GetOpenApi added in v0.39.0

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

func (*MockServingEndpointsInterface) GetOpenApiByName added in v0.39.0

GetOpenApiByName 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) HttpRequest added in v0.56.0

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

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) PutAiGateway added in v0.47.0

PutAiGateway 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) UpdateProvisionedThroughputEndpointConfig added in v0.69.0

func (_m *MockServingEndpointsInterface) UpdateProvisionedThroughputEndpointConfig(ctx context.Context, updateProvisionedThroughputEndpointConfigRequest serving.UpdateProvisionedThroughputEndpointConfigRequest) (*serving.WaitGetServingEndpointNotUpdating[serving.ServingEndpointDetailed], error)

UpdateProvisionedThroughputEndpointConfig provides a mock function with given fields: ctx, updateProvisionedThroughputEndpointConfigRequest

func (*MockServingEndpointsInterface) UpdateProvisionedThroughputEndpointConfigAndWait added in v0.69.0

func (_m *MockServingEndpointsInterface) UpdateProvisionedThroughputEndpointConfigAndWait(ctx context.Context, updateProvisionedThroughputEndpointConfigRequest serving.UpdateProvisionedThroughputEndpointConfigRequest, options ...retries.Option[serving.ServingEndpointDetailed]) (*serving.ServingEndpointDetailed, error)

UpdateProvisionedThroughputEndpointConfigAndWait provides a mock function with given fields: ctx, updateProvisionedThroughputEndpointConfigRequest, options

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

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_CreateProvisionedThroughputEndpointAndWait_Call added in v0.69.0

type MockServingEndpointsInterface_CreateProvisionedThroughputEndpointAndWait_Call struct {
	*mock.Call
}

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

func (*MockServingEndpointsInterface_CreateProvisionedThroughputEndpointAndWait_Call) Return added in v0.69.0

func (*MockServingEndpointsInterface_CreateProvisionedThroughputEndpointAndWait_Call) Run added in v0.69.0

type MockServingEndpointsInterface_CreateProvisionedThroughputEndpoint_Call added in v0.69.0

type MockServingEndpointsInterface_CreateProvisionedThroughputEndpoint_Call struct {
	*mock.Call
}

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

func (*MockServingEndpointsInterface_CreateProvisionedThroughputEndpoint_Call) Run added in v0.69.0

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) CreateProvisionedThroughputEndpoint added in v0.69.0

func (_e *MockServingEndpointsInterface_Expecter) CreateProvisionedThroughputEndpoint(ctx interface{}, createPtEndpointRequest interface{}) *MockServingEndpointsInterface_CreateProvisionedThroughputEndpoint_Call

CreateProvisionedThroughputEndpoint is a helper method to define mock.On call

  • ctx context.Context
  • createPtEndpointRequest serving.CreatePtEndpointRequest

func (*MockServingEndpointsInterface_Expecter) CreateProvisionedThroughputEndpointAndWait added in v0.69.0

func (_e *MockServingEndpointsInterface_Expecter) CreateProvisionedThroughputEndpointAndWait(ctx interface{}, createPtEndpointRequest interface{}, options ...interface{}) *MockServingEndpointsInterface_CreateProvisionedThroughputEndpointAndWait_Call

CreateProvisionedThroughputEndpointAndWait is a helper method to define mock.On call

  • ctx context.Context
  • createPtEndpointRequest serving.CreatePtEndpointRequest
  • 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) HttpRequest added in v0.56.0

func (_e *MockServingEndpointsInterface_Expecter) HttpRequest(ctx interface{}, request interface{}) *MockServingEndpointsInterface_HttpRequest_Call

HttpRequest is a helper method to define mock.On call

  • ctx context.Context
  • request serving.ExternalFunctionRequest

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) PutAiGateway added in v0.47.0

func (_e *MockServingEndpointsInterface_Expecter) PutAiGateway(ctx interface{}, request interface{}) *MockServingEndpointsInterface_PutAiGateway_Call

PutAiGateway is a helper method to define mock.On call

  • ctx context.Context
  • request serving.PutAiGatewayRequest

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) UpdateProvisionedThroughputEndpointConfig added in v0.69.0

func (_e *MockServingEndpointsInterface_Expecter) UpdateProvisionedThroughputEndpointConfig(ctx interface{}, updateProvisionedThroughputEndpointConfigRequest interface{}) *MockServingEndpointsInterface_UpdateProvisionedThroughputEndpointConfig_Call

UpdateProvisionedThroughputEndpointConfig is a helper method to define mock.On call

  • ctx context.Context
  • updateProvisionedThroughputEndpointConfigRequest serving.UpdateProvisionedThroughputEndpointConfigRequest

func (*MockServingEndpointsInterface_Expecter) UpdateProvisionedThroughputEndpointConfigAndWait added in v0.69.0

func (_e *MockServingEndpointsInterface_Expecter) UpdateProvisionedThroughputEndpointConfigAndWait(ctx interface{}, updateProvisionedThroughputEndpointConfigRequest interface{}, options ...interface{}) *MockServingEndpointsInterface_UpdateProvisionedThroughputEndpointConfigAndWait_Call

UpdateProvisionedThroughputEndpointConfigAndWait is a helper method to define mock.On call

  • ctx context.Context
  • updateProvisionedThroughputEndpointConfigRequest serving.UpdateProvisionedThroughputEndpointConfigRequest
  • options ...retries.Option[serving.ServingEndpointDetailed]

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)

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

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

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_GetOpenApiByName_Call added in v0.39.0

type MockServingEndpointsInterface_GetOpenApiByName_Call struct {
	*mock.Call
}

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

func (*MockServingEndpointsInterface_GetOpenApiByName_Call) Return added in v0.39.0

func (*MockServingEndpointsInterface_GetOpenApiByName_Call) Run added in v0.39.0

func (*MockServingEndpointsInterface_GetOpenApiByName_Call) RunAndReturn added in v0.39.0

type MockServingEndpointsInterface_GetOpenApi_Call added in v0.39.0

type MockServingEndpointsInterface_GetOpenApi_Call struct {
	*mock.Call
}

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 (*MockServingEndpointsInterface_GetOpenApi_Call) Run added in v0.39.0

func (*MockServingEndpointsInterface_GetOpenApi_Call) RunAndReturn added in v0.39.0

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_HttpRequest_Call added in v0.56.0

type MockServingEndpointsInterface_HttpRequest_Call struct {
	*mock.Call
}

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

func (*MockServingEndpointsInterface_HttpRequest_Call) Return added in v0.56.0

func (*MockServingEndpointsInterface_HttpRequest_Call) Run added in v0.56.0

func (*MockServingEndpointsInterface_HttpRequest_Call) RunAndReturn added in v0.56.0

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_PutAiGateway_Call added in v0.47.0

type MockServingEndpointsInterface_PutAiGateway_Call struct {
	*mock.Call
}

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

func (*MockServingEndpointsInterface_PutAiGateway_Call) Return added in v0.47.0

func (*MockServingEndpointsInterface_PutAiGateway_Call) Run added in v0.47.0

func (*MockServingEndpointsInterface_PutAiGateway_Call) RunAndReturn added in v0.47.0

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_UpdateProvisionedThroughputEndpointConfigAndWait_Call added in v0.69.0

type MockServingEndpointsInterface_UpdateProvisionedThroughputEndpointConfigAndWait_Call struct {
	*mock.Call
}

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

func (*MockServingEndpointsInterface_UpdateProvisionedThroughputEndpointConfigAndWait_Call) Return added in v0.69.0

func (*MockServingEndpointsInterface_UpdateProvisionedThroughputEndpointConfigAndWait_Call) Run added in v0.69.0

type MockServingEndpointsInterface_UpdateProvisionedThroughputEndpointConfig_Call added in v0.69.0

type MockServingEndpointsInterface_UpdateProvisionedThroughputEndpointConfig_Call struct {
	*mock.Call
}

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

func (*MockServingEndpointsInterface_UpdateProvisionedThroughputEndpointConfig_Call) Run added in v0.69.0

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

Jump to

Keyboard shortcuts

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