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
+15 -18
View File
@@ -14,9 +14,8 @@ package servermanagement
// 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"
)
// SessionClient is the rEST API for Azure Server Management Service.
// SessionClient is the REST API for Azure Server Management Service.
type SessionClient struct {
ManagementClient
}
@@ -40,14 +39,12 @@ func NewSessionClientWithBaseURI(baseURI string, subscriptionID string) SessionC
return SessionClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// Create creates a session for a node. 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.
// Create creates a session for a node. 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 uniquely identifies the
// resource group within the user subscriptionId. nodeName is the node name
// (256 characters maximum). session is the sessionId from the user.
// sessionParameters is parameters supplied to the CreateOrUpdate operation.
// resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId.
// nodeName is the node name (256 characters maximum). session is the sessionId from the user. sessionParameters is
// parameters supplied to the CreateOrUpdate operation.
func (client SessionClient) Create(resourceGroupName string, nodeName string, session string, sessionParameters SessionParameters, cancel <-chan struct{}) (<-chan SessionResource, <-chan error) {
resultChan := make(chan SessionResource, 1)
errChan := make(chan error, 1)
@@ -69,8 +66,10 @@ func (client SessionClient) Create(resourceGroupName string, nodeName string, se
var err error
var result SessionResource
defer func() {
if err != nil {
errChan <- err
}
resultChan <- result
errChan <- err
close(resultChan)
close(errChan)
}()
@@ -142,9 +141,8 @@ func (client SessionClient) CreateResponder(resp *http.Response) (result Session
// Delete deletes a session for a node.
//
// resourceGroupName is the resource group name uniquely identifies the
// resource group within the user subscriptionId. nodeName is the node name
// (256 characters maximum). session is the sessionId from the user.
// resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId.
// nodeName is the node name (256 characters maximum). session is the sessionId from the user.
func (client SessionClient) Delete(resourceGroupName string, nodeName string, session string) (result autorest.Response, err error) {
if err := validation.Validate([]validation.Validation{
{TargetValue: resourceGroupName,
@@ -220,9 +218,8 @@ func (client SessionClient) DeleteResponder(resp *http.Response) (result autores
// Get gets a session for a node.
//
// resourceGroupName is the resource group name uniquely identifies the
// resource group within the user subscriptionId. nodeName is the node name
// (256 characters maximum). session is the sessionId from the user.
// resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId.
// nodeName is the node name (256 characters maximum). session is the sessionId from the user.
func (client SessionClient) Get(resourceGroupName string, nodeName string, session string) (result SessionResource, err error) {
if err := validation.Validate([]validation.Validation{
{TargetValue: resourceGroupName,