Documentation
¶
Index ¶
- type OperationsServer
- type OperationsServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type StorageTaskAssignmentServer
- type StorageTaskAssignmentServerTransport
- type StorageTasksReportServer
- type StorageTasksReportServerTransport
- type StorageTasksServer
- type StorageTasksServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationsServer ¶
type OperationsServer struct {
// NewListPager is the fake for method OperationsClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(options *armstorageactions.OperationsClientListOptions) (resp azfake.PagerResponder[armstorageactions.OperationsClientListResponse])
}
OperationsServer is a fake server for instances of the armstorageactions.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armstorageactions.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 armstorageactions.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct {
OperationsServer OperationsServer
StorageTaskAssignmentServer StorageTaskAssignmentServer
StorageTasksServer StorageTasksServer
StorageTasksReportServer StorageTasksReportServer
}
ServerFactory is a fake server for instances of the armstorageactions.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armstorageactions.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 armstorageactions.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type StorageTaskAssignmentServer ¶
type StorageTaskAssignmentServer struct {
// NewListPager is the fake for method StorageTaskAssignmentClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(resourceGroupName string, storageTaskName string, options *armstorageactions.StorageTaskAssignmentClientListOptions) (resp azfake.PagerResponder[armstorageactions.StorageTaskAssignmentClientListResponse])
}
StorageTaskAssignmentServer is a fake server for instances of the armstorageactions.StorageTaskAssignmentClient type.
type StorageTaskAssignmentServerTransport ¶
type StorageTaskAssignmentServerTransport struct {
// contains filtered or unexported fields
}
StorageTaskAssignmentServerTransport connects instances of armstorageactions.StorageTaskAssignmentClient to instances of StorageTaskAssignmentServer. Don't use this type directly, use NewStorageTaskAssignmentServerTransport instead.
func NewStorageTaskAssignmentServerTransport ¶
func NewStorageTaskAssignmentServerTransport(srv *StorageTaskAssignmentServer) *StorageTaskAssignmentServerTransport
NewStorageTaskAssignmentServerTransport creates a new instance of StorageTaskAssignmentServerTransport with the provided implementation. The returned StorageTaskAssignmentServerTransport instance is connected to an instance of armstorageactions.StorageTaskAssignmentClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type StorageTasksReportServer ¶
type StorageTasksReportServer struct {
// NewListPager is the fake for method StorageTasksReportClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(resourceGroupName string, storageTaskName string, options *armstorageactions.StorageTasksReportClientListOptions) (resp azfake.PagerResponder[armstorageactions.StorageTasksReportClientListResponse])
}
StorageTasksReportServer is a fake server for instances of the armstorageactions.StorageTasksReportClient type.
type StorageTasksReportServerTransport ¶
type StorageTasksReportServerTransport struct {
// contains filtered or unexported fields
}
StorageTasksReportServerTransport connects instances of armstorageactions.StorageTasksReportClient to instances of StorageTasksReportServer. Don't use this type directly, use NewStorageTasksReportServerTransport instead.
func NewStorageTasksReportServerTransport ¶
func NewStorageTasksReportServerTransport(srv *StorageTasksReportServer) *StorageTasksReportServerTransport
NewStorageTasksReportServerTransport creates a new instance of StorageTasksReportServerTransport with the provided implementation. The returned StorageTasksReportServerTransport instance is connected to an instance of armstorageactions.StorageTasksReportClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type StorageTasksServer ¶
type StorageTasksServer struct {
// BeginCreate is the fake for method StorageTasksClient.BeginCreate
// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
BeginCreate func(ctx context.Context, resourceGroupName string, storageTaskName string, parameters armstorageactions.StorageTask, options *armstorageactions.StorageTasksClientBeginCreateOptions) (resp azfake.PollerResponder[armstorageactions.StorageTasksClientCreateResponse], errResp azfake.ErrorResponder)
// BeginDelete is the fake for method StorageTasksClient.BeginDelete
// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
BeginDelete func(ctx context.Context, resourceGroupName string, storageTaskName string, options *armstorageactions.StorageTasksClientBeginDeleteOptions) (resp azfake.PollerResponder[armstorageactions.StorageTasksClientDeleteResponse], errResp azfake.ErrorResponder)
// Get is the fake for method StorageTasksClient.Get
// HTTP status codes to indicate success: http.StatusOK
Get func(ctx context.Context, resourceGroupName string, storageTaskName string, options *armstorageactions.StorageTasksClientGetOptions) (resp azfake.Responder[armstorageactions.StorageTasksClientGetResponse], errResp azfake.ErrorResponder)
// NewListByResourceGroupPager is the fake for method StorageTasksClient.NewListByResourceGroupPager
// HTTP status codes to indicate success: http.StatusOK
NewListByResourceGroupPager func(resourceGroupName string, options *armstorageactions.StorageTasksClientListByResourceGroupOptions) (resp azfake.PagerResponder[armstorageactions.StorageTasksClientListByResourceGroupResponse])
// NewListBySubscriptionPager is the fake for method StorageTasksClient.NewListBySubscriptionPager
// HTTP status codes to indicate success: http.StatusOK
NewListBySubscriptionPager func(options *armstorageactions.StorageTasksClientListBySubscriptionOptions) (resp azfake.PagerResponder[armstorageactions.StorageTasksClientListBySubscriptionResponse])
// PreviewActions is the fake for method StorageTasksClient.PreviewActions
// HTTP status codes to indicate success: http.StatusOK
PreviewActions func(ctx context.Context, location string, parameters armstorageactions.StorageTaskPreviewAction, options *armstorageactions.StorageTasksClientPreviewActionsOptions) (resp azfake.Responder[armstorageactions.StorageTasksClientPreviewActionsResponse], errResp azfake.ErrorResponder)
// BeginUpdate is the fake for method StorageTasksClient.BeginUpdate
// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
BeginUpdate func(ctx context.Context, resourceGroupName string, storageTaskName string, parameters armstorageactions.StorageTaskUpdateParameters, options *armstorageactions.StorageTasksClientBeginUpdateOptions) (resp azfake.PollerResponder[armstorageactions.StorageTasksClientUpdateResponse], errResp azfake.ErrorResponder)
}
StorageTasksServer is a fake server for instances of the armstorageactions.StorageTasksClient type.
type StorageTasksServerTransport ¶
type StorageTasksServerTransport struct {
// contains filtered or unexported fields
}
StorageTasksServerTransport connects instances of armstorageactions.StorageTasksClient to instances of StorageTasksServer. Don't use this type directly, use NewStorageTasksServerTransport instead.
func NewStorageTasksServerTransport ¶
func NewStorageTasksServerTransport(srv *StorageTasksServer) *StorageTasksServerTransport
NewStorageTasksServerTransport creates a new instance of StorageTasksServerTransport with the provided implementation. The returned StorageTasksServerTransport instance is connected to an instance of armstorageactions.StorageTasksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.