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
+25 -27
View File
@@ -14,9 +14,8 @@ package automation
// 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"
@@ -26,7 +25,7 @@ import (
"net/http"
)
// RunbookDraftClient is the composite Swagger json for Azure Automation Client
// RunbookDraftClient is the automation Client
type RunbookDraftClient struct {
ManagementClient
}
@@ -36,21 +35,18 @@ func NewRunbookDraftClient(subscriptionID string) RunbookDraftClient {
return NewRunbookDraftClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
// NewRunbookDraftClientWithBaseURI creates an instance of the
// RunbookDraftClient client.
// NewRunbookDraftClientWithBaseURI creates an instance of the RunbookDraftClient client.
func NewRunbookDraftClientWithBaseURI(baseURI string, subscriptionID string) RunbookDraftClient {
return RunbookDraftClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// CreateOrUpdate updates the runbook draft with runbookStream as its content.
// This method may poll for completion. Polling can be canceled by passing the
// cancel channel argument. The channel will be used to cancel polling and any
// CreateOrUpdate updates the runbook draft with runbookStream as its content. This method may poll for completion.
// Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any
// outstanding HTTP requests.
//
// resourceGroupName is the resource group name. automationAccountName is the
// automation account name. runbookName is the runbook name. runbookContent is
// the runbook draft content. runbookContent will be closed upon successful
// return. Callers should ensure closure when receiving an error.
// resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is
// the runbook name. runbookContent is the runbook draft content. runbookContent will be closed upon successful return.
// Callers should ensure closure when receiving an error.
func (client RunbookDraftClient) CreateOrUpdate(resourceGroupName string, automationAccountName string, runbookName string, runbookContent io.ReadCloser, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error) {
resultChan := make(chan autorest.Response, 1)
errChan := make(chan error, 1)
@@ -67,8 +63,10 @@ func (client RunbookDraftClient) CreateOrUpdate(resourceGroupName string, automa
var err error
var result autorest.Response
defer func() {
if err != nil {
errChan <- err
}
resultChan <- result
errChan <- err
close(resultChan)
close(errChan)
}()
@@ -138,8 +136,8 @@ func (client RunbookDraftClient) CreateOrUpdateResponder(resp *http.Response) (r
// Get retrieve the runbook draft identified by runbook name.
//
// resourceGroupName is the resource group name. automationAccountName is the
// automation account name. runbookName is the runbook name.
// resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is
// the runbook name.
func (client RunbookDraftClient) Get(resourceGroupName string, automationAccountName string, runbookName string) (result RunbookDraft, err error) {
if err := validation.Validate([]validation.Validation{
{TargetValue: resourceGroupName,
@@ -211,8 +209,8 @@ func (client RunbookDraftClient) GetResponder(resp *http.Response) (result Runbo
// GetContent retrieve the content of runbook draft identified by runbook name.
//
// resourceGroupName is the resource group name. automationAccountName is the
// automation account name. runbookName is the runbook name.
// resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is
// the runbook name.
func (client RunbookDraftClient) GetContent(resourceGroupName string, automationAccountName string, runbookName string) (result ReadCloser, err error) {
if err := validation.Validate([]validation.Validation{
{TargetValue: resourceGroupName,
@@ -281,13 +279,11 @@ func (client RunbookDraftClient) GetContentResponder(resp *http.Response) (resul
return
}
// Publish publish runbook draft. This method may poll for completion. Polling
// can be canceled by passing the cancel channel argument. The channel will be
// used to cancel polling and any outstanding HTTP requests.
// Publish publish runbook draft. This method may poll for completion. Polling can be canceled by passing the cancel
// channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
//
// resourceGroupName is the resource group name. automationAccountName is the
// automation account name. runbookName is the parameters supplied to the
// publish runbook operation.
// resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is
// the parameters supplied to the publish runbook operation.
func (client RunbookDraftClient) Publish(resourceGroupName string, automationAccountName string, runbookName string, cancel <-chan struct{}) (<-chan Runbook, <-chan error) {
resultChan := make(chan Runbook, 1)
errChan := make(chan error, 1)
@@ -304,8 +300,10 @@ func (client RunbookDraftClient) Publish(resourceGroupName string, automationAcc
var err error
var result Runbook
defer func() {
if err != nil {
errChan <- err
}
resultChan <- result
errChan <- err
close(resultChan)
close(errChan)
}()
@@ -375,8 +373,8 @@ func (client RunbookDraftClient) PublishResponder(resp *http.Response) (result R
// UndoEdit retrieve the runbook identified by runbook name.
//
// resourceGroupName is the resource group name. automationAccountName is the
// automation account name. runbookName is the runbook name.
// resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is
// the runbook name.
func (client RunbookDraftClient) UndoEdit(resourceGroupName string, automationAccountName string, runbookName string) (result RunbookDraftUndoEditResult, err error) {
if err := validation.Validate([]validation.Validation{
{TargetValue: resourceGroupName,