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
+2
View File
@@ -1,6 +1,8 @@
// Package iothub implements the Azure ARM Iothub service API version 2017-07-01.
//
// Use this API to manage the IoT hubs in your Azure subscription.
//
// Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices
package iothub
// Copyright (c) Microsoft and contributors. All rights reserved.
+3 -1
View File
@@ -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
+53 -17
View File
@@ -94,7 +94,9 @@ func (client ResourceClient) CheckNameAvailabilityPreparer(operationInputs Opera
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -163,7 +165,9 @@ func (client ResourceClient) CreateEventHubConsumerGroupPreparer(resourceGroupNa
// CreateEventHubConsumerGroupSender sends the CreateEventHubConsumerGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) CreateEventHubConsumerGroupSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// CreateEventHubConsumerGroupResponder handles the response to the CreateEventHubConsumerGroup request. The method always
@@ -285,6 +289,7 @@ func (client ResourceClient) CreateOrUpdatePreparer(resourceGroupName string, re
func (client ResourceClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
@@ -367,6 +372,7 @@ func (client ResourceClient) DeletePreparer(resourceGroupName string, resourceNa
func (client ResourceClient) DeleteSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client),
azure.DoPollForAsynchronous(client.PollingDelay))
}
@@ -436,7 +442,9 @@ func (client ResourceClient) DeleteEventHubConsumerGroupPreparer(resourceGroupNa
// DeleteEventHubConsumerGroupSender sends the DeleteEventHubConsumerGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) DeleteEventHubConsumerGroupSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// DeleteEventHubConsumerGroupResponder handles the response to the DeleteEventHubConsumerGroup request. The method always
@@ -512,7 +520,9 @@ func (client ResourceClient) ExportDevicesPreparer(resourceGroupName string, res
// ExportDevicesSender sends the ExportDevices request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) ExportDevicesSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ExportDevicesResponder handles the response to the ExportDevices request. The method always
@@ -578,7 +588,9 @@ func (client ResourceClient) GetPreparer(resourceGroupName string, resourceName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) 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
@@ -647,7 +659,9 @@ func (client ResourceClient) GetEventHubConsumerGroupPreparer(resourceGroupName
// GetEventHubConsumerGroupSender sends the GetEventHubConsumerGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) GetEventHubConsumerGroupSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetEventHubConsumerGroupResponder handles the response to the GetEventHubConsumerGroup request. The method always
@@ -715,7 +729,9 @@ func (client ResourceClient) GetJobPreparer(resourceGroupName string, resourceNa
// GetJobSender sends the GetJob request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) GetJobSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetJobResponder handles the response to the GetJob request. The method always
@@ -783,7 +799,9 @@ func (client ResourceClient) GetKeysForKeyNamePreparer(resourceGroupName string,
// GetKeysForKeyNameSender sends the GetKeysForKeyName request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) GetKeysForKeyNameSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetKeysForKeyNameResponder handles the response to the GetKeysForKeyName request. The method always
@@ -849,7 +867,9 @@ func (client ResourceClient) GetQuotaMetricsPreparer(resourceGroupName string, r
// GetQuotaMetricsSender sends the GetQuotaMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) GetQuotaMetricsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetQuotaMetricsResponder handles the response to the GetQuotaMetrics request. The method always
@@ -984,7 +1004,9 @@ func (client ResourceClient) GetStatsPreparer(resourceGroupName string, resource
// GetStatsSender sends the GetStats request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) GetStatsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetStatsResponder handles the response to the GetStats request. The method always
@@ -1050,7 +1072,9 @@ func (client ResourceClient) GetValidSkusPreparer(resourceGroupName string, reso
// GetValidSkusSender sends the GetValidSkus request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) GetValidSkusSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// GetValidSkusResponder handles the response to the GetValidSkus request. The method always
@@ -1196,7 +1220,9 @@ func (client ResourceClient) ImportDevicesPreparer(resourceGroupName string, res
// ImportDevicesSender sends the ImportDevices request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) ImportDevicesSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ImportDevicesResponder handles the response to the ImportDevices request. The method always
@@ -1260,7 +1286,9 @@ func (client ResourceClient) ListByResourceGroupPreparer(resourceGroupName strin
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) 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
@@ -1390,7 +1418,9 @@ func (client ResourceClient) ListBySubscriptionPreparer() (*http.Request, error)
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
@@ -1527,7 +1557,9 @@ func (client ResourceClient) ListEventHubConsumerGroupsPreparer(resourceGroupNam
// ListEventHubConsumerGroupsSender sends the ListEventHubConsumerGroups request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) ListEventHubConsumerGroupsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListEventHubConsumerGroupsResponder handles the response to the ListEventHubConsumerGroups request. The method always
@@ -1663,7 +1695,9 @@ func (client ResourceClient) ListJobsPreparer(resourceGroupName string, resource
// ListJobsSender sends the ListJobs request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) ListJobsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListJobsResponder handles the response to the ListJobs request. The method always
@@ -1799,7 +1833,9 @@ func (client ResourceClient) ListKeysPreparer(resourceGroupName string, resource
// ListKeysSender sends the ListKeys request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceClient) ListKeysSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
azure.DoRetryWithRegistration(client.Client))
}
// ListKeysResponder handles the response to the ListKeys request. The method always
+2 -2
View File
@@ -19,10 +19,10 @@ package iothub
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
return "Azure-SDK-For-Go/v11.0.0-beta arm-iothub/2017-07-01"
return "Azure-SDK-For-Go/v12.2.0-beta arm-iothub/2017-07-01"
}
// 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"
}