Documentation ¶
Index ¶
- type AgentsServer
- type AgentsServerTransport
- type EndpointsServer
- type EndpointsServerTransport
- type JobDefinitionsServer
- type JobDefinitionsServerTransport
- type JobRunsServer
- type JobRunsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type ProjectsServer
- type ProjectsServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type StorageMoversServer
- type StorageMoversServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentsServer ¶
type AgentsServer struct { // CreateOrUpdate is the fake for method AgentsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK CreateOrUpdate func(ctx context.Context, resourceGroupName string, storageMoverName string, agentName string, agent armstoragemover.Agent, options *armstoragemover.AgentsClientCreateOrUpdateOptions) (resp azfake.Responder[armstoragemover.AgentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method AgentsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, storageMoverName string, agentName string, options *armstoragemover.AgentsClientBeginDeleteOptions) (resp azfake.PollerResponder[armstoragemover.AgentsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method AgentsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, storageMoverName string, agentName string, options *armstoragemover.AgentsClientGetOptions) (resp azfake.Responder[armstoragemover.AgentsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method AgentsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, storageMoverName string, options *armstoragemover.AgentsClientListOptions) (resp azfake.PagerResponder[armstoragemover.AgentsClientListResponse]) // Update is the fake for method AgentsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, storageMoverName string, agentName string, agent armstoragemover.AgentUpdateParameters, options *armstoragemover.AgentsClientUpdateOptions) (resp azfake.Responder[armstoragemover.AgentsClientUpdateResponse], errResp azfake.ErrorResponder) }
AgentsServer is a fake server for instances of the armstoragemover.AgentsClient type.
type AgentsServerTransport ¶
type AgentsServerTransport struct {
// contains filtered or unexported fields
}
AgentsServerTransport connects instances of armstoragemover.AgentsClient to instances of AgentsServer. Don't use this type directly, use NewAgentsServerTransport instead.
func NewAgentsServerTransport ¶
func NewAgentsServerTransport(srv *AgentsServer) *AgentsServerTransport
NewAgentsServerTransport creates a new instance of AgentsServerTransport with the provided implementation. The returned AgentsServerTransport instance is connected to an instance of armstoragemover.AgentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type EndpointsServer ¶
type EndpointsServer struct { // CreateOrUpdate is the fake for method EndpointsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK CreateOrUpdate func(ctx context.Context, resourceGroupName string, storageMoverName string, endpointName string, endpoint armstoragemover.Endpoint, options *armstoragemover.EndpointsClientCreateOrUpdateOptions) (resp azfake.Responder[armstoragemover.EndpointsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method EndpointsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, storageMoverName string, endpointName string, options *armstoragemover.EndpointsClientBeginDeleteOptions) (resp azfake.PollerResponder[armstoragemover.EndpointsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method EndpointsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, storageMoverName string, endpointName string, options *armstoragemover.EndpointsClientGetOptions) (resp azfake.Responder[armstoragemover.EndpointsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method EndpointsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, storageMoverName string, options *armstoragemover.EndpointsClientListOptions) (resp azfake.PagerResponder[armstoragemover.EndpointsClientListResponse]) // Update is the fake for method EndpointsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, storageMoverName string, endpointName string, endpoint armstoragemover.EndpointBaseUpdateParameters, options *armstoragemover.EndpointsClientUpdateOptions) (resp azfake.Responder[armstoragemover.EndpointsClientUpdateResponse], errResp azfake.ErrorResponder) }
EndpointsServer is a fake server for instances of the armstoragemover.EndpointsClient type.
type EndpointsServerTransport ¶
type EndpointsServerTransport struct {
// contains filtered or unexported fields
}
EndpointsServerTransport connects instances of armstoragemover.EndpointsClient to instances of EndpointsServer. Don't use this type directly, use NewEndpointsServerTransport instead.
func NewEndpointsServerTransport ¶
func NewEndpointsServerTransport(srv *EndpointsServer) *EndpointsServerTransport
NewEndpointsServerTransport creates a new instance of EndpointsServerTransport with the provided implementation. The returned EndpointsServerTransport instance is connected to an instance of armstoragemover.EndpointsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type JobDefinitionsServer ¶
type JobDefinitionsServer struct { // CreateOrUpdate is the fake for method JobDefinitionsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK CreateOrUpdate func(ctx context.Context, resourceGroupName string, storageMoverName string, projectName string, jobDefinitionName string, jobDefinition armstoragemover.JobDefinition, options *armstoragemover.JobDefinitionsClientCreateOrUpdateOptions) (resp azfake.Responder[armstoragemover.JobDefinitionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method JobDefinitionsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, storageMoverName string, projectName string, jobDefinitionName string, options *armstoragemover.JobDefinitionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armstoragemover.JobDefinitionsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method JobDefinitionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, storageMoverName string, projectName string, jobDefinitionName string, options *armstoragemover.JobDefinitionsClientGetOptions) (resp azfake.Responder[armstoragemover.JobDefinitionsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method JobDefinitionsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, storageMoverName string, projectName string, options *armstoragemover.JobDefinitionsClientListOptions) (resp azfake.PagerResponder[armstoragemover.JobDefinitionsClientListResponse]) // StartJob is the fake for method JobDefinitionsClient.StartJob // HTTP status codes to indicate success: http.StatusOK StartJob func(ctx context.Context, resourceGroupName string, storageMoverName string, projectName string, jobDefinitionName string, options *armstoragemover.JobDefinitionsClientStartJobOptions) (resp azfake.Responder[armstoragemover.JobDefinitionsClientStartJobResponse], errResp azfake.ErrorResponder) // StopJob is the fake for method JobDefinitionsClient.StopJob // HTTP status codes to indicate success: http.StatusOK StopJob func(ctx context.Context, resourceGroupName string, storageMoverName string, projectName string, jobDefinitionName string, options *armstoragemover.JobDefinitionsClientStopJobOptions) (resp azfake.Responder[armstoragemover.JobDefinitionsClientStopJobResponse], errResp azfake.ErrorResponder) // Update is the fake for method JobDefinitionsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, storageMoverName string, projectName string, jobDefinitionName string, jobDefinition armstoragemover.JobDefinitionUpdateParameters, options *armstoragemover.JobDefinitionsClientUpdateOptions) (resp azfake.Responder[armstoragemover.JobDefinitionsClientUpdateResponse], errResp azfake.ErrorResponder) }
JobDefinitionsServer is a fake server for instances of the armstoragemover.JobDefinitionsClient type.
type JobDefinitionsServerTransport ¶
type JobDefinitionsServerTransport struct {
// contains filtered or unexported fields
}
JobDefinitionsServerTransport connects instances of armstoragemover.JobDefinitionsClient to instances of JobDefinitionsServer. Don't use this type directly, use NewJobDefinitionsServerTransport instead.
func NewJobDefinitionsServerTransport ¶
func NewJobDefinitionsServerTransport(srv *JobDefinitionsServer) *JobDefinitionsServerTransport
NewJobDefinitionsServerTransport creates a new instance of JobDefinitionsServerTransport with the provided implementation. The returned JobDefinitionsServerTransport instance is connected to an instance of armstoragemover.JobDefinitionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type JobRunsServer ¶
type JobRunsServer struct { // Get is the fake for method JobRunsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, storageMoverName string, projectName string, jobDefinitionName string, jobRunName string, options *armstoragemover.JobRunsClientGetOptions) (resp azfake.Responder[armstoragemover.JobRunsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method JobRunsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, storageMoverName string, projectName string, jobDefinitionName string, options *armstoragemover.JobRunsClientListOptions) (resp azfake.PagerResponder[armstoragemover.JobRunsClientListResponse]) }
JobRunsServer is a fake server for instances of the armstoragemover.JobRunsClient type.
type JobRunsServerTransport ¶
type JobRunsServerTransport struct {
// contains filtered or unexported fields
}
JobRunsServerTransport connects instances of armstoragemover.JobRunsClient to instances of JobRunsServer. Don't use this type directly, use NewJobRunsServerTransport instead.
func NewJobRunsServerTransport ¶
func NewJobRunsServerTransport(srv *JobRunsServer) *JobRunsServerTransport
NewJobRunsServerTransport creates a new instance of JobRunsServerTransport with the provided implementation. The returned JobRunsServerTransport instance is connected to an instance of armstoragemover.JobRunsClient 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 *armstoragemover.OperationsClientListOptions) (resp azfake.PagerResponder[armstoragemover.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armstoragemover.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armstoragemover.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 armstoragemover.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 CreateOrUpdate func(ctx context.Context, resourceGroupName string, storageMoverName string, projectName string, project armstoragemover.Project, options *armstoragemover.ProjectsClientCreateOrUpdateOptions) (resp azfake.Responder[armstoragemover.ProjectsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method ProjectsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, storageMoverName string, projectName string, options *armstoragemover.ProjectsClientBeginDeleteOptions) (resp azfake.PollerResponder[armstoragemover.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, resourceGroupName string, storageMoverName string, projectName string, options *armstoragemover.ProjectsClientGetOptions) (resp azfake.Responder[armstoragemover.ProjectsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ProjectsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, storageMoverName string, options *armstoragemover.ProjectsClientListOptions) (resp azfake.PagerResponder[armstoragemover.ProjectsClientListResponse]) // Update is the fake for method ProjectsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, storageMoverName string, projectName string, project armstoragemover.ProjectUpdateParameters, options *armstoragemover.ProjectsClientUpdateOptions) (resp azfake.Responder[armstoragemover.ProjectsClientUpdateResponse], errResp azfake.ErrorResponder) }
ProjectsServer is a fake server for instances of the armstoragemover.ProjectsClient type.
type ProjectsServerTransport ¶
type ProjectsServerTransport struct {
// contains filtered or unexported fields
}
ProjectsServerTransport connects instances of armstoragemover.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 armstoragemover.ProjectsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { AgentsServer AgentsServer EndpointsServer EndpointsServer JobDefinitionsServer JobDefinitionsServer JobRunsServer JobRunsServer OperationsServer OperationsServer ProjectsServer ProjectsServer StorageMoversServer StorageMoversServer }
ServerFactory is a fake server for instances of the armstoragemover.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armstoragemover.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 armstoragemover.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type StorageMoversServer ¶
type StorageMoversServer struct { // CreateOrUpdate is the fake for method StorageMoversClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK CreateOrUpdate func(ctx context.Context, resourceGroupName string, storageMoverName string, storageMover armstoragemover.StorageMover, options *armstoragemover.StorageMoversClientCreateOrUpdateOptions) (resp azfake.Responder[armstoragemover.StorageMoversClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method StorageMoversClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, storageMoverName string, options *armstoragemover.StorageMoversClientBeginDeleteOptions) (resp azfake.PollerResponder[armstoragemover.StorageMoversClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method StorageMoversClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, storageMoverName string, options *armstoragemover.StorageMoversClientGetOptions) (resp azfake.Responder[armstoragemover.StorageMoversClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method StorageMoversClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, options *armstoragemover.StorageMoversClientListOptions) (resp azfake.PagerResponder[armstoragemover.StorageMoversClientListResponse]) // NewListBySubscriptionPager is the fake for method StorageMoversClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armstoragemover.StorageMoversClientListBySubscriptionOptions) (resp azfake.PagerResponder[armstoragemover.StorageMoversClientListBySubscriptionResponse]) // Update is the fake for method StorageMoversClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, storageMoverName string, storageMover armstoragemover.UpdateParameters, options *armstoragemover.StorageMoversClientUpdateOptions) (resp azfake.Responder[armstoragemover.StorageMoversClientUpdateResponse], errResp azfake.ErrorResponder) }
StorageMoversServer is a fake server for instances of the armstoragemover.StorageMoversClient type.
type StorageMoversServerTransport ¶
type StorageMoversServerTransport struct {
// contains filtered or unexported fields
}
StorageMoversServerTransport connects instances of armstoragemover.StorageMoversClient to instances of StorageMoversServer. Don't use this type directly, use NewStorageMoversServerTransport instead.
func NewStorageMoversServerTransport ¶
func NewStorageMoversServerTransport(srv *StorageMoversServer) *StorageMoversServerTransport
NewStorageMoversServerTransport creates a new instance of StorageMoversServerTransport with the provided implementation. The returned StorageMoversServerTransport instance is connected to an instance of armstoragemover.StorageMoversClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.