forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 0ab9f319950da966fb91bd8443e1641479c7d322 (Azure#3470)
[HDInsight] - Initial commit for Swagger-based Job SDK
- Loading branch information
1 parent
c101426
commit 3ac1c49
Showing
7 changed files
with
1,234 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
profiles/preview/preview/hdinsight/hdinsight/hdinsightapi/models.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// +build go1.9 | ||
|
||
// Copyright 2018 Microsoft Corporation | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// This code was auto-generated by: | ||
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder | ||
|
||
package hdinsightapi | ||
|
||
import original "github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/2018-11-01-preview/hdinsight/hdinsightapi" | ||
|
||
type JobClientAPI = original.JobClientAPI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// +build go1.9 | ||
|
||
// Copyright 2018 Microsoft Corporation | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// This code was auto-generated by: | ||
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder | ||
|
||
package hdinsight | ||
|
||
import original "github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/2018-11-01-preview/hdinsight" | ||
|
||
type ApplicationState = original.ApplicationState | ||
|
||
const ( | ||
ACCEPTED ApplicationState = original.ACCEPTED | ||
FAILED ApplicationState = original.FAILED | ||
FINISHED ApplicationState = original.FINISHED | ||
KILLED ApplicationState = original.KILLED | ||
NEW ApplicationState = original.NEW | ||
NEWSAVING ApplicationState = original.NEWSAVING | ||
RUNNING ApplicationState = original.RUNNING | ||
SUBMITTED ApplicationState = original.SUBMITTED | ||
) | ||
|
||
type AppState = original.AppState | ||
type BaseClient = original.BaseClient | ||
type JobClient = original.JobClient | ||
type JobDetailRootJSONObject = original.JobDetailRootJSONObject | ||
type JobID = original.JobID | ||
type JobListJSONObject = original.JobListJSONObject | ||
type JobOperationsErrorResponse = original.JobOperationsErrorResponse | ||
type JobSubmissionJSONResponse = original.JobSubmissionJSONResponse | ||
type ListJobListJSONObject = original.ListJobListJSONObject | ||
type Profile = original.Profile | ||
type Status = original.Status | ||
type Userargs = original.Userargs | ||
|
||
func New(clusterDNSName string, userName string) BaseClient { | ||
return original.New(clusterDNSName, userName) | ||
} | ||
func NewJobClient(clusterDNSName string, userName string) JobClient { | ||
return original.NewJobClient(clusterDNSName, userName) | ||
} | ||
func NewWithoutDefaults(clusterDNSName string, userName string) BaseClient { | ||
return original.NewWithoutDefaults(clusterDNSName, userName) | ||
} | ||
func PossibleApplicationStateValues() []ApplicationState { | ||
return original.PossibleApplicationStateValues() | ||
} | ||
func UserAgent() string { | ||
return original.UserAgent() + " profiles/preview" | ||
} | ||
func Version() string { | ||
return original.Version() | ||
} |
46 changes: 46 additions & 0 deletions
46
services/preview/hdinsight/2018-11-01-preview/hdinsight/client.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
40 changes: 40 additions & 0 deletions
40
services/preview/hdinsight/2018-11-01-preview/hdinsight/hdinsightapi/interfaces.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.