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
@@ -88,7 +88,9 @@ func (client BackupStorageConfigsClient) GetPreparer(resourceGroupName string, v
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client BackupStorageConfigsClient) 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 BackupStorageConfigsClient) UpdatePreparer(resourceGroupName string
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client BackupStorageConfigsClient) 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 BackupVaultConfigsClient) GetPreparer(resourceGroupName string, vau
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client BackupVaultConfigsClient) 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 BackupVaultConfigsClient) UpdatePreparer(resourceGroupName string,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client BackupVaultConfigsClient) 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
@@ -1,6 +1,8 @@
// Package recoveryservices implements the Azure ARM Recoveryservices service API version .
//
// Recovery Services Client
//
// Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services
package recoveryservices
// Copyright (c) Microsoft and contributors. All rights reserved.
@@ -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
@@ -89,7 +89,9 @@ func (client RegisteredIdentitiesClient) DeletePreparer(resourceGroupName string
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RegisteredIdentitiesClient) 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
@@ -88,7 +88,9 @@ func (client ReplicationUsagesClient) ListPreparer(resourceGroupName string, vau
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationUsagesClient) 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
+3 -1
View File
@@ -88,7 +88,9 @@ func (client UsagesClient) ListByVaultsPreparer(resourceGroupName string, vaultN
// ListByVaultsSender sends the ListByVaults request. The method will close the
// http.Response Body if it receives an error.
func (client UsagesClient) ListByVaultsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListByVaultsResponder handles the response to the ListByVaults request. The method always
@@ -92,7 +92,9 @@ func (client VaultCertificatesClient) CreatePreparer(resourceGroupName string, v
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client VaultCertificatesClient) CreateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// CreateResponder handles the response to the Create request. The method always
@@ -90,7 +90,9 @@ func (client VaultExtendedInfoClient) CreateOrUpdatePreparer(resourceGroupName s
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VaultExtendedInfoClient) 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
@@ -156,7 +158,9 @@ func (client VaultExtendedInfoClient) GetPreparer(resourceGroupName string, vaul
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VaultExtendedInfoClient) 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
@@ -224,7 +228,9 @@ func (client VaultExtendedInfoClient) UpdatePreparer(resourceGroupName string, v
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VaultExtendedInfoClient) 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
+18 -6
View File
@@ -90,7 +90,9 @@ func (client VaultsClient) CreateOrUpdatePreparer(resourceGroupName string, vaul
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VaultsClient) 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
@@ -156,7 +158,9 @@ func (client VaultsClient) DeletePreparer(resourceGroupName string, vaultName st
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VaultsClient) 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
@@ -221,7 +225,9 @@ func (client VaultsClient) GetPreparer(resourceGroupName string, vaultName strin
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VaultsClient) 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
@@ -285,7 +291,9 @@ func (client VaultsClient) ListByResourceGroupPreparer(resourceGroupName string)
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client VaultsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -346,7 +354,9 @@ func (client VaultsClient) ListBySubscriptionIDPreparer() (*http.Request, error)
// ListBySubscriptionIDSender sends the ListBySubscriptionID request. The method will close the
// http.Response Body if it receives an error.
func (client VaultsClient) ListBySubscriptionIDSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListBySubscriptionIDResponder handles the response to the ListBySubscriptionID request. The method always
@@ -414,7 +424,9 @@ func (client VaultsClient) UpdatePreparer(resourceGroupName string, vaultName st
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VaultsClient) 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
+2 -2
View File
@@ -19,10 +19,10 @@ package recoveryservices
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
return "Azure-SDK-For-Go/v11.0.0-beta arm-recoveryservices/"
return "Azure-SDK-For-Go/v12.2.0-beta arm-recoveryservices/"
}
// 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"
}