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

serving

package
v0.190.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 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 for the type MockServingEndpointsDataPlaneInterface

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 for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) BuildLogsByNameAndServedModelName

func (_mock *MockServingEndpointsInterface) BuildLogsByNameAndServedModelName(ctx context.Context, name string, servedModelName string) (*serving.BuildLogsResponse, error)

BuildLogsByNameAndServedModelName provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) Create

Create provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) CreateAndWait

CreateAndWait provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) CreateProvisionedThroughputEndpoint added in v0.69.0

CreateProvisionedThroughputEndpoint provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) CreateProvisionedThroughputEndpointAndWait added in v0.69.0

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

CreateProvisionedThroughputEndpointAndWait provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) Delete

Delete provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) DeleteByName

func (_mock *MockServingEndpointsInterface) DeleteByName(ctx context.Context, name string) error

DeleteByName provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) EXPECT

func (*MockServingEndpointsInterface) ExportMetrics

ExportMetrics provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) ExportMetricsByName

func (_mock *MockServingEndpointsInterface) ExportMetricsByName(ctx context.Context, name string) (*serving.ExportMetricsResponse, error)

ExportMetricsByName provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) Get

Get provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) GetByName

GetByName provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) GetOpenApi added in v0.39.0

GetOpenApi provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) GetOpenApiByName added in v0.39.0

func (_mock *MockServingEndpointsInterface) GetOpenApiByName(ctx context.Context, name string) (*serving.GetOpenApiResponse, error)

GetOpenApiByName provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) GetPermissionLevels

GetPermissionLevels provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) GetPermissionLevelsByServingEndpointId

func (_mock *MockServingEndpointsInterface) GetPermissionLevelsByServingEndpointId(ctx context.Context, servingEndpointId string) (*serving.GetServingEndpointPermissionLevelsResponse, error)

GetPermissionLevelsByServingEndpointId provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) GetPermissions

GetPermissions provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) GetPermissionsByServingEndpointId

func (_mock *MockServingEndpointsInterface) GetPermissionsByServingEndpointId(ctx context.Context, servingEndpointId string) (*serving.ServingEndpointPermissions, error)

GetPermissionsByServingEndpointId provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) HttpRequest added in v0.56.0

HttpRequest provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) List

List provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) ListAll

ListAll provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) Logs

Logs provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) LogsByNameAndServedModelName

func (_mock *MockServingEndpointsInterface) LogsByNameAndServedModelName(ctx context.Context, name string, servedModelName string) (*serving.ServerLogsResponse, error)

LogsByNameAndServedModelName provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) Patch

Patch provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) PatchTelemetryConfig added in v0.165.0

PatchTelemetryConfig provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) Put

Put provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) PutAiGateway added in v0.47.0

PutAiGateway provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) Query

Query provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) SetPermissions

SetPermissions provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) UpdateConfig

UpdateConfig provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) UpdateConfigAndWait

UpdateConfigAndWait provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) UpdateNotifications added in v0.86.0

UpdateNotifications provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) UpdatePermissions

UpdatePermissions provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) UpdateProvisionedThroughputEndpointConfig added in v0.69.0

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

UpdateProvisionedThroughputEndpointConfig provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) UpdateProvisionedThroughputEndpointConfigAndWait added in v0.69.0

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

UpdateProvisionedThroughputEndpointConfigAndWait provides a mock function for the type MockServingEndpointsInterface

func (*MockServingEndpointsInterface) WaitGetServingEndpointNotUpdating

func (_mock *MockServingEndpointsInterface) WaitGetServingEndpointNotUpdating(ctx context.Context, name string, timeout time.Duration, callback func(*serving.ServingEndpointDetailed)) (*serving.ServingEndpointDetailed, error)

WaitGetServingEndpointNotUpdating provides a mock function for the type MockServingEndpointsInterface

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

func (*MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call) Run

func (*MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call) RunAndReturn

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

func (*MockServingEndpointsInterface_BuildLogs_Call) RunAndReturn

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

func (*MockServingEndpointsInterface_CreateProvisionedThroughputEndpointAndWait_Call) RunAndReturn 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) Return added in v0.69.0

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

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

func (*MockServingEndpointsInterface_Delete_Call) RunAndReturn

type MockServingEndpointsInterface_Expecter

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

func (*MockServingEndpointsInterface_Expecter) BuildLogs

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 any, name any, servedModelName any) *MockServingEndpointsInterface_BuildLogsByNameAndServedModelName_Call

BuildLogsByNameAndServedModelName is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • servedModelName string

func (*MockServingEndpointsInterface_Expecter) Create

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 any, createServingEndpoint any, options ...any) *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 any, createPtEndpointRequest any) *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 any, createPtEndpointRequest any, options ...any) *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

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request serving.DeleteServingEndpointRequest

func (*MockServingEndpointsInterface_Expecter) DeleteByName

DeleteByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockServingEndpointsInterface_Expecter) ExportMetrics

ExportMetrics is a helper method to define mock.On call

  • ctx context.Context
  • request serving.ExportMetricsRequest

func (*MockServingEndpointsInterface_Expecter) ExportMetricsByName

ExportMetricsByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockServingEndpointsInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request serving.GetServingEndpointRequest

func (*MockServingEndpointsInterface_Expecter) GetByName

GetByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockServingEndpointsInterface_Expecter) GetOpenApi added in v0.39.0

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

GetOpenApiByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockServingEndpointsInterface_Expecter) GetPermissionLevels

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 any, servingEndpointId any) *MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call

GetPermissionLevelsByServingEndpointId is a helper method to define mock.On call

  • ctx context.Context
  • servingEndpointId string

func (*MockServingEndpointsInterface_Expecter) GetPermissions

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 any, servingEndpointId any) *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

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

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 any, name any, servedModelName any) *MockServingEndpointsInterface_LogsByNameAndServedModelName_Call

LogsByNameAndServedModelName is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • servedModelName string

func (*MockServingEndpointsInterface_Expecter) Patch

Patch is a helper method to define mock.On call

  • ctx context.Context
  • request serving.PatchServingEndpointTags

func (*MockServingEndpointsInterface_Expecter) PatchTelemetryConfig added in v0.165.0

PatchTelemetryConfig is a helper method to define mock.On call

  • ctx context.Context
  • request serving.PatchTelemetryConfigRequest

func (*MockServingEndpointsInterface_Expecter) Put

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

PutAiGateway is a helper method to define mock.On call

  • ctx context.Context
  • request serving.PutAiGatewayRequest

func (*MockServingEndpointsInterface_Expecter) Query

Query is a helper method to define mock.On call

  • ctx context.Context
  • request serving.QueryEndpointInput

func (*MockServingEndpointsInterface_Expecter) SetPermissions

SetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request serving.ServingEndpointPermissionsRequest

func (*MockServingEndpointsInterface_Expecter) UpdateConfig

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 any, endpointCoreConfigInput any, options ...any) *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) UpdateNotifications added in v0.86.0

UpdateNotifications is a helper method to define mock.On call

  • ctx context.Context
  • request serving.UpdateInferenceEndpointNotifications

func (*MockServingEndpointsInterface_Expecter) UpdatePermissions

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 any, updateProvisionedThroughputEndpointConfigRequest any) *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 any, updateProvisionedThroughputEndpointConfigRequest any, options ...any) *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 any, name any, timeout any, callback any) *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

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

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

func (*MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call) Run

func (*MockServingEndpointsInterface_GetPermissionLevelsByServingEndpointId_Call) RunAndReturn

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'

func (*MockServingEndpointsInterface_GetPermissionLevels_Call) Return

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

func (*MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call) Run

func (*MockServingEndpointsInterface_GetPermissionsByServingEndpointId_Call) RunAndReturn

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

func (*MockServingEndpointsInterface_LogsByNameAndServedModelName_Call) RunAndReturn

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

func (*MockServingEndpointsInterface_Logs_Call) RunAndReturn

type MockServingEndpointsInterface_PatchTelemetryConfig_Call added in v0.165.0

type MockServingEndpointsInterface_PatchTelemetryConfig_Call struct {
	*mock.Call
}

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

func (*MockServingEndpointsInterface_PatchTelemetryConfig_Call) Return added in v0.165.0

func (*MockServingEndpointsInterface_PatchTelemetryConfig_Call) Run added in v0.165.0

func (*MockServingEndpointsInterface_PatchTelemetryConfig_Call) RunAndReturn added in v0.165.0

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

func (*MockServingEndpointsInterface_Patch_Call) RunAndReturn

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

func (*MockServingEndpointsInterface_Query_Call) RunAndReturn

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

func (*MockServingEndpointsInterface_UpdateConfig_Call) Run

type MockServingEndpointsInterface_UpdateNotifications_Call added in v0.86.0

type MockServingEndpointsInterface_UpdateNotifications_Call struct {
	*mock.Call
}

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

func (*MockServingEndpointsInterface_UpdateNotifications_Call) Return added in v0.86.0

func (*MockServingEndpointsInterface_UpdateNotifications_Call) Run added in v0.86.0

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

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

func (*MockServingEndpointsInterface_UpdateProvisionedThroughputEndpointConfigAndWait_Call) RunAndReturn 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) Return added in v0.69.0

func (*MockServingEndpointsInterface_UpdateProvisionedThroughputEndpointConfig_Call) Run added in v0.69.0

func (*MockServingEndpointsInterface_UpdateProvisionedThroughputEndpointConfig_Call) RunAndReturn 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) Return

func (*MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call) Run

func (*MockServingEndpointsInterface_WaitGetServingEndpointNotUpdating_Call) RunAndReturn

Jump to

Keyboard shortcuts

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