vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2017-09-30 15:27:27 +01:00
parent 911d121bb9
commit b017fcfe9a
3048 changed files with 537055 additions and 189679 deletions
+56 -14
View File
@@ -14,9 +14,8 @@ package logic
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"github.com/Azure/go-autorest/autorest"
@@ -25,7 +24,7 @@ import (
"net/http"
)
// MapsClient is the rEST API for Azure Logic Apps.
// MapsClient is the REST API for Azure Logic Apps.
type MapsClient struct {
ManagementClient
}
@@ -42,9 +41,8 @@ func NewMapsClientWithBaseURI(baseURI string, subscriptionID string) MapsClient
// CreateOrUpdate creates or updates an integration account map.
//
// resourceGroupName is the resource group name. integrationAccountName is the
// integration account name. mapName is the integration account map name.
// mapParameter is the integration account map.
// resourceGroupName is the resource group name. integrationAccountName is the integration account name. mapName is the
// integration account map name. mapParameter is the integration account map.
func (client MapsClient) CreateOrUpdate(resourceGroupName string, integrationAccountName string, mapName string, mapParameter IntegrationAccountMap) (result IntegrationAccountMap, err error) {
if err := validation.Validate([]validation.Validation{
{TargetValue: mapParameter,
@@ -118,8 +116,8 @@ func (client MapsClient) CreateOrUpdateResponder(resp *http.Response) (result In
// Delete deletes an integration account map.
//
// resourceGroupName is the resource group name. integrationAccountName is the
// integration account name. mapName is the integration account map name.
// resourceGroupName is the resource group name. integrationAccountName is the integration account name. mapName is the
// integration account map name.
func (client MapsClient) Delete(resourceGroupName string, integrationAccountName string, mapName string) (result autorest.Response, err error) {
req, err := client.DeletePreparer(resourceGroupName, integrationAccountName, mapName)
if err != nil {
@@ -184,8 +182,8 @@ func (client MapsClient) DeleteResponder(resp *http.Response) (result autorest.R
// Get gets an integration account map.
//
// resourceGroupName is the resource group name. integrationAccountName is the
// integration account name. mapName is the integration account map name.
// resourceGroupName is the resource group name. integrationAccountName is the integration account name. mapName is the
// integration account map name.
func (client MapsClient) Get(resourceGroupName string, integrationAccountName string, mapName string) (result IntegrationAccountMap, err error) {
req, err := client.GetPreparer(resourceGroupName, integrationAccountName, mapName)
if err != nil {
@@ -251,9 +249,8 @@ func (client MapsClient) GetResponder(resp *http.Response) (result IntegrationAc
// ListByIntegrationAccounts gets a list of integration account maps.
//
// resourceGroupName is the resource group name. integrationAccountName is the
// integration account name. top is the number of items to be included in the
// result. filter is the filter to apply on the operation.
// resourceGroupName is the resource group name. integrationAccountName is the integration account name. top is the
// number of items to be included in the result. filter is the filter to apply on the operation.
func (client MapsClient) ListByIntegrationAccounts(resourceGroupName string, integrationAccountName string, top *int32, filter string) (result IntegrationAccountMapListResult, err error) {
req, err := client.ListByIntegrationAccountsPreparer(resourceGroupName, integrationAccountName, top, filter)
if err != nil {
@@ -345,3 +342,48 @@ func (client MapsClient) ListByIntegrationAccountsNextResults(lastResults Integr
return
}
// ListByIntegrationAccountsComplete gets all elements from the list without paging.
func (client MapsClient) ListByIntegrationAccountsComplete(resourceGroupName string, integrationAccountName string, top *int32, filter string, cancel <-chan struct{}) (<-chan IntegrationAccountMap, <-chan error) {
resultChan := make(chan IntegrationAccountMap)
errChan := make(chan error, 1)
go func() {
defer func() {
close(resultChan)
close(errChan)
}()
list, err := client.ListByIntegrationAccounts(resourceGroupName, integrationAccountName, top, filter)
if err != nil {
errChan <- err
return
}
if list.Value != nil {
for _, item := range *list.Value {
select {
case <-cancel:
return
case resultChan <- item:
// Intentionally left blank
}
}
}
for list.NextLink != nil {
list, err = client.ListByIntegrationAccountsNextResults(list)
if err != nil {
errChan <- err
return
}
if list.Value != nil {
for _, item := range *list.Value {
select {
case <-cancel:
return
case resultChan <- item:
// Intentionally left blank
}
}
}
}
}()
return resultChan, errChan
}