vendor: update all dependencies to latest versions
This commit is contained in:
+14
-18
@@ -14,9 +14,8 @@ package hdinsight
|
||||
// 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"
|
||||
@@ -24,28 +23,25 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// ConfigurationsClient is the the HDInsight Management Client.
|
||||
// ConfigurationsClient is the hDInsight Management Client
|
||||
type ConfigurationsClient struct {
|
||||
ManagementClient
|
||||
}
|
||||
|
||||
// NewConfigurationsClient creates an instance of the ConfigurationsClient
|
||||
// client.
|
||||
// NewConfigurationsClient creates an instance of the ConfigurationsClient client.
|
||||
func NewConfigurationsClient(subscriptionID string) ConfigurationsClient {
|
||||
return NewConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
|
||||
}
|
||||
|
||||
// NewConfigurationsClientWithBaseURI creates an instance of the
|
||||
// ConfigurationsClient client.
|
||||
// NewConfigurationsClientWithBaseURI creates an instance of the ConfigurationsClient client.
|
||||
func NewConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsClient {
|
||||
return ConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
|
||||
}
|
||||
|
||||
// Get the configuration object for the specified cluster.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group. clusterName is the name
|
||||
// of the cluster. configurationName is the constant for configuration type of
|
||||
// gateway.
|
||||
// resourceGroupName is the name of the resource group. clusterName is the name of the cluster. configurationName is
|
||||
// the constant for configuration type of gateway.
|
||||
func (client ConfigurationsClient) Get(resourceGroupName string, clusterName string, configurationName Configurationname) (result HTTPConnectivitySettings, err error) {
|
||||
req, err := client.GetPreparer(resourceGroupName, clusterName, configurationName)
|
||||
if err != nil {
|
||||
@@ -109,14 +105,12 @@ func (client ConfigurationsClient) GetResponder(resp *http.Response) (result HTT
|
||||
return
|
||||
}
|
||||
|
||||
// UpdateHTTPSettings begins configuring the HTTP settings on the specified
|
||||
// cluster. This method may poll for completion. Polling can be canceled by
|
||||
// passing the cancel channel argument. The channel will be used to cancel
|
||||
// UpdateHTTPSettings begins configuring the HTTP settings on the specified cluster. 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 name of the resource group. clusterName is the name
|
||||
// of the cluster. configurationName is the constant for configuration type of
|
||||
// gateway. parameters is the name of the resource group.
|
||||
// resourceGroupName is the name of the resource group. clusterName is the name of the cluster. configurationName is
|
||||
// the constant for configuration type of gateway. parameters is the name of the resource group.
|
||||
func (client ConfigurationsClient) UpdateHTTPSettings(resourceGroupName string, clusterName string, configurationName string, parameters HTTPConnectivitySettings, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error) {
|
||||
resultChan := make(chan autorest.Response, 1)
|
||||
errChan := make(chan error, 1)
|
||||
@@ -124,8 +118,10 @@ func (client ConfigurationsClient) UpdateHTTPSettings(resourceGroupName string,
|
||||
var err error
|
||||
var result autorest.Response
|
||||
defer func() {
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
}
|
||||
resultChan <- result
|
||||
errChan <- err
|
||||
close(resultChan)
|
||||
close(errChan)
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user