Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemsServer ¶
type ItemsServer struct { // BeginCreateMLModel is the fake for method ItemsClient.BeginCreateMLModel // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted BeginCreateMLModel func(ctx context.Context, workspaceID string, createMLModelRequest mlmodel.CreateMLModelRequest, options *mlmodel.ItemsClientBeginCreateMLModelOptions) (resp azfake.PollerResponder[mlmodel.ItemsClientCreateMLModelResponse], errResp azfake.ErrorResponder) // DeleteMLModel is the fake for method ItemsClient.DeleteMLModel // HTTP status codes to indicate success: http.StatusOK DeleteMLModel func(ctx context.Context, workspaceID string, mlModelID string, options *mlmodel.ItemsClientDeleteMLModelOptions) (resp azfake.Responder[mlmodel.ItemsClientDeleteMLModelResponse], errResp azfake.ErrorResponder) // GetMLModel is the fake for method ItemsClient.GetMLModel // HTTP status codes to indicate success: http.StatusOK GetMLModel func(ctx context.Context, workspaceID string, mlModelID string, options *mlmodel.ItemsClientGetMLModelOptions) (resp azfake.Responder[mlmodel.ItemsClientGetMLModelResponse], errResp azfake.ErrorResponder) // NewListMLModelsPager is the fake for method ItemsClient.NewListMLModelsPager // HTTP status codes to indicate success: http.StatusOK NewListMLModelsPager func(workspaceID string, options *mlmodel.ItemsClientListMLModelsOptions) (resp azfake.PagerResponder[mlmodel.ItemsClientListMLModelsResponse]) // UpdateMLModel is the fake for method ItemsClient.UpdateMLModel // HTTP status codes to indicate success: http.StatusOK UpdateMLModel func(ctx context.Context, workspaceID string, mlModelID string, updateMLModelRequest mlmodel.UpdateMLModelRequest, options *mlmodel.ItemsClientUpdateMLModelOptions) (resp azfake.Responder[mlmodel.ItemsClientUpdateMLModelResponse], errResp azfake.ErrorResponder) }
ItemsServer is a fake server for instances of the mlmodel.ItemsClient type.
type ItemsServerTransport ¶
type ItemsServerTransport struct {
// contains filtered or unexported fields
}
ItemsServerTransport connects instances of mlmodel.ItemsClient to instances of ItemsServer. Don't use this type directly, use NewItemsServerTransport instead.
func NewItemsServerTransport ¶
func NewItemsServerTransport(srv *ItemsServer) *ItemsServerTransport
NewItemsServerTransport creates a new instance of ItemsServerTransport with the provided implementation. The returned ItemsServerTransport instance is connected to an instance of mlmodel.ItemsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct {
ItemsServer ItemsServer
}
ServerFactory is a fake server for instances of the mlmodel.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of mlmodel.ClientFactory to instances of ServerFactory. Don't use this type directly, use NewServerFactoryTransport instead.
func NewServerFactoryTransport ¶
func NewServerFactoryTransport(srv *ServerFactory) *ServerFactoryTransport
NewServerFactoryTransport creates a new instance of ServerFactoryTransport with the provided implementation. The returned ServerFactoryTransport instance is connected to an instance of mlmodel.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.