vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2018-01-16 13:20:59 +00:00
parent 8e83fb6fb9
commit 7d3a17725d
4878 changed files with 1974213 additions and 201199 deletions
@@ -96,7 +96,9 @@ func (client BackupEnginesClient) GetPreparer(vaultName string, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client BackupEnginesClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -168,7 +170,9 @@ func (client BackupEnginesClient) ListPreparer(vaultName string, resourceGroupNa
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BackupEnginesClient) ListSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListResponder handles the response to the List request. The method always
@@ -94,7 +94,9 @@ func (client BackupJobsClient) ListPreparer(vaultName string, resourceGroupName
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BackupJobsClient) ListSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListResponder handles the response to the List request. The method always
@@ -92,7 +92,9 @@ func (client BackupOperationResultsClient) GetPreparer(vaultName string, resourc
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client BackupOperationResultsClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -91,7 +91,9 @@ func (client BackupOperationStatusesClient) GetPreparer(vaultName string, resour
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client BackupOperationStatusesClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -92,7 +92,9 @@ func (client BackupPoliciesClient) ListPreparer(vaultName string, resourceGroupN
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BackupPoliciesClient) ListSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListResponder handles the response to the List request. The method always
@@ -95,7 +95,9 @@ func (client BackupProtectableItemsClient) ListPreparer(vaultName string, resour
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BackupProtectableItemsClient) ListSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListResponder handles the response to the List request. The method always
@@ -94,7 +94,9 @@ func (client BackupProtectedItemsClient) ListPreparer(vaultName string, resource
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BackupProtectedItemsClient) ListSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListResponder handles the response to the List request. The method always
@@ -91,7 +91,9 @@ func (client BackupProtectionContainersClient) ListPreparer(vaultName string, re
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BackupProtectionContainersClient) ListSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListResponder handles the response to the List request. The method always
@@ -89,7 +89,9 @@ func (client BackupResourceStorageConfigsClient) GetPreparer(vaultName string, r
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client BackupResourceStorageConfigsClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -155,7 +157,9 @@ func (client BackupResourceStorageConfigsClient) UpdatePreparer(vaultName string
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client BackupResourceStorageConfigsClient) UpdateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// UpdateResponder handles the response to the Update request. The method always
@@ -88,7 +88,9 @@ func (client BackupResourceVaultConfigsClient) GetPreparer(vaultName string, res
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client BackupResourceVaultConfigsClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -156,7 +158,9 @@ func (client BackupResourceVaultConfigsClient) UpdatePreparer(vaultName string,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client BackupResourceVaultConfigsClient) UpdateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// UpdateResponder handles the response to the Update request. The method always
@@ -96,7 +96,9 @@ func (client BackupsClient) TriggerPreparer(vaultName string, resourceGroupName
// TriggerSender sends the Trigger request. The method will close the
// http.Response Body if it receives an error.
func (client BackupsClient) TriggerSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// TriggerResponder handles the response to the Trigger request. The method always
@@ -94,7 +94,9 @@ func (client BackupUsageSummariesClient) ListPreparer(vaultName string, resource
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BackupUsageSummariesClient) ListSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListResponder handles the response to the List request. The method always
@@ -1,6 +1,8 @@
// Package recoveryservicesbackup implements the Azure ARM Recoveryservicesbackup service API version .
//
// Open API 2.0 Specs for Azure RecoveryServices Backup service
//
// Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services
package recoveryservicesbackup
// Copyright (c) Microsoft and contributors. All rights reserved.
@@ -91,7 +91,9 @@ func (client ExportJobsOperationResultsClient) GetPreparer(vaultName string, res
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ExportJobsOperationResultsClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -100,7 +100,9 @@ func (client ItemLevelRecoveryConnectionsClient) ProvisionPreparer(vaultName str
// ProvisionSender sends the Provision request. The method will close the
// http.Response Body if it receives an error.
func (client ItemLevelRecoveryConnectionsClient) ProvisionSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ProvisionResponder handles the response to the Provision request. The method always
@@ -173,7 +175,9 @@ func (client ItemLevelRecoveryConnectionsClient) RevokePreparer(vaultName string
// RevokeSender sends the Revoke request. The method will close the
// http.Response Body if it receives an error.
func (client ItemLevelRecoveryConnectionsClient) RevokeSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// RevokeResponder handles the response to the Revoke request. The method always
@@ -90,7 +90,9 @@ func (client JobCancellationsClient) TriggerPreparer(vaultName string, resourceG
// TriggerSender sends the Trigger request. The method will close the
// http.Response Body if it receives an error.
func (client JobCancellationsClient) TriggerSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// TriggerResponder handles the response to the Trigger request. The method always
@@ -89,7 +89,9 @@ func (client JobDetailsClient) GetPreparer(vaultName string, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobDetailsClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -92,7 +92,9 @@ func (client JobOperationResultsClient) GetPreparer(vaultName string, resourceGr
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobOperationResultsClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -91,7 +91,9 @@ func (client JobsClient) ExportPreparer(vaultName string, resourceGroupName stri
// ExportSender sends the Export request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) ExportSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ExportResponder handles the response to the Export request. The method always
@@ -79,7 +79,9 @@ func (client OperationsClient) ListPreparer() (*http.Request, error) {
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// ListResponder handles the response to the List request. The method always
@@ -95,7 +95,9 @@ func (client ProtectedItemOperationResultsClient) GetPreparer(vaultName string,
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectedItemOperationResultsClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -97,7 +97,9 @@ func (client ProtectedItemOperationStatusesClient) GetPreparer(vaultName string,
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectedItemOperationStatusesClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -96,7 +96,9 @@ func (client ProtectedItemsClient) CreateOrUpdatePreparer(vaultName string, reso
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectedItemsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -166,7 +168,9 @@ func (client ProtectedItemsClient) DeletePreparer(vaultName string, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectedItemsClient) DeleteSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -240,7 +244,9 @@ func (client ProtectedItemsClient) GetPreparer(vaultName string, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectedItemsClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -95,7 +95,9 @@ func (client ProtectionContainerOperationResultsClient) GetPreparer(vaultName st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectionContainerOperationResultsClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -93,7 +93,9 @@ func (client ProtectionContainerRefreshOperationResultsClient) GetPreparer(vault
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectionContainerRefreshOperationResultsClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -91,7 +91,9 @@ func (client ProtectionContainersClient) GetPreparer(vaultName string, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectionContainersClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -159,7 +161,9 @@ func (client ProtectionContainersClient) RefreshPreparer(vaultName string, resou
// RefreshSender sends the Refresh request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectionContainersClient) RefreshSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// RefreshResponder handles the response to the Refresh request. The method always
@@ -92,7 +92,9 @@ func (client ProtectionPoliciesClient) CreateOrUpdatePreparer(vaultName string,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectionPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -160,7 +162,9 @@ func (client ProtectionPoliciesClient) DeletePreparer(vaultName string, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectionPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -227,7 +231,9 @@ func (client ProtectionPoliciesClient) GetPreparer(vaultName string, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectionPoliciesClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -92,7 +92,9 @@ func (client ProtectionPolicyOperationResultsClient) GetPreparer(vaultName strin
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectionPolicyOperationResultsClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -95,7 +95,9 @@ func (client ProtectionPolicyOperationStatusesClient) GetPreparer(vaultName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProtectionPolicyOperationStatusesClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -95,7 +95,9 @@ func (client RecoveryPointsClient) GetPreparer(vaultName string, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RecoveryPointsClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -169,7 +171,9 @@ func (client RecoveryPointsClient) ListPreparer(vaultName string, resourceGroupN
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RecoveryPointsClient) ListSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListResponder handles the response to the List request. The method always
@@ -98,7 +98,9 @@ func (client RestoresClient) TriggerPreparer(vaultName string, resourceGroupName
// TriggerSender sends the Trigger request. The method will close the
// http.Response Body if it receives an error.
func (client RestoresClient) TriggerSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// TriggerResponder handles the response to the Trigger request. The method always
@@ -88,7 +88,9 @@ func (client SecurityPINsClient) GetPreparer(vaultName string, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client SecurityPINsClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetResponder handles the response to the Get request. The method always
@@ -19,10 +19,10 @@ package recoveryservicesbackup
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
return "Azure-SDK-For-Go/v11.0.0-beta arm-recoveryservicesbackup/"
return "Azure-SDK-For-Go/v12.2.0-beta arm-recoveryservicesbackup/"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
return "v11.0.0-beta"
return "v12.2.0-beta"
}