Documentation ¶
Index ¶
- type FilesServer
- type FilesServerTransport
- type OperationsServer
- type OperationsServerTransport
- type ProjectsServer
- type ProjectsServerTransport
- type ResourceSKUsServer
- type ResourceSKUsServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type ServiceTasksServer
- type ServiceTasksServerTransport
- type ServicesServer
- type ServicesServerTransport
- type TasksServer
- type TasksServerTransport
- type UsagesServer
- type UsagesServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesServer ¶
type FilesServer struct { // CreateOrUpdate is the fake for method FilesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, groupName string, serviceName string, projectName string, fileName string, parameters armdatamigration.ProjectFile, options *armdatamigration.FilesClientCreateOrUpdateOptions) (resp azfake.Responder[armdatamigration.FilesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method FilesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, groupName string, serviceName string, projectName string, fileName string, options *armdatamigration.FilesClientDeleteOptions) (resp azfake.Responder[armdatamigration.FilesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method FilesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, groupName string, serviceName string, projectName string, fileName string, options *armdatamigration.FilesClientGetOptions) (resp azfake.Responder[armdatamigration.FilesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method FilesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(groupName string, serviceName string, projectName string, options *armdatamigration.FilesClientListOptions) (resp azfake.PagerResponder[armdatamigration.FilesClientListResponse]) // Read is the fake for method FilesClient.Read // HTTP status codes to indicate success: http.StatusOK Read func(ctx context.Context, groupName string, serviceName string, projectName string, fileName string, options *armdatamigration.FilesClientReadOptions) (resp azfake.Responder[armdatamigration.FilesClientReadResponse], errResp azfake.ErrorResponder) // ReadWrite is the fake for method FilesClient.ReadWrite // HTTP status codes to indicate success: http.StatusOK ReadWrite func(ctx context.Context, groupName string, serviceName string, projectName string, fileName string, options *armdatamigration.FilesClientReadWriteOptions) (resp azfake.Responder[armdatamigration.FilesClientReadWriteResponse], errResp azfake.ErrorResponder) // Update is the fake for method FilesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, groupName string, serviceName string, projectName string, fileName string, parameters armdatamigration.ProjectFile, options *armdatamigration.FilesClientUpdateOptions) (resp azfake.Responder[armdatamigration.FilesClientUpdateResponse], errResp azfake.ErrorResponder) }
FilesServer is a fake server for instances of the armdatamigration.FilesClient type.
type FilesServerTransport ¶
type FilesServerTransport struct {
// contains filtered or unexported fields
}
FilesServerTransport connects instances of armdatamigration.FilesClient to instances of FilesServer. Don't use this type directly, use NewFilesServerTransport instead.
func NewFilesServerTransport ¶
func NewFilesServerTransport(srv *FilesServer) *FilesServerTransport
NewFilesServerTransport creates a new instance of FilesServerTransport with the provided implementation. The returned FilesServerTransport instance is connected to an instance of armdatamigration.FilesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OperationsServer ¶
type OperationsServer struct { // NewListPager is the fake for method OperationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armdatamigration.OperationsClientListOptions) (resp azfake.PagerResponder[armdatamigration.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armdatamigration.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armdatamigration.OperationsClient to instances of OperationsServer. Don't use this type directly, use NewOperationsServerTransport instead.
func NewOperationsServerTransport ¶
func NewOperationsServerTransport(srv *OperationsServer) *OperationsServerTransport
NewOperationsServerTransport creates a new instance of OperationsServerTransport with the provided implementation. The returned OperationsServerTransport instance is connected to an instance of armdatamigration.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ProjectsServer ¶
type ProjectsServer struct { // CreateOrUpdate is the fake for method ProjectsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, groupName string, serviceName string, projectName string, parameters armdatamigration.Project, options *armdatamigration.ProjectsClientCreateOrUpdateOptions) (resp azfake.Responder[armdatamigration.ProjectsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ProjectsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, groupName string, serviceName string, projectName string, options *armdatamigration.ProjectsClientDeleteOptions) (resp azfake.Responder[armdatamigration.ProjectsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ProjectsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, groupName string, serviceName string, projectName string, options *armdatamigration.ProjectsClientGetOptions) (resp azfake.Responder[armdatamigration.ProjectsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ProjectsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(groupName string, serviceName string, options *armdatamigration.ProjectsClientListOptions) (resp azfake.PagerResponder[armdatamigration.ProjectsClientListResponse]) // Update is the fake for method ProjectsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, groupName string, serviceName string, projectName string, parameters armdatamigration.Project, options *armdatamigration.ProjectsClientUpdateOptions) (resp azfake.Responder[armdatamigration.ProjectsClientUpdateResponse], errResp azfake.ErrorResponder) }
ProjectsServer is a fake server for instances of the armdatamigration.ProjectsClient type.
type ProjectsServerTransport ¶
type ProjectsServerTransport struct {
// contains filtered or unexported fields
}
ProjectsServerTransport connects instances of armdatamigration.ProjectsClient to instances of ProjectsServer. Don't use this type directly, use NewProjectsServerTransport instead.
func NewProjectsServerTransport ¶
func NewProjectsServerTransport(srv *ProjectsServer) *ProjectsServerTransport
NewProjectsServerTransport creates a new instance of ProjectsServerTransport with the provided implementation. The returned ProjectsServerTransport instance is connected to an instance of armdatamigration.ProjectsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ResourceSKUsServer ¶
type ResourceSKUsServer struct { // NewListSKUsPager is the fake for method ResourceSKUsClient.NewListSKUsPager // HTTP status codes to indicate success: http.StatusOK NewListSKUsPager func(options *armdatamigration.ResourceSKUsClientListSKUsOptions) (resp azfake.PagerResponder[armdatamigration.ResourceSKUsClientListSKUsResponse]) }
ResourceSKUsServer is a fake server for instances of the armdatamigration.ResourceSKUsClient type.
type ResourceSKUsServerTransport ¶
type ResourceSKUsServerTransport struct {
// contains filtered or unexported fields
}
ResourceSKUsServerTransport connects instances of armdatamigration.ResourceSKUsClient to instances of ResourceSKUsServer. Don't use this type directly, use NewResourceSKUsServerTransport instead.
func NewResourceSKUsServerTransport ¶
func NewResourceSKUsServerTransport(srv *ResourceSKUsServer) *ResourceSKUsServerTransport
NewResourceSKUsServerTransport creates a new instance of ResourceSKUsServerTransport with the provided implementation. The returned ResourceSKUsServerTransport instance is connected to an instance of armdatamigration.ResourceSKUsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { FilesServer FilesServer OperationsServer OperationsServer ProjectsServer ProjectsServer ResourceSKUsServer ResourceSKUsServer ServiceTasksServer ServiceTasksServer ServicesServer ServicesServer TasksServer TasksServer UsagesServer UsagesServer }
ServerFactory is a fake server for instances of the armdatamigration.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armdatamigration.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 armdatamigration.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServiceTasksServer ¶
type ServiceTasksServer struct { // Cancel is the fake for method ServiceTasksClient.Cancel // HTTP status codes to indicate success: http.StatusOK Cancel func(ctx context.Context, groupName string, serviceName string, taskName string, options *armdatamigration.ServiceTasksClientCancelOptions) (resp azfake.Responder[armdatamigration.ServiceTasksClientCancelResponse], errResp azfake.ErrorResponder) // CreateOrUpdate is the fake for method ServiceTasksClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, groupName string, serviceName string, taskName string, parameters armdatamigration.ProjectTask, options *armdatamigration.ServiceTasksClientCreateOrUpdateOptions) (resp azfake.Responder[armdatamigration.ServiceTasksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ServiceTasksClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, groupName string, serviceName string, taskName string, options *armdatamigration.ServiceTasksClientDeleteOptions) (resp azfake.Responder[armdatamigration.ServiceTasksClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ServiceTasksClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, groupName string, serviceName string, taskName string, options *armdatamigration.ServiceTasksClientGetOptions) (resp azfake.Responder[armdatamigration.ServiceTasksClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ServiceTasksClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(groupName string, serviceName string, options *armdatamigration.ServiceTasksClientListOptions) (resp azfake.PagerResponder[armdatamigration.ServiceTasksClientListResponse]) // Update is the fake for method ServiceTasksClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, groupName string, serviceName string, taskName string, parameters armdatamigration.ProjectTask, options *armdatamigration.ServiceTasksClientUpdateOptions) (resp azfake.Responder[armdatamigration.ServiceTasksClientUpdateResponse], errResp azfake.ErrorResponder) }
ServiceTasksServer is a fake server for instances of the armdatamigration.ServiceTasksClient type.
type ServiceTasksServerTransport ¶
type ServiceTasksServerTransport struct {
// contains filtered or unexported fields
}
ServiceTasksServerTransport connects instances of armdatamigration.ServiceTasksClient to instances of ServiceTasksServer. Don't use this type directly, use NewServiceTasksServerTransport instead.
func NewServiceTasksServerTransport ¶
func NewServiceTasksServerTransport(srv *ServiceTasksServer) *ServiceTasksServerTransport
NewServiceTasksServerTransport creates a new instance of ServiceTasksServerTransport with the provided implementation. The returned ServiceTasksServerTransport instance is connected to an instance of armdatamigration.ServiceTasksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServicesServer ¶
type ServicesServer struct { // CheckChildrenNameAvailability is the fake for method ServicesClient.CheckChildrenNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckChildrenNameAvailability func(ctx context.Context, groupName string, serviceName string, parameters armdatamigration.NameAvailabilityRequest, options *armdatamigration.ServicesClientCheckChildrenNameAvailabilityOptions) (resp azfake.Responder[armdatamigration.ServicesClientCheckChildrenNameAvailabilityResponse], errResp azfake.ErrorResponder) // CheckNameAvailability is the fake for method ServicesClient.CheckNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckNameAvailability func(ctx context.Context, location string, parameters armdatamigration.NameAvailabilityRequest, options *armdatamigration.ServicesClientCheckNameAvailabilityOptions) (resp azfake.Responder[armdatamigration.ServicesClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) // CheckStatus is the fake for method ServicesClient.CheckStatus // HTTP status codes to indicate success: http.StatusOK CheckStatus func(ctx context.Context, groupName string, serviceName string, options *armdatamigration.ServicesClientCheckStatusOptions) (resp azfake.Responder[armdatamigration.ServicesClientCheckStatusResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdate is the fake for method ServicesClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted BeginCreateOrUpdate func(ctx context.Context, groupName string, serviceName string, parameters armdatamigration.Service, options *armdatamigration.ServicesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdatamigration.ServicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method ServicesClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, groupName string, serviceName string, options *armdatamigration.ServicesClientBeginDeleteOptions) (resp azfake.PollerResponder[armdatamigration.ServicesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ServicesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, groupName string, serviceName string, options *armdatamigration.ServicesClientGetOptions) (resp azfake.Responder[armdatamigration.ServicesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ServicesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armdatamigration.ServicesClientListOptions) (resp azfake.PagerResponder[armdatamigration.ServicesClientListResponse]) // NewListByResourceGroupPager is the fake for method ServicesClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(groupName string, options *armdatamigration.ServicesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armdatamigration.ServicesClientListByResourceGroupResponse]) // NewListSKUsPager is the fake for method ServicesClient.NewListSKUsPager // HTTP status codes to indicate success: http.StatusOK NewListSKUsPager func(groupName string, serviceName string, options *armdatamigration.ServicesClientListSKUsOptions) (resp azfake.PagerResponder[armdatamigration.ServicesClientListSKUsResponse]) // BeginStart is the fake for method ServicesClient.BeginStart // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginStart func(ctx context.Context, groupName string, serviceName string, options *armdatamigration.ServicesClientBeginStartOptions) (resp azfake.PollerResponder[armdatamigration.ServicesClientStartResponse], errResp azfake.ErrorResponder) // BeginStop is the fake for method ServicesClient.BeginStop // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginStop func(ctx context.Context, groupName string, serviceName string, options *armdatamigration.ServicesClientBeginStopOptions) (resp azfake.PollerResponder[armdatamigration.ServicesClientStopResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method ServicesClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, groupName string, serviceName string, parameters armdatamigration.Service, options *armdatamigration.ServicesClientBeginUpdateOptions) (resp azfake.PollerResponder[armdatamigration.ServicesClientUpdateResponse], errResp azfake.ErrorResponder) }
ServicesServer is a fake server for instances of the armdatamigration.ServicesClient type.
type ServicesServerTransport ¶
type ServicesServerTransport struct {
// contains filtered or unexported fields
}
ServicesServerTransport connects instances of armdatamigration.ServicesClient to instances of ServicesServer. Don't use this type directly, use NewServicesServerTransport instead.
func NewServicesServerTransport ¶
func NewServicesServerTransport(srv *ServicesServer) *ServicesServerTransport
NewServicesServerTransport creates a new instance of ServicesServerTransport with the provided implementation. The returned ServicesServerTransport instance is connected to an instance of armdatamigration.ServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type TasksServer ¶
type TasksServer struct { // Cancel is the fake for method TasksClient.Cancel // HTTP status codes to indicate success: http.StatusOK Cancel func(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, options *armdatamigration.TasksClientCancelOptions) (resp azfake.Responder[armdatamigration.TasksClientCancelResponse], errResp azfake.ErrorResponder) // Command is the fake for method TasksClient.Command // HTTP status codes to indicate success: http.StatusOK Command func(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, parameters armdatamigration.CommandPropertiesClassification, options *armdatamigration.TasksClientCommandOptions) (resp azfake.Responder[armdatamigration.TasksClientCommandResponse], errResp azfake.ErrorResponder) // CreateOrUpdate is the fake for method TasksClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, parameters armdatamigration.ProjectTask, options *armdatamigration.TasksClientCreateOrUpdateOptions) (resp azfake.Responder[armdatamigration.TasksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method TasksClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, options *armdatamigration.TasksClientDeleteOptions) (resp azfake.Responder[armdatamigration.TasksClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method TasksClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, options *armdatamigration.TasksClientGetOptions) (resp azfake.Responder[armdatamigration.TasksClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method TasksClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(groupName string, serviceName string, projectName string, options *armdatamigration.TasksClientListOptions) (resp azfake.PagerResponder[armdatamigration.TasksClientListResponse]) // Update is the fake for method TasksClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, parameters armdatamigration.ProjectTask, options *armdatamigration.TasksClientUpdateOptions) (resp azfake.Responder[armdatamigration.TasksClientUpdateResponse], errResp azfake.ErrorResponder) }
TasksServer is a fake server for instances of the armdatamigration.TasksClient type.
type TasksServerTransport ¶
type TasksServerTransport struct {
// contains filtered or unexported fields
}
TasksServerTransport connects instances of armdatamigration.TasksClient to instances of TasksServer. Don't use this type directly, use NewTasksServerTransport instead.
func NewTasksServerTransport ¶
func NewTasksServerTransport(srv *TasksServer) *TasksServerTransport
NewTasksServerTransport creates a new instance of TasksServerTransport with the provided implementation. The returned TasksServerTransport instance is connected to an instance of armdatamigration.TasksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type UsagesServer ¶
type UsagesServer struct { // NewListPager is the fake for method UsagesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(location string, options *armdatamigration.UsagesClientListOptions) (resp azfake.PagerResponder[armdatamigration.UsagesClientListResponse]) }
UsagesServer is a fake server for instances of the armdatamigration.UsagesClient type.
type UsagesServerTransport ¶
type UsagesServerTransport struct {
// contains filtered or unexported fields
}
UsagesServerTransport connects instances of armdatamigration.UsagesClient to instances of UsagesServer. Don't use this type directly, use NewUsagesServerTransport instead.
func NewUsagesServerTransport ¶
func NewUsagesServerTransport(srv *UsagesServer) *UsagesServerTransport
NewUsagesServerTransport creates a new instance of UsagesServerTransport with the provided implementation. The returned UsagesServerTransport instance is connected to an instance of armdatamigration.UsagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.