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

change kubeConfig / kube-config -> kubeconfig #505

Merged
merged 3 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions api/swagger/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7515,7 +7515,7 @@ const docTemplate = `{
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.GetProjectNamespaceKubeConfigResponse"
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.GetProjectNamespaceKubeconfigResponse"
}
}
}
Expand Down Expand Up @@ -8614,7 +8614,7 @@ const docTemplate = `{
"JWT": []
}
],
"description": "Get KubeConfig by stack",
"description": "Get Kubeconfig by stack",
"consumes": [
"application/json"
],
Expand All @@ -8624,7 +8624,7 @@ const docTemplate = `{
"tags": [
"Stacks"
],
"summary": "Get KubeConfig by stack",
"summary": "Get Kubeconfig by stack",
"parameters": [
{
"type": "string",
Expand All @@ -8645,7 +8645,7 @@ const docTemplate = `{
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.GetStackKubeConfigResponse"
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.GetStackKubeconfigResponse"
}
}
}
Expand Down Expand Up @@ -13170,10 +13170,10 @@ const docTemplate = `{
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.GetProjectNamespaceKubeConfigResponse": {
"github_com_openinfradev_tks-api_pkg_domain.GetProjectNamespaceKubeconfigResponse": {
"type": "object",
"properties": {
"kubeConfig": {
"kubeconfig": {
"type": "string"
}
}
Expand Down Expand Up @@ -13246,10 +13246,10 @@ const docTemplate = `{
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.GetStackKubeConfigResponse": {
"github_com_openinfradev_tks-api_pkg_domain.GetStackKubeconfigResponse": {
"type": "object",
"properties": {
"kubeConfig": {
"kubeconfig": {
"type": "string"
}
}
Expand Down
18 changes: 9 additions & 9 deletions api/swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -7509,7 +7509,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.GetProjectNamespaceKubeConfigResponse"
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.GetProjectNamespaceKubeconfigResponse"
}
}
}
Expand Down Expand Up @@ -8608,7 +8608,7 @@
"JWT": []
}
],
"description": "Get KubeConfig by stack",
"description": "Get Kubeconfig by stack",
"consumes": [
"application/json"
],
Expand All @@ -8618,7 +8618,7 @@
"tags": [
"Stacks"
],
"summary": "Get KubeConfig by stack",
"summary": "Get Kubeconfig by stack",
"parameters": [
{
"type": "string",
Expand All @@ -8639,7 +8639,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.GetStackKubeConfigResponse"
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.GetStackKubeconfigResponse"
}
}
}
Expand Down Expand Up @@ -13164,10 +13164,10 @@
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.GetProjectNamespaceKubeConfigResponse": {
"github_com_openinfradev_tks-api_pkg_domain.GetProjectNamespaceKubeconfigResponse": {
"type": "object",
"properties": {
"kubeConfig": {
"kubeconfig": {
"type": "string"
}
}
Expand Down Expand Up @@ -13240,10 +13240,10 @@
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.GetStackKubeConfigResponse": {
"github_com_openinfradev_tks-api_pkg_domain.GetStackKubeconfigResponse": {
"type": "object",
"properties": {
"kubeConfig": {
"kubeconfig": {
"type": "string"
}
}
Expand Down Expand Up @@ -16946,4 +16946,4 @@
"in": "header"
}
}
}
}
16 changes: 8 additions & 8 deletions api/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1884,9 +1884,9 @@ definitions:
k8sResources:
$ref: '#/definitions/github_com_openinfradev_tks-api_pkg_domain.ProjectNamespaceK8sResources'
type: object
github_com_openinfradev_tks-api_pkg_domain.GetProjectNamespaceKubeConfigResponse:
github_com_openinfradev_tks-api_pkg_domain.GetProjectNamespaceKubeconfigResponse:
properties:
kubeConfig:
kubeconfig:
type: string
type: object
github_com_openinfradev_tks-api_pkg_domain.GetProjectNamespaceResourcesUsageResponse:
Expand Down Expand Up @@ -1932,9 +1932,9 @@ definitions:
$ref: '#/definitions/github_com_openinfradev_tks-api_pkg_domain.ProjectResponse'
type: array
type: object
github_com_openinfradev_tks-api_pkg_domain.GetStackKubeConfigResponse:
github_com_openinfradev_tks-api_pkg_domain.GetStackKubeconfigResponse:
properties:
kubeConfig:
kubeconfig:
type: string
type: object
github_com_openinfradev_tks-api_pkg_domain.GetStackPolicyTemplateStatusResponse:
Expand Down Expand Up @@ -9108,7 +9108,7 @@ paths:
"200":
description: OK
schema:
$ref: '#/definitions/github_com_openinfradev_tks-api_pkg_domain.GetProjectNamespaceKubeConfigResponse'
$ref: '#/definitions/github_com_openinfradev_tks-api_pkg_domain.GetProjectNamespaceKubeconfigResponse'
security:
- JWT: []
summary: Get project namespace kubeconfig
Expand Down Expand Up @@ -9869,7 +9869,7 @@ paths:
get:
consumes:
- application/json
description: Get KubeConfig by stack
description: Get Kubeconfig by stack
parameters:
- description: organizationId
in: path
Expand All @@ -9887,10 +9887,10 @@ paths:
"200":
description: OK
schema:
$ref: '#/definitions/github_com_openinfradev_tks-api_pkg_domain.GetStackKubeConfigResponse'
$ref: '#/definitions/github_com_openinfradev_tks-api_pkg_domain.GetStackKubeconfigResponse'
security:
- JWT: []
summary: Get KubeConfig by stack
summary: Get Kubeconfig by stack
tags:
- Stacks
/organizations/{organizationId}/stacks/{stackId}/policies:
Expand Down
2 changes: 1 addition & 1 deletion internal/delivery/api/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const (
GetStack // 스택관리/조회
UpdateStack // 스택관리/수정
DeleteStack // 스택관리/삭제
GetStackKubeConfig // 스택관리/조회
GetStackKubeconfig // 스택관리/조회
GetStackStatus // 스택관리/조회
SetFavoriteStack // 스택관리/조회
DeleteFavoriteStack // 스택관리/조회
Expand Down
Loading
Loading