mockai

package
v0.0.0-...-6cd82ae Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDeleteOnlineDeployment

func RegisterDeleteOnlineDeployment(
	mockContext *mocks.MockContext,
	workspaceName string,
	endpointName string,
	deploymentName string,
) *http.Request

func RegisterGetEnvironment

func RegisterGetEnvironment(
	mockContext *mocks.MockContext,
	workspaceName string,
	environmentName string,
	statusCode int,
) *http.Request

func RegisterGetEnvironmentVersion

func RegisterGetEnvironmentVersion(
	mockContext *mocks.MockContext,
	workspaceName string,
	environmentName string,
	version string,
) *http.Request

func RegisterGetModel

func RegisterGetModel(mockContext *mocks.MockContext, workspaceName string, modelName string, statusCode int) *http.Request

func RegisterGetModelVersion

func RegisterGetModelVersion(
	mockContext *mocks.MockContext,
	workspaceName string,
	modelName string,
	version string,
) *http.Request

func RegisterGetOnlineDeployment

func RegisterGetOnlineDeployment(
	mockContext *mocks.MockContext,
	workspaceName string,
	endpointName string,
	deploymentName string,
	provisioningState armmachinelearning.DeploymentProvisioningState,
) *http.Request

func RegisterGetOnlineEndpoint

func RegisterGetOnlineEndpoint(
	mockContext *mocks.MockContext,
	workspaceName string,
	endpointName string,
	statusCode int,
	endpoint *armmachinelearning.OnlineEndpoint,
) *http.Request

func RegisterGetWorkspaceMock

func RegisterGetWorkspaceMock(mockContext *mocks.MockContext, workspaceName string) *http.Request

func RegisterListOnlineDeployment

func RegisterListOnlineDeployment(
	mockContext *mocks.MockContext,
	workspaceName string,
	endpointName string,
	deploymentNames []string,
) *http.Request

func RegisterUpdateOnlineEndpoint

func RegisterUpdateOnlineEndpoint(
	mockContext *mocks.MockContext,
	workspaceName string,
	endpointName string,
	trafficMap map[string]*int32,
) *http.Request

Types

This section is empty.

Jump to

Keyboard shortcuts

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