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
+8 -2
View File
@@ -2,6 +2,8 @@
//
// Use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests
// made to these resources are secure.
//
// Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn
package cdn
// Copyright (c) Microsoft and contributors. All rights reserved.
@@ -107,7 +109,9 @@ func (client ManagementClient) CheckNameAvailabilityPreparer(checkNameAvailabili
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -180,7 +184,9 @@ func (client ManagementClient) ValidateProbePreparer(validateProbeInput Validate
// ValidateProbeSender sends the ValidateProbe request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) ValidateProbeSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ValidateProbeResponder handles the response to the ValidateProbe request. The method always
+14 -4
View File
@@ -127,6 +127,7 @@ func (client CustomDomainsClient) CreatePreparer(resourceGroupName string, profi
func (client CustomDomainsClient) CreateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
@@ -224,6 +225,7 @@ func (client CustomDomainsClient) DeletePreparer(resourceGroupName string, profi
func (client CustomDomainsClient) DeleteSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
@@ -301,7 +303,9 @@ func (client CustomDomainsClient) DisableCustomHTTPSPreparer(resourceGroupName s
// DisableCustomHTTPSSender sends the DisableCustomHTTPS request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) DisableCustomHTTPSSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// DisableCustomHTTPSResponder handles the response to the DisableCustomHTTPS request. The method always
@@ -378,7 +382,9 @@ func (client CustomDomainsClient) EnableCustomHTTPSPreparer(resourceGroupName st
// EnableCustomHTTPSSender sends the EnableCustomHTTPS request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) EnableCustomHTTPSSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// EnableCustomHTTPSResponder handles the response to the EnableCustomHTTPS request. The method always
@@ -455,7 +461,9 @@ func (client CustomDomainsClient) GetPreparer(resourceGroupName string, profileN
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) 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
@@ -531,7 +539,9 @@ func (client CustomDomainsClient) ListByEndpointPreparer(resourceGroupName strin
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
+3 -1
View File
@@ -80,7 +80,9 @@ func (client EdgeNodesClient) ListPreparer() (*http.Request, error) {
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client EdgeNodesClient) 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
+19 -4
View File
@@ -125,6 +125,7 @@ func (client EndpointsClient) CreatePreparer(resourceGroupName string, profileNa
func (client EndpointsClient) CreateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
@@ -221,6 +222,7 @@ func (client EndpointsClient) DeletePreparer(resourceGroupName string, profileNa
func (client EndpointsClient) DeleteSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
@@ -297,7 +299,9 @@ func (client EndpointsClient) GetPreparer(resourceGroupName string, profileName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) 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
@@ -371,7 +375,9 @@ func (client EndpointsClient) ListByProfilePreparer(resourceGroupName string, pr
// ListByProfileSender sends the ListByProfile request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ListByProfileSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListByProfileResponder handles the response to the ListByProfile request. The method always
@@ -516,7 +522,9 @@ func (client EndpointsClient) ListResourceUsagePreparer(resourceGroupName string
// ListResourceUsageSender sends the ListResourceUsage request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ListResourceUsageSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListResourceUsageResponder handles the response to the ListResourceUsage request. The method always
@@ -686,6 +694,7 @@ func (client EndpointsClient) LoadContentPreparer(resourceGroupName string, prof
func (client EndpointsClient) LoadContentSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
@@ -786,6 +795,7 @@ func (client EndpointsClient) PurgeContentPreparer(resourceGroupName string, pro
func (client EndpointsClient) PurgeContentSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
@@ -881,6 +891,7 @@ func (client EndpointsClient) StartPreparer(resourceGroupName string, profileNam
func (client EndpointsClient) StartSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
@@ -976,6 +987,7 @@ func (client EndpointsClient) StopPreparer(resourceGroupName string, profileName
func (client EndpointsClient) StopSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
@@ -1076,6 +1088,7 @@ func (client EndpointsClient) UpdatePreparer(resourceGroupName string, profileNa
func (client EndpointsClient) UpdateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
@@ -1156,7 +1169,9 @@ func (client EndpointsClient) ValidateCustomDomainPreparer(resourceGroupName str
// ValidateCustomDomainSender sends the ValidateCustomDomain request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ValidateCustomDomainSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ValidateCustomDomainResponder handles the response to the ValidateCustomDomain request. The method always
+3 -1
View File
@@ -80,7 +80,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
+7 -2
View File
@@ -101,7 +101,9 @@ func (client OriginsClient) GetPreparer(resourceGroupName string, profileName st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) 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
@@ -177,7 +179,9 @@ func (client OriginsClient) ListByEndpointPreparer(resourceGroupName string, pro
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
@@ -346,6 +350,7 @@ func (client OriginsClient) UpdatePreparer(resourceGroupName string, profileName
func (client OriginsClient) UpdateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
+21 -6
View File
@@ -122,6 +122,7 @@ func (client ProfilesClient) CreatePreparer(resourceGroupName string, profileNam
func (client ProfilesClient) CreateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
@@ -217,6 +218,7 @@ func (client ProfilesClient) DeletePreparer(resourceGroupName string, profileNam
func (client ProfilesClient) DeleteSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
@@ -293,7 +295,9 @@ func (client ProfilesClient) GenerateSsoURIPreparer(resourceGroupName string, pr
// GenerateSsoURISender sends the GenerateSsoURI request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GenerateSsoURISender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GenerateSsoURIResponder handles the response to the GenerateSsoURI request. The method always
@@ -367,7 +371,9 @@ func (client ProfilesClient) GetPreparer(resourceGroupName string, profileName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) 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
@@ -428,7 +434,9 @@ func (client ProfilesClient) ListPreparer() (*http.Request, error) {
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) 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
@@ -569,7 +577,9 @@ func (client ProfilesClient) ListByResourceGroupPreparer(resourceGroupName strin
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) 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
@@ -712,7 +722,9 @@ func (client ProfilesClient) ListResourceUsagePreparer(resourceGroupName string,
// ListResourceUsageSender sends the ListResourceUsage request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListResourceUsageSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListResourceUsageResponder handles the response to the ListResourceUsage request. The method always
@@ -856,7 +868,9 @@ func (client ProfilesClient) ListSupportedOptimizationTypesPreparer(resourceGrou
// ListSupportedOptimizationTypesSender sends the ListSupportedOptimizationTypes request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListSupportedOptimizationTypesSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListSupportedOptimizationTypesResponder handles the response to the ListSupportedOptimizationTypes request. The method always
@@ -953,6 +967,7 @@ func (client ProfilesClient) UpdatePreparer(resourceGroupName string, profileNam
func (client ProfilesClient) UpdateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
+3 -1
View File
@@ -84,7 +84,9 @@ func (client ResourceUsageClient) ListPreparer() (*http.Request, error) {
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceUsageClient) 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
+2 -2
View File
@@ -19,10 +19,10 @@ package cdn
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
return "Azure-SDK-For-Go/v11.0.0-beta arm-cdn/2017-04-02"
return "Azure-SDK-For-Go/v12.2.0-beta arm-cdn/2017-04-02"
}
// 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"
}