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
+50 -9
View File
@@ -14,9 +14,8 @@ package graphrbac
// 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,8 +24,7 @@ import (
"net/http"
)
// ObjectsClient is the composite Swagger specification for Azure Active
// Directory Graph RBAC management client.
// ObjectsClient is the the Graph RBAC Management Client
type ObjectsClient struct {
ManagementClient
}
@@ -102,8 +100,7 @@ func (client ObjectsClient) GetCurrentUserResponder(resp *http.Response) (result
return
}
// GetObjectsByObjectIds gets AD group membership for the specified AD object
// IDs.
// GetObjectsByObjectIds gets AD group membership for the specified AD object IDs.
//
// parameters is objects filtering parameters.
func (client ObjectsClient) GetObjectsByObjectIds(parameters GetObjectsParameters) (result GetObjectsResult, err error) {
@@ -174,8 +171,52 @@ func (client ObjectsClient) GetObjectsByObjectIdsResponder(resp *http.Response)
return
}
// GetObjectsByObjectIdsNext gets AD group membership for the specified AD
// object IDs.
// GetObjectsByObjectIdsComplete gets all elements from the list without paging.
func (client ObjectsClient) GetObjectsByObjectIdsComplete(parameters GetObjectsParameters, cancel <-chan struct{}) (<-chan AADObject, <-chan error) {
resultChan := make(chan AADObject)
errChan := make(chan error, 1)
go func() {
defer func() {
close(resultChan)
close(errChan)
}()
list, err := client.GetObjectsByObjectIds(parameters)
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.OdataNextLink != nil {
list, err = client.GetObjectsByObjectIdsNext(*list.OdataNextLink)
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
}
// GetObjectsByObjectIdsNext gets AD group membership for the specified AD object IDs.
//
// nextLink is next link for the list operation.
func (client ObjectsClient) GetObjectsByObjectIdsNext(nextLink string) (result GetObjectsResult, err error) {