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
@@ -14,7 +14,7 @@ package recoveryservicessiterecovery
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
@@ -105,8 +105,10 @@ func (client ReplicationEventsClient) GetResponder(resp *http.Response) (result
}
// List gets the list of Azure Site Recovery events for the vault.
func (client ReplicationEventsClient) List() (result EventCollection, err error) {
req, err := client.ListPreparer()
//
// filter is oData filter options.
func (client ReplicationEventsClient) List(filter string) (result EventCollection, err error) {
req, err := client.ListPreparer(filter)
if err != nil {
err = autorest.NewErrorWithError(err, "recoveryservicessiterecovery.ReplicationEventsClient", "List", nil, "Failure preparing request")
return
@@ -128,7 +130,7 @@ func (client ReplicationEventsClient) List() (result EventCollection, err error)
}
// ListPreparer prepares the List request.
func (client ReplicationEventsClient) ListPreparer() (*http.Request, error) {
func (client ReplicationEventsClient) ListPreparer(filter string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"resourceGroupName": autorest.Encode("path", client.ResourceGroupName),
"resourceName": autorest.Encode("path", client.ResourceName),
@@ -139,6 +141,9 @@ func (client ReplicationEventsClient) ListPreparer() (*http.Request, error) {
queryParameters := map[string]interface{}{
"api-version": APIVersion,
}
if len(filter) > 0 {
queryParameters["$filter"] = autorest.Encode("query", filter)
}
preparer := autorest.CreatePreparer(
autorest.AsGet(),
@@ -192,7 +197,7 @@ func (client ReplicationEventsClient) ListNextResults(lastResults EventCollectio
}
// ListComplete gets all elements from the list without paging.
func (client ReplicationEventsClient) ListComplete(cancel <-chan struct{}) (<-chan Event, <-chan error) {
func (client ReplicationEventsClient) ListComplete(filter string, cancel <-chan struct{}) (<-chan Event, <-chan error) {
resultChan := make(chan Event)
errChan := make(chan error, 1)
go func() {
@@ -200,7 +205,7 @@ func (client ReplicationEventsClient) ListComplete(cancel <-chan struct{}) (<-ch
close(resultChan)
close(errChan)
}()
list, err := client.List()
list, err := client.List(filter)
if err != nil {
errChan <- err
return