Skip to content

Commit

Permalink
Merge pull request #189 from openinfradev/add_cluster_type
Browse files Browse the repository at this point in the history
feature. add cluster type to GetClusterSiteValues
  • Loading branch information
cho4036 authored Nov 1, 2023
2 parents cc5a938 + 58fdd75 commit 883696a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/swagger/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -4650,6 +4650,9 @@ const docTemplate = `{
"clusterRegion": {
"type": "string"
},
"clusterType": {
"type": "string"
},
"sshKeyName": {
"type": "string"
},
Expand Down
3 changes: 3 additions & 0 deletions api/swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4643,6 +4643,9 @@
"clusterRegion": {
"type": "string"
},
"clusterType": {
"type": "string"
},
"sshKeyName": {
"type": "string"
},
Expand Down
2 changes: 2 additions & 0 deletions api/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,8 @@ definitions:
type: integer
clusterRegion:
type: string
clusterType:
type: string
sshKeyName:
type: string
tksCpNode:
Expand Down
1 change: 1 addition & 0 deletions pkg/domain/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ type SimpleClusterResponse struct {
}

type ClusterSiteValuesResponse struct {
ClusterType string `json:"clusterType"`
SshKeyName string `json:"sshKeyName"`
ClusterRegion string `json:"clusterRegion"`
TksCpNode int `json:"tksCpNode"`
Expand Down

0 comments on commit 883696a

Please sign in to comment.