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"
)
// SchemasClient is the rEST API for Azure Logic Apps.
// SchemasClient is the REST API for Azure Logic Apps.
type SchemasClient struct {
ManagementClient
}
@@ -42,9 +41,8 @@ func NewSchemasClientWithBaseURI(baseURI string, subscriptionID string) SchemasC
// CreateOrUpdate creates or updates an integration account schema.
//
// resourceGroupName is the resource group name. integrationAccountName is the
// integration account name. schemaName is the integration account schema name.
// schema is the integration account schema.
// resourceGroupName is the resource group name. integrationAccountName is the integration account name. schemaName is
// the integration account schema name. schema is the integration account schema.
func (client SchemasClient) CreateOrUpdate(resourceGroupName string, integrationAccountName string, schemaName string, schema IntegrationAccountSchema) (result IntegrationAccountSchema, err error) {
if err := validation.Validate([]validation.Validation{
{TargetValue: schema,
@@ -118,8 +116,8 @@ func (client SchemasClient) CreateOrUpdateResponder(resp *http.Response) (result
// Delete deletes an integration account schema.
//
// resourceGroupName is the resource group name. integrationAccountName is the
// integration account name. schemaName is the integration account schema name.
// resourceGroupName is the resource group name. integrationAccountName is the integration account name. schemaName is
// the integration account schema name.
func (client SchemasClient) Delete(resourceGroupName string, integrationAccountName string, schemaName string) (result autorest.Response, err error) {
req, err := client.DeletePreparer(resourceGroupName, integrationAccountName, schemaName)
if err != nil {
@@ -184,8 +182,8 @@ func (client SchemasClient) DeleteResponder(resp *http.Response) (result autores
// Get gets an integration account schema.
//
// resourceGroupName is the resource group name. integrationAccountName is the
// integration account name. schemaName is the integration account schema name.
// resourceGroupName is the resource group name. integrationAccountName is the integration account name. schemaName is
// the integration account schema name.
func (client SchemasClient) Get(resourceGroupName string, integrationAccountName string, schemaName string) (result IntegrationAccountSchema, err error) {
req, err := client.GetPreparer(resourceGroupName, integrationAccountName, schemaName)
if err != nil {
@@ -251,9 +249,8 @@ func (client SchemasClient) GetResponder(resp *http.Response) (result Integratio
// ListByIntegrationAccounts gets a list of integration account schemas.
//
// 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 SchemasClient) ListByIntegrationAccounts(resourceGroupName string, integrationAccountName string, top *int32, filter string) (result IntegrationAccountSchemaListResult, err error) {
req, err := client.ListByIntegrationAccountsPreparer(resourceGroupName, integrationAccountName, top, filter)
if err != nil {
@@ -345,3 +342,48 @@ func (client SchemasClient) ListByIntegrationAccountsNextResults(lastResults Int
return
}
// ListByIntegrationAccountsComplete gets all elements from the list without paging.
func (client SchemasClient) ListByIntegrationAccountsComplete(resourceGroupName string, integrationAccountName string, top *int32, filter string, cancel <-chan struct{}) (<-chan IntegrationAccountSchema, <-chan error) {
resultChan := make(chan IntegrationAccountSchema)
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
}