Documentation ¶
Index ¶
- type AccountsServer
- type AccountsServerTransport
- type BackupPoliciesServer
- type BackupPoliciesServerTransport
- type BackupsServer
- type BackupsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PoolsServer
- type PoolsServerTransport
- type ResourceQuotaLimitsServer
- type ResourceQuotaLimitsServerTransport
- type ResourceServer
- type ResourceServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type SnapshotPoliciesServer
- type SnapshotPoliciesServerTransport
- type SnapshotsServer
- type SnapshotsServerTransport
- type SubvolumesServer
- type SubvolumesServerTransport
- type VolumeGroupsServer
- type VolumeGroupsServerTransport
- type VolumeQuotaRulesServer
- type VolumeQuotaRulesServerTransport
- type VolumesServer
- type VolumesServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountsServer ¶
type AccountsServer struct { // BeginCreateOrUpdate is the fake for method AccountsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, body armnetapp.Account, options *armnetapp.AccountsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armnetapp.AccountsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method AccountsClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, options *armnetapp.AccountsClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.AccountsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method AccountsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, options *armnetapp.AccountsClientGetOptions) (resp azfake.Responder[armnetapp.AccountsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method AccountsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, options *armnetapp.AccountsClientListOptions) (resp azfake.PagerResponder[armnetapp.AccountsClientListResponse]) // NewListBySubscriptionPager is the fake for method AccountsClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armnetapp.AccountsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armnetapp.AccountsClientListBySubscriptionResponse]) // BeginRenewCredentials is the fake for method AccountsClient.BeginRenewCredentials // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginRenewCredentials func(ctx context.Context, resourceGroupName string, accountName string, options *armnetapp.AccountsClientBeginRenewCredentialsOptions) (resp azfake.PollerResponder[armnetapp.AccountsClientRenewCredentialsResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method AccountsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, body armnetapp.AccountPatch, options *armnetapp.AccountsClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.AccountsClientUpdateResponse], errResp azfake.ErrorResponder) }
AccountsServer is a fake server for instances of the armnetapp.AccountsClient type.
type AccountsServerTransport ¶
type AccountsServerTransport struct {
// contains filtered or unexported fields
}
AccountsServerTransport connects instances of armnetapp.AccountsClient to instances of AccountsServer. Don't use this type directly, use NewAccountsServerTransport instead.
func NewAccountsServerTransport ¶
func NewAccountsServerTransport(srv *AccountsServer) *AccountsServerTransport
NewAccountsServerTransport creates a new instance of AccountsServerTransport with the provided implementation. The returned AccountsServerTransport instance is connected to an instance of armnetapp.AccountsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type BackupPoliciesServer ¶
type BackupPoliciesServer struct { // BeginCreate is the fake for method BackupPoliciesClient.BeginCreate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, body armnetapp.BackupPolicy, options *armnetapp.BackupPoliciesClientBeginCreateOptions) (resp azfake.PollerResponder[armnetapp.BackupPoliciesClientCreateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method BackupPoliciesClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, options *armnetapp.BackupPoliciesClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.BackupPoliciesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method BackupPoliciesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, options *armnetapp.BackupPoliciesClientGetOptions) (resp azfake.Responder[armnetapp.BackupPoliciesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method BackupPoliciesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, accountName string, options *armnetapp.BackupPoliciesClientListOptions) (resp azfake.PagerResponder[armnetapp.BackupPoliciesClientListResponse]) // BeginUpdate is the fake for method BackupPoliciesClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, body armnetapp.BackupPolicyPatch, options *armnetapp.BackupPoliciesClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.BackupPoliciesClientUpdateResponse], errResp azfake.ErrorResponder) }
BackupPoliciesServer is a fake server for instances of the armnetapp.BackupPoliciesClient type.
type BackupPoliciesServerTransport ¶
type BackupPoliciesServerTransport struct {
// contains filtered or unexported fields
}
BackupPoliciesServerTransport connects instances of armnetapp.BackupPoliciesClient to instances of BackupPoliciesServer. Don't use this type directly, use NewBackupPoliciesServerTransport instead.
func NewBackupPoliciesServerTransport ¶
func NewBackupPoliciesServerTransport(srv *BackupPoliciesServer) *BackupPoliciesServerTransport
NewBackupPoliciesServerTransport creates a new instance of BackupPoliciesServerTransport with the provided implementation. The returned BackupPoliciesServerTransport instance is connected to an instance of armnetapp.BackupPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type BackupsServer ¶
type BackupsServer struct { // GetVolumeRestoreStatus is the fake for method BackupsClient.GetVolumeRestoreStatus // HTTP status codes to indicate success: http.StatusOK GetVolumeRestoreStatus func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.BackupsClientGetVolumeRestoreStatusOptions) (resp azfake.Responder[armnetapp.BackupsClientGetVolumeRestoreStatusResponse], errResp azfake.ErrorResponder) }
BackupsServer is a fake server for instances of the armnetapp.BackupsClient type.
type BackupsServerTransport ¶
type BackupsServerTransport struct {
// contains filtered or unexported fields
}
BackupsServerTransport connects instances of armnetapp.BackupsClient to instances of BackupsServer. Don't use this type directly, use NewBackupsServerTransport instead.
func NewBackupsServerTransport ¶
func NewBackupsServerTransport(srv *BackupsServer) *BackupsServerTransport
NewBackupsServerTransport creates a new instance of BackupsServerTransport with the provided implementation. The returned BackupsServerTransport instance is connected to an instance of armnetapp.BackupsClient 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 *armnetapp.OperationsClientListOptions) (resp azfake.PagerResponder[armnetapp.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armnetapp.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armnetapp.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 armnetapp.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PoolsServer ¶
type PoolsServer struct { // BeginCreateOrUpdate is the fake for method PoolsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, body armnetapp.CapacityPool, options *armnetapp.PoolsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armnetapp.PoolsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method PoolsClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, poolName string, options *armnetapp.PoolsClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.PoolsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method PoolsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, poolName string, options *armnetapp.PoolsClientGetOptions) (resp azfake.Responder[armnetapp.PoolsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method PoolsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, accountName string, options *armnetapp.PoolsClientListOptions) (resp azfake.PagerResponder[armnetapp.PoolsClientListResponse]) // BeginUpdate is the fake for method PoolsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, body armnetapp.CapacityPoolPatch, options *armnetapp.PoolsClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.PoolsClientUpdateResponse], errResp azfake.ErrorResponder) }
PoolsServer is a fake server for instances of the armnetapp.PoolsClient type.
type PoolsServerTransport ¶
type PoolsServerTransport struct {
// contains filtered or unexported fields
}
PoolsServerTransport connects instances of armnetapp.PoolsClient to instances of PoolsServer. Don't use this type directly, use NewPoolsServerTransport instead.
func NewPoolsServerTransport ¶
func NewPoolsServerTransport(srv *PoolsServer) *PoolsServerTransport
NewPoolsServerTransport creates a new instance of PoolsServerTransport with the provided implementation. The returned PoolsServerTransport instance is connected to an instance of armnetapp.PoolsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ResourceQuotaLimitsServer ¶
type ResourceQuotaLimitsServer struct { // Get is the fake for method ResourceQuotaLimitsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, location string, quotaLimitName string, options *armnetapp.ResourceQuotaLimitsClientGetOptions) (resp azfake.Responder[armnetapp.ResourceQuotaLimitsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ResourceQuotaLimitsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(location string, options *armnetapp.ResourceQuotaLimitsClientListOptions) (resp azfake.PagerResponder[armnetapp.ResourceQuotaLimitsClientListResponse]) }
ResourceQuotaLimitsServer is a fake server for instances of the armnetapp.ResourceQuotaLimitsClient type.
type ResourceQuotaLimitsServerTransport ¶
type ResourceQuotaLimitsServerTransport struct {
// contains filtered or unexported fields
}
ResourceQuotaLimitsServerTransport connects instances of armnetapp.ResourceQuotaLimitsClient to instances of ResourceQuotaLimitsServer. Don't use this type directly, use NewResourceQuotaLimitsServerTransport instead.
func NewResourceQuotaLimitsServerTransport ¶
func NewResourceQuotaLimitsServerTransport(srv *ResourceQuotaLimitsServer) *ResourceQuotaLimitsServerTransport
NewResourceQuotaLimitsServerTransport creates a new instance of ResourceQuotaLimitsServerTransport with the provided implementation. The returned ResourceQuotaLimitsServerTransport instance is connected to an instance of armnetapp.ResourceQuotaLimitsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ResourceServer ¶
type ResourceServer struct { // CheckFilePathAvailability is the fake for method ResourceClient.CheckFilePathAvailability // HTTP status codes to indicate success: http.StatusOK CheckFilePathAvailability func(ctx context.Context, location string, body armnetapp.FilePathAvailabilityRequest, options *armnetapp.ResourceClientCheckFilePathAvailabilityOptions) (resp azfake.Responder[armnetapp.ResourceClientCheckFilePathAvailabilityResponse], errResp azfake.ErrorResponder) // CheckNameAvailability is the fake for method ResourceClient.CheckNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckNameAvailability func(ctx context.Context, location string, body armnetapp.ResourceNameAvailabilityRequest, options *armnetapp.ResourceClientCheckNameAvailabilityOptions) (resp azfake.Responder[armnetapp.ResourceClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) // CheckQuotaAvailability is the fake for method ResourceClient.CheckQuotaAvailability // HTTP status codes to indicate success: http.StatusOK CheckQuotaAvailability func(ctx context.Context, location string, body armnetapp.QuotaAvailabilityRequest, options *armnetapp.ResourceClientCheckQuotaAvailabilityOptions) (resp azfake.Responder[armnetapp.ResourceClientCheckQuotaAvailabilityResponse], errResp azfake.ErrorResponder) // QueryNetworkSiblingSet is the fake for method ResourceClient.QueryNetworkSiblingSet // HTTP status codes to indicate success: http.StatusOK QueryNetworkSiblingSet func(ctx context.Context, location string, body armnetapp.QueryNetworkSiblingSetRequest, options *armnetapp.ResourceClientQueryNetworkSiblingSetOptions) (resp azfake.Responder[armnetapp.ResourceClientQueryNetworkSiblingSetResponse], errResp azfake.ErrorResponder) // QueryRegionInfo is the fake for method ResourceClient.QueryRegionInfo // HTTP status codes to indicate success: http.StatusOK QueryRegionInfo func(ctx context.Context, location string, options *armnetapp.ResourceClientQueryRegionInfoOptions) (resp azfake.Responder[armnetapp.ResourceClientQueryRegionInfoResponse], errResp azfake.ErrorResponder) // BeginUpdateNetworkSiblingSet is the fake for method ResourceClient.BeginUpdateNetworkSiblingSet // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdateNetworkSiblingSet func(ctx context.Context, location string, body armnetapp.UpdateNetworkSiblingSetRequest, options *armnetapp.ResourceClientBeginUpdateNetworkSiblingSetOptions) (resp azfake.PollerResponder[armnetapp.ResourceClientUpdateNetworkSiblingSetResponse], errResp azfake.ErrorResponder) }
ResourceServer is a fake server for instances of the armnetapp.ResourceClient type.
type ResourceServerTransport ¶
type ResourceServerTransport struct {
// contains filtered or unexported fields
}
ResourceServerTransport connects instances of armnetapp.ResourceClient to instances of ResourceServer. Don't use this type directly, use NewResourceServerTransport instead.
func NewResourceServerTransport ¶
func NewResourceServerTransport(srv *ResourceServer) *ResourceServerTransport
NewResourceServerTransport creates a new instance of ResourceServerTransport with the provided implementation. The returned ResourceServerTransport instance is connected to an instance of armnetapp.ResourceClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { AccountsServer AccountsServer BackupPoliciesServer BackupPoliciesServer BackupsServer BackupsServer OperationsServer OperationsServer PoolsServer PoolsServer ResourceServer ResourceServer ResourceQuotaLimitsServer ResourceQuotaLimitsServer SnapshotPoliciesServer SnapshotPoliciesServer SnapshotsServer SnapshotsServer SubvolumesServer SubvolumesServer VolumeGroupsServer VolumeGroupsServer VolumeQuotaRulesServer VolumeQuotaRulesServer VolumesServer VolumesServer }
ServerFactory is a fake server for instances of the armnetapp.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armnetapp.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 armnetapp.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type SnapshotPoliciesServer ¶
type SnapshotPoliciesServer struct { // Create is the fake for method SnapshotPoliciesClient.Create // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated Create func(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string, body armnetapp.SnapshotPolicy, options *armnetapp.SnapshotPoliciesClientCreateOptions) (resp azfake.Responder[armnetapp.SnapshotPoliciesClientCreateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method SnapshotPoliciesClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string, options *armnetapp.SnapshotPoliciesClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.SnapshotPoliciesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method SnapshotPoliciesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string, options *armnetapp.SnapshotPoliciesClientGetOptions) (resp azfake.Responder[armnetapp.SnapshotPoliciesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method SnapshotPoliciesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, accountName string, options *armnetapp.SnapshotPoliciesClientListOptions) (resp azfake.PagerResponder[armnetapp.SnapshotPoliciesClientListResponse]) // ListVolumes is the fake for method SnapshotPoliciesClient.ListVolumes // HTTP status codes to indicate success: http.StatusOK ListVolumes func(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string, options *armnetapp.SnapshotPoliciesClientListVolumesOptions) (resp azfake.Responder[armnetapp.SnapshotPoliciesClientListVolumesResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method SnapshotPoliciesClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string, body armnetapp.SnapshotPolicyPatch, options *armnetapp.SnapshotPoliciesClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.SnapshotPoliciesClientUpdateResponse], errResp azfake.ErrorResponder) }
SnapshotPoliciesServer is a fake server for instances of the armnetapp.SnapshotPoliciesClient type.
type SnapshotPoliciesServerTransport ¶
type SnapshotPoliciesServerTransport struct {
// contains filtered or unexported fields
}
SnapshotPoliciesServerTransport connects instances of armnetapp.SnapshotPoliciesClient to instances of SnapshotPoliciesServer. Don't use this type directly, use NewSnapshotPoliciesServerTransport instead.
func NewSnapshotPoliciesServerTransport ¶
func NewSnapshotPoliciesServerTransport(srv *SnapshotPoliciesServer) *SnapshotPoliciesServerTransport
NewSnapshotPoliciesServerTransport creates a new instance of SnapshotPoliciesServerTransport with the provided implementation. The returned SnapshotPoliciesServerTransport instance is connected to an instance of armnetapp.SnapshotPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type SnapshotsServer ¶
type SnapshotsServer struct { // BeginCreate is the fake for method SnapshotsClient.BeginCreate // HTTP status codes to indicate success: http.StatusCreated, http.StatusAccepted BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string, body armnetapp.Snapshot, options *armnetapp.SnapshotsClientBeginCreateOptions) (resp azfake.PollerResponder[armnetapp.SnapshotsClientCreateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method SnapshotsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string, options *armnetapp.SnapshotsClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.SnapshotsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method SnapshotsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string, options *armnetapp.SnapshotsClientGetOptions) (resp azfake.Responder[armnetapp.SnapshotsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method SnapshotsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.SnapshotsClientListOptions) (resp azfake.PagerResponder[armnetapp.SnapshotsClientListResponse]) // BeginRestoreFiles is the fake for method SnapshotsClient.BeginRestoreFiles // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginRestoreFiles func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string, body armnetapp.SnapshotRestoreFiles, options *armnetapp.SnapshotsClientBeginRestoreFilesOptions) (resp azfake.PollerResponder[armnetapp.SnapshotsClientRestoreFilesResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method SnapshotsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string, body any, options *armnetapp.SnapshotsClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.SnapshotsClientUpdateResponse], errResp azfake.ErrorResponder) }
SnapshotsServer is a fake server for instances of the armnetapp.SnapshotsClient type.
type SnapshotsServerTransport ¶
type SnapshotsServerTransport struct {
// contains filtered or unexported fields
}
SnapshotsServerTransport connects instances of armnetapp.SnapshotsClient to instances of SnapshotsServer. Don't use this type directly, use NewSnapshotsServerTransport instead.
func NewSnapshotsServerTransport ¶
func NewSnapshotsServerTransport(srv *SnapshotsServer) *SnapshotsServerTransport
NewSnapshotsServerTransport creates a new instance of SnapshotsServerTransport with the provided implementation. The returned SnapshotsServerTransport instance is connected to an instance of armnetapp.SnapshotsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type SubvolumesServer ¶
type SubvolumesServer struct { // BeginCreate is the fake for method SubvolumesClient.BeginCreate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, subvolumeName string, body armnetapp.SubvolumeInfo, options *armnetapp.SubvolumesClientBeginCreateOptions) (resp azfake.PollerResponder[armnetapp.SubvolumesClientCreateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method SubvolumesClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, subvolumeName string, options *armnetapp.SubvolumesClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.SubvolumesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method SubvolumesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, subvolumeName string, options *armnetapp.SubvolumesClientGetOptions) (resp azfake.Responder[armnetapp.SubvolumesClientGetResponse], errResp azfake.ErrorResponder) // BeginGetMetadata is the fake for method SubvolumesClient.BeginGetMetadata // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginGetMetadata func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, subvolumeName string, options *armnetapp.SubvolumesClientBeginGetMetadataOptions) (resp azfake.PollerResponder[armnetapp.SubvolumesClientGetMetadataResponse], errResp azfake.ErrorResponder) // NewListByVolumePager is the fake for method SubvolumesClient.NewListByVolumePager // HTTP status codes to indicate success: http.StatusOK NewListByVolumePager func(resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.SubvolumesClientListByVolumeOptions) (resp azfake.PagerResponder[armnetapp.SubvolumesClientListByVolumeResponse]) // BeginUpdate is the fake for method SubvolumesClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, subvolumeName string, body armnetapp.SubvolumePatchRequest, options *armnetapp.SubvolumesClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.SubvolumesClientUpdateResponse], errResp azfake.ErrorResponder) }
SubvolumesServer is a fake server for instances of the armnetapp.SubvolumesClient type.
type SubvolumesServerTransport ¶
type SubvolumesServerTransport struct {
// contains filtered or unexported fields
}
SubvolumesServerTransport connects instances of armnetapp.SubvolumesClient to instances of SubvolumesServer. Don't use this type directly, use NewSubvolumesServerTransport instead.
func NewSubvolumesServerTransport ¶
func NewSubvolumesServerTransport(srv *SubvolumesServer) *SubvolumesServerTransport
NewSubvolumesServerTransport creates a new instance of SubvolumesServerTransport with the provided implementation. The returned SubvolumesServerTransport instance is connected to an instance of armnetapp.SubvolumesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type VolumeGroupsServer ¶
type VolumeGroupsServer struct { // BeginCreate is the fake for method VolumeGroupsClient.BeginCreate // HTTP status codes to indicate success: http.StatusCreated BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, volumeGroupName string, body armnetapp.VolumeGroupDetails, options *armnetapp.VolumeGroupsClientBeginCreateOptions) (resp azfake.PollerResponder[armnetapp.VolumeGroupsClientCreateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method VolumeGroupsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, volumeGroupName string, options *armnetapp.VolumeGroupsClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.VolumeGroupsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method VolumeGroupsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, volumeGroupName string, options *armnetapp.VolumeGroupsClientGetOptions) (resp azfake.Responder[armnetapp.VolumeGroupsClientGetResponse], errResp azfake.ErrorResponder) // NewListByNetAppAccountPager is the fake for method VolumeGroupsClient.NewListByNetAppAccountPager // HTTP status codes to indicate success: http.StatusOK NewListByNetAppAccountPager func(resourceGroupName string, accountName string, options *armnetapp.VolumeGroupsClientListByNetAppAccountOptions) (resp azfake.PagerResponder[armnetapp.VolumeGroupsClientListByNetAppAccountResponse]) }
VolumeGroupsServer is a fake server for instances of the armnetapp.VolumeGroupsClient type.
type VolumeGroupsServerTransport ¶
type VolumeGroupsServerTransport struct {
// contains filtered or unexported fields
}
VolumeGroupsServerTransport connects instances of armnetapp.VolumeGroupsClient to instances of VolumeGroupsServer. Don't use this type directly, use NewVolumeGroupsServerTransport instead.
func NewVolumeGroupsServerTransport ¶
func NewVolumeGroupsServerTransport(srv *VolumeGroupsServer) *VolumeGroupsServerTransport
NewVolumeGroupsServerTransport creates a new instance of VolumeGroupsServerTransport with the provided implementation. The returned VolumeGroupsServerTransport instance is connected to an instance of armnetapp.VolumeGroupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type VolumeQuotaRulesServer ¶
type VolumeQuotaRulesServer struct { // BeginCreate is the fake for method VolumeQuotaRulesClient.BeginCreate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, volumeQuotaRuleName string, body armnetapp.VolumeQuotaRule, options *armnetapp.VolumeQuotaRulesClientBeginCreateOptions) (resp azfake.PollerResponder[armnetapp.VolumeQuotaRulesClientCreateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method VolumeQuotaRulesClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, volumeQuotaRuleName string, options *armnetapp.VolumeQuotaRulesClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.VolumeQuotaRulesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method VolumeQuotaRulesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, volumeQuotaRuleName string, options *armnetapp.VolumeQuotaRulesClientGetOptions) (resp azfake.Responder[armnetapp.VolumeQuotaRulesClientGetResponse], errResp azfake.ErrorResponder) // NewListByVolumePager is the fake for method VolumeQuotaRulesClient.NewListByVolumePager // HTTP status codes to indicate success: http.StatusOK NewListByVolumePager func(resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumeQuotaRulesClientListByVolumeOptions) (resp azfake.PagerResponder[armnetapp.VolumeQuotaRulesClientListByVolumeResponse]) // BeginUpdate is the fake for method VolumeQuotaRulesClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, volumeQuotaRuleName string, body armnetapp.VolumeQuotaRulePatch, options *armnetapp.VolumeQuotaRulesClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.VolumeQuotaRulesClientUpdateResponse], errResp azfake.ErrorResponder) }
VolumeQuotaRulesServer is a fake server for instances of the armnetapp.VolumeQuotaRulesClient type.
type VolumeQuotaRulesServerTransport ¶
type VolumeQuotaRulesServerTransport struct {
// contains filtered or unexported fields
}
VolumeQuotaRulesServerTransport connects instances of armnetapp.VolumeQuotaRulesClient to instances of VolumeQuotaRulesServer. Don't use this type directly, use NewVolumeQuotaRulesServerTransport instead.
func NewVolumeQuotaRulesServerTransport ¶
func NewVolumeQuotaRulesServerTransport(srv *VolumeQuotaRulesServer) *VolumeQuotaRulesServerTransport
NewVolumeQuotaRulesServerTransport creates a new instance of VolumeQuotaRulesServerTransport with the provided implementation. The returned VolumeQuotaRulesServerTransport instance is connected to an instance of armnetapp.VolumeQuotaRulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type VolumesServer ¶
type VolumesServer struct { // BeginAuthorizeReplication is the fake for method VolumesClient.BeginAuthorizeReplication // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginAuthorizeReplication func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.AuthorizeRequest, options *armnetapp.VolumesClientBeginAuthorizeReplicationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientAuthorizeReplicationResponse], errResp azfake.ErrorResponder) // BeginBreakFileLocks is the fake for method VolumesClient.BeginBreakFileLocks // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginBreakFileLocks func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginBreakFileLocksOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientBreakFileLocksResponse], errResp azfake.ErrorResponder) // BeginBreakReplication is the fake for method VolumesClient.BeginBreakReplication // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginBreakReplication func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginBreakReplicationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientBreakReplicationResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdate is the fake for method VolumesClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.Volume, options *armnetapp.VolumesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method VolumesClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientDeleteResponse], errResp azfake.ErrorResponder) // BeginDeleteReplication is the fake for method VolumesClient.BeginDeleteReplication // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginDeleteReplication func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginDeleteReplicationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientDeleteReplicationResponse], errResp azfake.ErrorResponder) // BeginFinalizeRelocation is the fake for method VolumesClient.BeginFinalizeRelocation // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginFinalizeRelocation func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginFinalizeRelocationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientFinalizeRelocationResponse], errResp azfake.ErrorResponder) // Get is the fake for method VolumesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientGetOptions) (resp azfake.Responder[armnetapp.VolumesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method VolumesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, accountName string, poolName string, options *armnetapp.VolumesClientListOptions) (resp azfake.PagerResponder[armnetapp.VolumesClientListResponse]) // BeginListGetGroupIDListForLdapUser is the fake for method VolumesClient.BeginListGetGroupIDListForLdapUser // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginListGetGroupIDListForLdapUser func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.GetGroupIDListForLDAPUserRequest, options *armnetapp.VolumesClientBeginListGetGroupIDListForLdapUserOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientListGetGroupIDListForLdapUserResponse], errResp azfake.ErrorResponder) // NewListReplicationsPager is the fake for method VolumesClient.NewListReplicationsPager // HTTP status codes to indicate success: http.StatusOK NewListReplicationsPager func(resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientListReplicationsOptions) (resp azfake.PagerResponder[armnetapp.VolumesClientListReplicationsResponse]) // BeginPoolChange is the fake for method VolumesClient.BeginPoolChange // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginPoolChange func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.PoolChangeRequest, options *armnetapp.VolumesClientBeginPoolChangeOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientPoolChangeResponse], errResp azfake.ErrorResponder) // BeginPopulateAvailabilityZone is the fake for method VolumesClient.BeginPopulateAvailabilityZone // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginPopulateAvailabilityZone func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginPopulateAvailabilityZoneOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientPopulateAvailabilityZoneResponse], errResp azfake.ErrorResponder) // BeginReInitializeReplication is the fake for method VolumesClient.BeginReInitializeReplication // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginReInitializeReplication func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginReInitializeReplicationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientReInitializeReplicationResponse], errResp azfake.ErrorResponder) // BeginReestablishReplication is the fake for method VolumesClient.BeginReestablishReplication // HTTP status codes to indicate success: http.StatusAccepted BeginReestablishReplication func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.ReestablishReplicationRequest, options *armnetapp.VolumesClientBeginReestablishReplicationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientReestablishReplicationResponse], errResp azfake.ErrorResponder) // BeginRelocate is the fake for method VolumesClient.BeginRelocate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginRelocate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginRelocateOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientRelocateResponse], errResp azfake.ErrorResponder) // ReplicationStatus is the fake for method VolumesClient.ReplicationStatus // HTTP status codes to indicate success: http.StatusOK ReplicationStatus func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientReplicationStatusOptions) (resp azfake.Responder[armnetapp.VolumesClientReplicationStatusResponse], errResp azfake.ErrorResponder) // BeginResetCifsPassword is the fake for method VolumesClient.BeginResetCifsPassword // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginResetCifsPassword func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginResetCifsPasswordOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientResetCifsPasswordResponse], errResp azfake.ErrorResponder) // BeginResyncReplication is the fake for method VolumesClient.BeginResyncReplication // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginResyncReplication func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginResyncReplicationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientResyncReplicationResponse], errResp azfake.ErrorResponder) // BeginRevert is the fake for method VolumesClient.BeginRevert // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginRevert func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.VolumeRevert, options *armnetapp.VolumesClientBeginRevertOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientRevertResponse], errResp azfake.ErrorResponder) // BeginRevertRelocation is the fake for method VolumesClient.BeginRevertRelocation // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginRevertRelocation func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginRevertRelocationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientRevertRelocationResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method VolumesClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.VolumePatch, options *armnetapp.VolumesClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientUpdateResponse], errResp azfake.ErrorResponder) }
VolumesServer is a fake server for instances of the armnetapp.VolumesClient type.
type VolumesServerTransport ¶
type VolumesServerTransport struct {
// contains filtered or unexported fields
}
VolumesServerTransport connects instances of armnetapp.VolumesClient to instances of VolumesServer. Don't use this type directly, use NewVolumesServerTransport instead.
func NewVolumesServerTransport ¶
func NewVolumesServerTransport(srv *VolumesServer) *VolumesServerTransport
NewVolumesServerTransport creates a new instance of VolumesServerTransport with the provided implementation. The returned VolumesServerTransport instance is connected to an instance of armnetapp.VolumesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
Source Files ¶
- accounts_server.go
- backuppolicies_server.go
- backups_server.go
- internal.go
- operations_server.go
- pools_server.go
- resource_server.go
- resourcequotalimits_server.go
- server_factory.go
- snapshotpolicies_server.go
- snapshots_server.go
- subvolumes_server.go
- time_rfc3339.go
- volumegroups_server.go
- volumequotarules_server.go
- volumes_server.go