Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataArts API implementation #651

Closed
wants to merge 14 commits into from
Closed

DataArts API implementation #651

wants to merge 14 commits into from

Conversation

sgmv
Copy link
Contributor

@sgmv sgmv commented Apr 25, 2024

What this PR does / why we need it

This PR adds API for DataArt service.

Which issue this PR fixes

Closes #586

Special notes for your reviewer

sgmv added 14 commits April 10, 2024 10:09
# Conflicts:
#	openstack/dms/v2/instances/requests.go
#	params.go
# Conflicts:
#	openstack/dataarts/v1.1/cluster/Create.go
#	openstack/dataarts/v1.1/cluster/Delete.go
#	openstack/dataarts/v1.1/cluster/Get.go
#	openstack/dataarts/v1.1/cluster/List.go
#	openstack/dataarts/v1.1/cluster/Restart.go
#	openstack/dataarts/v1.1/cluster/Start.go
#	openstack/dataarts/v1.1/cluster/Stop.go
#	openstack/dataarts/v1.1/cluster/common.go
#	openstack/dataarts/v1.1/factory/CreateRandom.go
#	openstack/dataarts/v1.1/factory/CreateSpecific.go
#	openstack/dataarts/v1.1/factory/Delete.go
#	openstack/dataarts/v1.1/factory/GetHistory.go
#	openstack/dataarts/v1.1/factory/GetStatus.go
#	openstack/dataarts/v1.1/factory/Start.go
#	openstack/dataarts/v1.1/factory/Stop.go
#	openstack/dataarts/v1.1/factory/Update.go
#	openstack/dataarts/v1.1/factory/common.go
func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*ClusterResponse, error) {
// Create is used to create a cluster.
// Send request POST /v1.1/{project_id}/clusters
func Create(client *golangsdk.ServiceClient, opts CreateOpts, xLang string) (*ClusterResp, error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe better to add xLang to CreateOpts as:

Xlang           string            `json:"-"`

@sgmv sgmv closed this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dataarts studio
2 participants