diff --git a/Dockerfile b/Dockerfile index f1d1e192..68d504c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,13 @@ # Build - backend FROM --platform=linux/amd64 docker.io/library/golang:1.18-buster AS backend-build RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata -RUN wget https://github.com/swaggo/swag/releases/download/v1.7.1/swag_linux_amd64.tar.gz -O - | tar -xz -C /tmp && cp /tmp/swag_linux_amd64/swag /usr/local/bin +RUN wget https://github.com/swaggo/swag/releases/download/v1.8.5/swag_1.8.5_Linux_x86_64.tar.gz -O - | tar -xz -C /tmp && cp /tmp/swag /usr/local/bin WORKDIR /app/backend COPY ./ . + +RUN swag init -g ./cmd/server/main.go -o ./api/swagger + RUN go mod tidy RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/server ./cmd/server/main.go diff --git a/api/swagger/docs.go b/api/swagger/docs.go deleted file mode 100644 index 3b595793..00000000 --- a/api/swagger/docs.go +++ /dev/null @@ -1,6874 +0,0 @@ -// Package swagger GENERATED BY SWAG; DO NOT EDIT -// This file was generated by swaggo/swag -package swagger - -import "github.com/swaggo/swag" - -const docTemplate = `{ - "schemes": {{ marshal .Schemes }}, - "swagger": "2.0", - "info": { - "description": "{{escape .Description}}", - "title": "{{.Title}}", - "contact": { - "name": "taekyu.kang@sk.com", - "email": "taekyu.kang@sk.com" - }, - "license": { - "name": "Apache 2.0", - "url": "http://www.apache.org/licenses/LICENSE-2.0.html" - }, - "version": "{{.Version}}" - }, - "host": "{{.Host}}", - "basePath": "{{.BasePath}}", - "paths": { - "/app-groups": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get appGroup list by giving params", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppGroups" - ], - "summary": "Get appGroup list", - "parameters": [ - { - "type": "string", - "description": "clusterId", - "name": "clusterId", - "in": "query" - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetAppGroupsResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Install appGroup", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppGroups" - ], - "summary": "Install appGroup", - "parameters": [ - { - "description": "create appgroup request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateAppGroupRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CreateAppGroupResponse" - } - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Uninstall appGroup", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppGroups" - ], - "summary": "Uninstall appGroup", - "parameters": [ - { - "description": "body", - "name": "object", - "in": "body", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/app-groups/{appGroupId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get appGroup detail by appGroupId", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppGroups" - ], - "summary": "Get appGroup detail", - "parameters": [ - { - "type": "string", - "description": "appGroupId", - "name": "appGroupId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetAppGroupResponse" - } - } - } - } - }, - "/app-groups/{appGroupId}/applications": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get applications", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppGroups" - ], - "summary": "Get applications", - "parameters": [ - { - "type": "string", - "description": "appGroupId", - "name": "appGroupId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "applicationType", - "name": "applicationType", - "in": "query", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetApplicationsResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create application", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppGroups" - ], - "summary": "Create application", - "parameters": [ - { - "description": "body", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateApplicationRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/auth/find-id/code": { - "post": { - "description": "This API allows users to verify their identity for lost id by submitting required information", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "Request to verify identity for lost id", - "parameters": [ - { - "description": "Request body for verifying identity for lost id including {organization ID, email, username}", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.VerifyIdentityForLostIdRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.VerifyIdentityForLostIdResponse" - } - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/httpErrors.RestError" - } - } - } - } - }, - "/auth/find-id/verification": { - "post": { - "description": "This API allows users to find their account ID by submitting required information", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "Request to find forgotten ID", - "parameters": [ - { - "description": "Request body for finding the account ID including {organization ID, email, username, 6 digit code}", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.FindIdRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.FindIdResponse" - } - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/httpErrors.RestError" - } - } - } - } - }, - "/auth/find-password/code": { - "post": { - "description": "This API allows users to verify their identity for lost password by submitting required information", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "Request to verify identity for lost password", - "parameters": [ - { - "description": "Request body for verifying identity for lost password including {organization ID, email, username, Account ID}", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.VerifyIdentityForLostPasswordRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.VerifyIdentityForLostPasswordResponse" - } - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/httpErrors.RestError" - } - } - } - } - }, - "/auth/find-password/verification": { - "post": { - "description": "This API allows users to reset their forgotten password by submitting required information", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "Request to find forgotten password", - "parameters": [ - { - "description": "Request body for finding the password including {organization ID, email, username, Account ID, 6 digit code}", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.FindPasswordRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/httpErrors.RestError" - } - } - } - } - }, - "/auth/login": { - "post": { - "description": "login", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "login", - "parameters": [ - { - "description": "account info", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.LoginRequest" - } - } - ], - "responses": { - "200": { - "description": "user detail", - "schema": { - "$ref": "#/definitions/domain.LoginResponse" - } - } - } - } - }, - "/auth/logout": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "logout", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "logout", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.LogoutResponse" - } - } - } - } - }, - "/auth/ping": { - "post": { - "description": "ping with token", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "ping with token", - "parameters": [ - { - "description": "token info", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.PingTokenRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/clusters": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get cluster list", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Get clusters", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "query" - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetClustersResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create cluster", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Create cluster", - "parameters": [ - { - "description": "create cluster request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateClusterRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CreateClusterResponse" - } - } - } - } - }, - "/clusters/import": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Import cluster", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Import cluster", - "parameters": [ - { - "description": "import cluster request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.ImportClusterRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.ImportClusterResponse" - } - } - } - } - }, - "/clusters/{clusterId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get cluster detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Get cluster", - "parameters": [ - { - "type": "string", - "description": "clusterId", - "name": "clusterId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.Cluster" - } - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete cluster", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Delete cluster", - "parameters": [ - { - "type": "string", - "description": "clusterId", - "name": "clusterId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.Cluster" - } - } - } - } - }, - "/clusters/{clusterId}/bootstrap-kubeconfig": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get bootstrap kubeconfig for BYOH", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Get bootstrap kubeconfig for BYOH", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetBootstrapKubeconfigResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create bootstrap kubeconfig for BYOH", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Create bootstrap kubeconfig for BYOH", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CreateBootstrapKubeconfigResponse" - } - } - } - } - }, - "/clusters/{clusterId}/install": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Install cluster on tks cluster", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Install cluster on tks cluster", - "parameters": [ - { - "type": "string", - "description": "clusterId", - "name": "clusterId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/clusters/{clusterId}/nodes": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get nodes information for BYOH", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Get nodes information for BYOH", - "parameters": [ - { - "type": "string", - "description": "clusterId", - "name": "clusterId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetClusterNodesResponse" - } - } - } - } - }, - "/clusters/{clusterId}/site-values": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get cluster site values for creating", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Get cluster site values for creating", - "parameters": [ - { - "type": "string", - "description": "clusterId", - "name": "clusterId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.ClusterSiteValuesResponse" - } - } - } - } - }, - "/organizations": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get organization list", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Organizations" - ], - "summary": "Get organization list", - "parameters": [ - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ListOrganizationBody" - } - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create organization", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Organizations" - ], - "summary": "Create organization", - "parameters": [ - { - "description": "create organization request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateOrganizationRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "object" - } - } - } - } - }, - "/organizations/{organizationId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get organization detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Organizations" - ], - "summary": "Get organization detail", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetOrganizationResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update organization detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Organizations" - ], - "summary": "Update organization detail", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "update organization request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateOrganizationRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.UpdateOrganizationResponse" - } - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete organization", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Organizations" - ], - "summary": "Delete organization", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.Organization" - } - } - } - } - }, - "/organizations/{organizationId}/alerts": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get Alerts", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Alerts" - ], - "summary": "Get Alerts", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetAlertsResponse" - } - } - } - } - }, - "/organizations/{organizationId}/alerts/{alertId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get Alert", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Alerts" - ], - "summary": "Get Alert", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "alertId", - "name": "alertId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetAlertResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update Alert", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Alerts" - ], - "summary": "Update Alert", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "Update cloud setting request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateAlertRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete Alert", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Alerts" - ], - "summary": "Delete Alert", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "alertId", - "name": "alertId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/alerts/{alertId}/actions": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create alert action", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Alerts" - ], - "summary": "Create alert action", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get appServeApp list by giving params", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Get appServeApp list", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "boolean", - "description": "Show all apps including deleted apps", - "name": "showAll", - "in": "query" - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.AppServeApp" - } - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Install appServeApp", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Install appServeApp", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "Request body to create app", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateAppServeAppRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/count": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get number of apps on given stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Get number of apps on given stack", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "Stack ID", - "name": "stackId", - "in": "query", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "integer" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/name/{name}/existence": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Check duplicate appServeAppName by giving params", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Check duplicate appServeAppName", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "name", - "name": "name", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "boolean" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/{appId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get appServeApp by giving params", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Get appServeApp", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "App ID", - "name": "appId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetAppServeAppResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update appServeApp", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Update appServeApp", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "App ID", - "name": "appId", - "in": "path", - "required": true - }, - { - "description": "Request body to update app", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateAppServeAppRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Uninstall appServeApp", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Uninstall appServeApp", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "App ID", - "name": "appId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/{appId}/endpoint": { - "patch": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update app endpoint", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Update app endpoint", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "appId", - "name": "appId", - "in": "path", - "required": true - }, - { - "description": "Request body to update app endpoint", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateAppServeAppEndpointRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/{appId}/exist": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get appServeApp by giving params", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Get appServeApp", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "boolean" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/{appId}/latest-task": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get latest task from appServeApp", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Get latest task from appServeApp", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "App ID", - "name": "appId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetAppServeAppTaskResponse" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/{appId}/rollback": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Rollback appServeApp", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Rollback appServeApp", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "App ID", - "name": "appId", - "in": "path", - "required": true - }, - { - "description": "Request body to rollback app", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.RollbackAppServeAppRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/{appId}/status": { - "patch": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update app status", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Update app status", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "App ID", - "name": "appId", - "in": "path", - "required": true - }, - { - "description": "Request body to update app status", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateAppServeAppStatusRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - } - } - } - }, - "/organizations/{organizationId}/cloud-accounts": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get CloudAccounts", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Get CloudAccounts", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetCloudAccountsResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create CloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Create CloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "create cloud setting request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateCloudAccountRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CreateCloudAccountResponse" - } - } - } - } - }, - "/organizations/{organizationId}/cloud-accounts/aws-account-id/{awsAccountId}/existence": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Check awsAccountId for cloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Check awsAccountId for cloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "awsAccountId", - "name": "awsAccountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CheckCloudAccountAwsAccountIdResponse" - } - } - } - } - }, - "/organizations/{organizationId}/cloud-accounts/name/{name}/existence": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Check name for cloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Check name for cloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "name", - "name": "name", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CheckCloudAccountNameResponse" - } - } - } - } - }, - "/organizations/{organizationId}/cloud-accounts/{cloudAccountId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get CloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Get CloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "cloudAccountId", - "name": "cloudAccountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetCloudAccountResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update CloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Update CloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "Update cloud setting request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateCloudAccountRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete CloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Delete CloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "Delete cloud setting request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.DeleteCloudAccountRequest" - } - }, - { - "type": "string", - "description": "cloudAccountId", - "name": "cloudAccountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/cloud-accounts/{cloudAccountId}/error": { - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete Force CloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Delete Force CloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "cloudAccountId", - "name": "cloudAccountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/cloud-accounts/{cloudAccountId}/quota": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get resource quota by cloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Get resource quota by cloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "cloudAccountId", - "name": "cloudAccountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetCloudAccountResourceQuotaResponse" - } - } - } - } - }, - "/organizations/{organizationId}/dashboard/charts": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get charts data", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Dashboards" - ], - "summary": "Get charts data", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "chartType", - "name": "chartType", - "in": "query" - }, - { - "type": "string", - "description": "duration", - "name": "duration", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "interval", - "name": "interval", - "in": "query", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetDashboardChartsResponse" - } - } - } - } - }, - "/organizations/{organizationId}/dashboard/charts/{chartType}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get chart data", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Dashboards" - ], - "summary": "Get chart data", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "chartType", - "name": "chartType", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "duration", - "name": "duration", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "interval", - "name": "interval", - "in": "query", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetDashboardChartResponse" - } - } - } - } - }, - "/organizations/{organizationId}/dashboard/resources": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get resources", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Dashboards" - ], - "summary": "Get resources", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetDashboardResourcesResponse" - } - } - } - } - }, - "/organizations/{organizationId}/dashboard/stacks": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get stacks", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Dashboards" - ], - "summary": "Get stacks", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetDashboardStacksResponse" - } - } - } - } - }, - "/organizations/{organizationId}/my-profile": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get my profile detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "My-profile" - ], - "summary": "Get my profile detail", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetMyProfileResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update my profile detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "My-profile" - ], - "summary": "Update my profile detail", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "Required fields: password due to double-check", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateMyProfileRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.UpdateMyProfileResponse" - } - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete myProfile", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "My-profile" - ], - "summary": "Delete myProfile", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request" - } - } - } - }, - "/organizations/{organizationId}/my-profile/next-password-change": { - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update user's password expired date to current date", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "My-profile" - ], - "summary": "Update user's password expired date to current date", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/httpErrors.RestError" - } - } - } - } - }, - "/organizations/{organizationId}/my-profile/password": { - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update user password detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "My-profile" - ], - "summary": "Update user password detail", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "update user password request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdatePasswordRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/primary-cluster": { - "patch": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update primary cluster", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Organizations" - ], - "summary": "Update primary cluster", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "update primary cluster request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdatePrimaryClusterRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/stacks": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get Stacks", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Get Stacks", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "string", - "description": "combinedFilter", - "name": "combinedFilter", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetStacksResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create Stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Create Stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "create cloud setting request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateStackRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CreateStackResponse" - } - } - } - } - }, - "/organizations/{organizationId}/stacks/name/{name}/existence": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Check name for stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Check name for stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "name", - "name": "name", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/stacks/{stackId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get Stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Get Stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetStackResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update Stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Update Stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - }, - { - "description": "Update cloud setting request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateStackRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete Stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Delete Stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/stacks/{stackId}/favorite": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Set favorite stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Set favorite stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete favorite stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Delete favorite stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/stacks/{stackId}/kube-config": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get KubeConfig by stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Get KubeConfig by stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "organizationId", - "name": "stackId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetStackKubeConfigResponse" - } - } - } - } - }, - "/organizations/{organizationId}/stacks/{stackId}/status": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get Stack Status", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Get Stack Status", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetStackStatusResponse" - } - } - } - } - }, - "/organizations/{organizationId}/users": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get user list", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Get user list", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ListUserBody" - } - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create user", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Create user", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "create user request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateUserRequest" - } - } - ], - "responses": { - "200": { - "description": "create user response", - "schema": { - "$ref": "#/definitions/domain.CreateUserResponse" - } - } - } - } - }, - "/organizations/{organizationId}/users/account-id/{accountId}/existence": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "return true when accountId exists", - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Get user id existence", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "accountId", - "name": "accountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CheckExistedResponse" - } - } - } - } - }, - "/organizations/{organizationId}/users/email/{email}/existence": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "return true when email exists", - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Get user email existence", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "email", - "name": "accountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CheckExistedResponse" - } - } - } - } - }, - "/organizations/{organizationId}/users/{accountId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get user detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Get user detail", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "accountId", - "name": "accountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetUserResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update user", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Update user", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "accountId", - "name": "accountId", - "in": "path", - "required": true - }, - { - "description": "input", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateUserRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.UpdateUserResponse" - } - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete user", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Delete user", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "accountId", - "name": "accountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.User" - } - } - } - } - }, - "/organizations/{organizationId}/users/{accountId}/reset-password": { - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Reset user's password as temporary password by admin and send email to user", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Reset user's password as temporary password by admin", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "accountId", - "name": "accountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/stack-templates": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get StackTemplates", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "StackTemplates" - ], - "summary": "Get StackTemplates", - "parameters": [ - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetStackTemplatesResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create StackTemplate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "StackTemplates" - ], - "summary": "Create StackTemplate 'NOT IMPLEMENTED'", - "parameters": [ - { - "description": "create stack template request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateStackTemplateRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CreateStackTemplateResponse" - } - } - } - } - }, - "/stack-templates/{stackTemplateId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get StackTemplate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "StackTemplates" - ], - "summary": "Get StackTemplate", - "parameters": [ - { - "type": "string", - "description": "stackTemplateId", - "name": "stackTemplateId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetStackTemplateResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update StackTemplate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "StackTemplates" - ], - "summary": "Update StackTemplate 'NOT IMPLEMENTED'", - "parameters": [ - { - "description": "Update stack template request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateStackTemplateRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete StackTemplate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "StackTemplates" - ], - "summary": "Delete StackTemplate 'NOT IMPLEMENTED'", - "parameters": [ - { - "type": "string", - "description": "stackTemplateId", - "name": "stackTemplateId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/system-api/organizations/{organizationId}/alerts": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create alert. ADMIN ONLY", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Alerts" - ], - "summary": "Create alert. ADMIN ONLY", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - } - }, - "definitions": { - "domain.ActionResponse": { - "type": "object", - "properties": { - "body": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "method": { - "type": "string" - }, - "name": { - "description": "ENDPOINT (화면보기), PREVIEW (미리보기), PROMOTE (배포), ABORT (중단)", - "type": "string" - }, - "type": { - "description": "LINK, API", - "type": "string" - }, - "uri": { - "type": "string" - } - } - }, - "domain.AlertActionResponse": { - "type": "object", - "properties": { - "alertId": { - "type": "string" - }, - "content": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "id": { - "type": "string" - }, - "status": { - "type": "string" - }, - "taker": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.AlertResponse": { - "type": "object", - "properties": { - "alertActions": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.AlertActionResponse" - } - }, - "closedAt": { - "type": "string" - }, - "cluster": { - "$ref": "#/definitions/domain.SimpleClusterResponse" - }, - "code": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "description": { - "type": "string" - }, - "firedAt": { - "type": "string" - }, - "grade": { - "type": "string" - }, - "grafanaUrl": { - "type": "string" - }, - "id": { - "type": "string" - }, - "lastTaker": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "message": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "processingSec": { - "type": "integer" - }, - "rawData": { - "type": "string" - }, - "status": { - "type": "string" - }, - "takedAt": { - "type": "string" - }, - "takedSec": { - "type": "integer" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.AppGroupResponse": { - "type": "object", - "properties": { - "appGroupType": { - "type": "integer" - }, - "clusterId": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "status": { - "type": "integer" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "workflowId": { - "type": "string" - } - } - }, - "domain.AppServeApp": { - "type": "object", - "properties": { - "appServeAppTasks": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.AppServeAppTask" - } - }, - "appType": { - "description": "appType (spring/springboot)", - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "deletedAt": { - "type": "string" - }, - "endpointUrl": { - "description": "endpoint URL of deployed app", - "type": "string" - }, - "grafanaUrl": { - "description": "grafana dashboard URL for deployed app", - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "description": "application name", - "type": "string" - }, - "namespace": { - "description": "application namespace", - "type": "string" - }, - "organizationId": { - "description": "contractId is a contract ID which this app belongs to", - "type": "string" - }, - "previewEndpointUrl": { - "description": "preview svc endpoint URL in B/G deployment", - "type": "string" - }, - "status": { - "description": "status is status of deployed app", - "type": "string" - }, - "targetClusterId": { - "description": "target cluster to which the app is deployed", - "type": "string" - }, - "targetClusterName": { - "description": "target cluster name", - "type": "string" - }, - "type": { - "description": "type (build/deploy/all)", - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.AppServeAppTask": { - "type": "object", - "properties": { - "appConfig": { - "description": "java app config", - "type": "string" - }, - "appSecret": { - "description": "java app secret", - "type": "string" - }, - "appServeAppId": { - "description": "ID for appServeApp that this task belongs to", - "type": "string" - }, - "artifactUrl": { - "description": "URL of java app artifact (Eg, Jar)", - "type": "string" - }, - "availableRollback": { - "type": "boolean" - }, - "createdAt": { - "description": "createdAt is a creation timestamp for the application", - "type": "string" - }, - "deletedAt": { - "type": "string" - }, - "executablePath": { - "description": "Executable path of app image", - "type": "string" - }, - "extraEnv": { - "description": "env variable list for java app", - "type": "string" - }, - "helmRevision": { - "description": "revision of deployed helm release", - "type": "integer" - }, - "id": { - "type": "string" - }, - "imageUrl": { - "description": "URL of built image for app", - "type": "string" - }, - "output": { - "description": "output for task result", - "type": "string" - }, - "port": { - "description": "java app port", - "type": "string" - }, - "profile": { - "description": "java app profile", - "type": "string" - }, - "pvAccessMode": { - "type": "string" - }, - "pvEnabled": { - "type": "boolean" - }, - "pvMountPath": { - "type": "string" - }, - "pvSize": { - "type": "string" - }, - "pvStorageClass": { - "type": "string" - }, - "resourceSpec": { - "description": "resource spec of app pod", - "type": "string" - }, - "rollbackVersion": { - "description": "rollback target version", - "type": "string" - }, - "status": { - "description": "status is app status", - "type": "string" - }, - "strategy": { - "description": "deployment strategy (eg, rolling-update)", - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "version": { - "description": "application version", - "type": "string" - } - } - }, - "domain.ApplicationResponse": { - "type": "object", - "properties": { - "appGroupId": { - "type": "string" - }, - "applicationType": { - "type": "integer" - }, - "createdAt": { - "type": "string" - }, - "endpoint": { - "type": "string" - }, - "id": { - "type": "string" - }, - "metadata": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.Axis": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "domain.BootstrapKubeconfig": { - "type": "object", - "properties": { - "expiration": { - "type": "integer" - } - } - }, - "domain.ChartData": { - "type": "object", - "properties": { - "podCounts": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.PodCount" - } - }, - "series": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.Unit" - } - }, - "xAxis": { - "$ref": "#/definitions/domain.Axis" - }, - "yAxis": { - "$ref": "#/definitions/domain.Axis" - } - } - }, - "domain.CheckCloudAccountAwsAccountIdResponse": { - "type": "object", - "properties": { - "existed": { - "type": "boolean" - } - } - }, - "domain.CheckCloudAccountNameResponse": { - "type": "object", - "properties": { - "existed": { - "type": "boolean" - } - } - }, - "domain.CheckExistedResponse": { - "type": "object", - "properties": { - "existed": { - "type": "boolean" - } - } - }, - "domain.CloudAccount": { - "type": "object", - "properties": { - "accessKeyId": { - "type": "string" - }, - "awsAccountId": { - "type": "string" - }, - "cloudService": { - "type": "string" - }, - "clusters": { - "type": "integer" - }, - "createdAt": { - "type": "string" - }, - "createdIAM": { - "type": "boolean" - }, - "creator": { - "$ref": "#/definitions/domain.User" - }, - "creatorId": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "secretAccessKey": { - "type": "string" - }, - "sessionToken": { - "type": "string" - }, - "status": { - "type": "integer" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.User" - }, - "updatorId": { - "type": "string" - } - } - }, - "domain.CloudAccountResponse": { - "type": "object", - "properties": { - "awsAccountId": { - "type": "string" - }, - "cloudService": { - "type": "string" - }, - "clusters": { - "type": "integer" - }, - "createdAt": { - "type": "string" - }, - "createdIAM": { - "type": "boolean" - }, - "creator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "status": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - } - } - }, - "domain.Cluster": { - "type": "object", - "properties": { - "byoClusterEndpointHost": { - "type": "string" - }, - "byoClusterEndpointPort": { - "type": "integer" - }, - "cloudAccount": { - "$ref": "#/definitions/domain.CloudAccount" - }, - "cloudAccountId": { - "type": "string" - }, - "cloudService": { - "type": "string" - }, - "clusterType": { - "type": "integer" - }, - "conf": { - "$ref": "#/definitions/domain.ClusterConf" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "$ref": "#/definitions/domain.User" - }, - "creatorId": { - "type": "string" - }, - "description": { - "type": "string" - }, - "favorited": { - "type": "boolean" - }, - "id": { - "type": "string" - }, - "isStack": { - "type": "boolean" - }, - "kubeconfig": { - "type": "array", - "items": { - "type": "integer" - } - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "stackTemplate": { - "$ref": "#/definitions/domain.StackTemplate" - }, - "stackTemplateId": { - "type": "string" - }, - "status": { - "type": "integer" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.User" - }, - "updatorId": { - "type": "string" - } - } - }, - "domain.ClusterConf": { - "type": "object", - "properties": { - "tksCpNode": { - "type": "integer" - }, - "tksCpNodeMax": { - "type": "integer" - }, - "tksCpNodeType": { - "type": "string" - }, - "tksInfraNode": { - "type": "integer" - }, - "tksInfraNodeMax": { - "type": "integer" - }, - "tksInfraNodeType": { - "type": "string" - }, - "tksUserNode": { - "type": "integer" - }, - "tksUserNodeMax": { - "type": "integer" - }, - "tksUserNodeType": { - "type": "string" - } - } - }, - "domain.ClusterConfResponse": { - "type": "object", - "properties": { - "tksCpNode": { - "type": "integer" - }, - "tksCpNodeMax": { - "type": "integer" - }, - "tksCpNodeType": { - "type": "string" - }, - "tksInfraNode": { - "type": "integer" - }, - "tksInfraNodeMax": { - "type": "integer" - }, - "tksInfraNodeType": { - "type": "string" - }, - "tksUserNode": { - "type": "integer" - }, - "tksUserNodeMax": { - "type": "integer" - }, - "tksUserNodeType": { - "type": "string" - } - } - }, - "domain.ClusterHost": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "status": { - "type": "string" - } - } - }, - "domain.ClusterNode": { - "type": "object", - "properties": { - "command": { - "type": "string" - }, - "hosts": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ClusterHost" - } - }, - "registered": { - "type": "integer" - }, - "registering": { - "type": "integer" - }, - "status": { - "type": "string" - }, - "targeted": { - "type": "integer" - }, - "type": { - "type": "string" - }, - "validity": { - "type": "integer" - } - } - }, - "domain.ClusterResponse": { - "type": "object", - "properties": { - "byoClusterEndpointHost": { - "type": "string" - }, - "byoClusterEndpointPort": { - "type": "integer" - }, - "cloudAccount": { - "$ref": "#/definitions/domain.SimpleCloudAccountResponse" - }, - "cloudService": { - "type": "string" - }, - "clusterType": { - "type": "string" - }, - "conf": { - "$ref": "#/definitions/domain.ClusterConfResponse" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "isStack": { - "type": "boolean" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "stackTemplate": { - "$ref": "#/definitions/domain.SimpleStackTemplateResponse" - }, - "status": { - "type": "string" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - } - } - }, - "domain.ClusterSiteValuesResponse": { - "type": "object", - "properties": { - "byoClusterEndpointHost": { - "type": "string" - }, - "byoClusterEndpointPort": { - "type": "integer" - }, - "clusterRegion": { - "type": "string" - }, - "clusterType": { - "type": "string" - }, - "sshKeyName": { - "type": "string" - }, - "tksCpNode": { - "type": "integer" - }, - "tksCpNodeMax": { - "type": "integer" - }, - "tksCpNodeType": { - "type": "string" - }, - "tksInfraNode": { - "type": "integer" - }, - "tksInfraNodeMax": { - "type": "integer" - }, - "tksInfraNodeType": { - "type": "string" - }, - "tksUserNode": { - "type": "integer" - }, - "tksUserNodeMax": { - "type": "integer" - }, - "tksUserNodeType": { - "type": "string" - } - } - }, - "domain.CreateAppGroupRequest": { - "type": "object", - "required": [ - "clusterId", - "name" - ], - "properties": { - "appGroupType": { - "type": "string", - "enum": [ - "LMA", - "SERVICE_MESH" - ] - }, - "clusterId": { - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - } - } - }, - "domain.CreateAppGroupResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "domain.CreateAppServeAppRequest": { - "type": "object", - "required": [ - "name", - "targetClusterId" - ], - "properties": { - "appConfig": { - "type": "string" - }, - "appSecret": { - "type": "string" - }, - "appType": { - "description": "springboot spring", - "type": "string" - }, - "artifactUrl": { - "type": "string" - }, - "executablePath": { - "type": "string" - }, - "extraEnv": { - "type": "string" - }, - "imageUrl": { - "type": "string" - }, - "name": { - "description": "App", - "type": "string" - }, - "namespace": { - "type": "string" - }, - "port": { - "type": "string" - }, - "profile": { - "type": "string" - }, - "pvAccessMode": { - "type": "string" - }, - "pvEnabled": { - "type": "boolean" - }, - "pvMountPath": { - "type": "string" - }, - "pvSize": { - "type": "string" - }, - "pvStorageClass": { - "type": "string" - }, - "resourceSpec": { - "description": "tiny medium large", - "type": "string" - }, - "strategy": { - "description": "rolling-update blue-green canary", - "type": "string" - }, - "targetClusterId": { - "type": "string" - }, - "type": { - "description": "build deploy all", - "type": "string" - }, - "version": { - "description": "Task", - "type": "string" - } - } - }, - "domain.CreateApplicationRequest": { - "type": "object", - "properties": { - "applicationType": { - "type": "string" - }, - "endpoint": { - "type": "string" - }, - "metadata": { - "type": "string" - } - } - }, - "domain.CreateBootstrapKubeconfigResponse": { - "type": "object", - "properties": { - "kubeconfig": { - "$ref": "#/definitions/domain.BootstrapKubeconfig" - } - } - }, - "domain.CreateCloudAccountRequest": { - "type": "object", - "required": [ - "accessKeyId", - "awsAccountId", - "name", - "secretAccessKey" - ], - "properties": { - "accessKeyId": { - "type": "string", - "maxLength": 128, - "minLength": 16 - }, - "awsAccountId": { - "type": "string", - "maxLength": 12, - "minLength": 12 - }, - "cloudService": { - "type": "string", - "enum": [ - "AWS", - "AZZURE", - "GCP" - ] - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "secretAccessKey": { - "type": "string", - "maxLength": 128, - "minLength": 16 - }, - "sessionToken": { - "type": "string", - "maxLength": 2000 - } - } - }, - "domain.CreateCloudAccountResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "domain.CreateClusterRequest": { - "type": "object", - "required": [ - "cloudService", - "name", - "organizationId", - "stackTemplateId" - ], - "properties": { - "byoClusterEndpointHost": { - "type": "string" - }, - "byoClusterEndpointPort": { - "type": "integer" - }, - "cloudAccountId": { - "type": "string" - }, - "cloudService": { - "type": "string", - "enum": [ - "AWS", - "BYOH" - ] - }, - "clusterType": { - "type": "string" - }, - "description": { - "type": "string" - }, - "isStack": { - "type": "boolean" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "stackTemplateId": { - "type": "string" - }, - "tksCpNode": { - "type": "integer" - }, - "tksCpNodeMax": { - "type": "integer" - }, - "tksCpNodeType": { - "type": "string" - }, - "tksInfraNode": { - "type": "integer" - }, - "tksInfraNodeMax": { - "type": "integer" - }, - "tksInfraNodeType": { - "type": "string" - }, - "tksUserNode": { - "type": "integer" - }, - "tksUserNodeMax": { - "type": "integer" - }, - "tksUserNodeType": { - "type": "string" - } - } - }, - "domain.CreateClusterResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "domain.CreateOrganizationRequest": { - "type": "object", - "required": [ - "Email", - "name" - ], - "properties": { - "Email": { - "type": "string" - }, - "description": { - "type": "string", - "maxLength": 100, - "minLength": 0 - }, - "name": { - "type": "string" - }, - "phone": { - "type": "string" - } - } - }, - "domain.CreateStackRequest": { - "type": "object", - "required": [ - "cloudService", - "name", - "stackTemplateId" - ], - "properties": { - "cloudAccountId": { - "type": "string" - }, - "cloudService": { - "type": "string", - "enum": [ - "AWS", - "BYOH" - ] - }, - "clusterId": { - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "stackTemplateId": { - "type": "string" - }, - "tksCpNode": { - "type": "integer" - }, - "tksCpNodeMax": { - "type": "integer" - }, - "tksCpNodeType": { - "type": "string" - }, - "tksInfraNode": { - "type": "integer" - }, - "tksInfraNodeMax": { - "type": "integer" - }, - "tksInfraNodeType": { - "type": "string" - }, - "tksUserNode": { - "type": "integer" - }, - "tksUserNodeMax": { - "type": "integer" - }, - "tksUserNodeType": { - "type": "string" - }, - "userClusterEndpoint": { - "type": "string" - } - } - }, - "domain.CreateStackResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "domain.CreateStackTemplateRequest": { - "type": "object", - "required": [ - "name", - "platform", - "template", - "version" - ], - "properties": { - "cloudService": { - "type": "string", - "enum": [ - "AWS", - "AZZURE", - "GCP" - ] - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "platform": { - "type": "string" - }, - "template": { - "type": "string" - }, - "templateType": { - "type": "string", - "enum": [ - "STANDARD", - "MSA" - ] - }, - "version": { - "type": "string" - } - } - }, - "domain.CreateStackTemplateResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "domain.CreateUserRequest": { - "type": "object", - "required": [ - "accountId", - "email", - "password", - "role" - ], - "properties": { - "accountId": { - "type": "string" - }, - "department": { - "type": "string", - "maxLength": 50, - "minLength": 0 - }, - "description": { - "type": "string", - "maxLength": 100, - "minLength": 0 - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "password": { - "type": "string" - }, - "role": { - "type": "string", - "enum": [ - "admin", - "user" - ] - } - } - }, - "domain.CreateUserResponse": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "department": { - "type": "string" - }, - "description": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "role": { - "$ref": "#/definitions/domain.Role" - } - } - } - } - }, - "domain.DashboardChartResponse": { - "type": "object", - "properties": { - "chartData": { - "$ref": "#/definitions/domain.ChartData" - }, - "chartType": { - "type": "string" - }, - "description": { - "type": "string" - }, - "duration": { - "type": "string" - }, - "interval": { - "type": "string" - }, - "month": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "year": { - "type": "string" - } - } - }, - "domain.DashboardResource": { - "type": "object", - "properties": { - "cpu": { - "type": "string" - }, - "memory": { - "type": "string" - }, - "stack": { - "type": "string" - }, - "storage": { - "type": "string" - } - } - }, - "domain.DashboardStackResponse": { - "type": "object", - "properties": { - "cpu": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "memory": { - "type": "string" - }, - "name": { - "type": "string" - }, - "status": { - "type": "string" - }, - "statusDesc": { - "type": "string" - }, - "storage": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.DeleteCloudAccountRequest": { - "type": "object", - "required": [ - "accessKeyId", - "secretAccessKey" - ], - "properties": { - "accessKeyId": { - "type": "string", - "maxLength": 128, - "minLength": 16 - }, - "secretAccessKey": { - "type": "string", - "maxLength": 128, - "minLength": 16 - }, - "sessionToken": { - "type": "string", - "maxLength": 2000 - } - } - }, - "domain.FilterResponse": { - "type": "object", - "properties": { - "column": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "releation": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "domain.FindIdRequest": { - "type": "object", - "required": [ - "code", - "email", - "organizationId", - "userName" - ], - "properties": { - "code": { - "type": "string" - }, - "email": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "userName": { - "type": "string" - } - } - }, - "domain.FindIdResponse": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - } - } - }, - "domain.FindPasswordRequest": { - "type": "object", - "required": [ - "accountId", - "code", - "email", - "organizationId", - "userName" - ], - "properties": { - "accountId": { - "type": "string" - }, - "code": { - "type": "string" - }, - "email": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "userName": { - "type": "string" - } - } - }, - "domain.GetAlertResponse": { - "type": "object", - "properties": { - "alert": { - "$ref": "#/definitions/domain.AlertResponse" - } - } - }, - "domain.GetAlertsResponse": { - "type": "object", - "properties": { - "alerts": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.AlertResponse" - } - }, - "pagination": { - "$ref": "#/definitions/domain.PaginationResponse" - } - } - }, - "domain.GetAppGroupResponse": { - "type": "object", - "properties": { - "appGroup": { - "$ref": "#/definitions/domain.AppGroupResponse" - } - } - }, - "domain.GetAppGroupsResponse": { - "type": "object", - "properties": { - "appGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.AppGroupResponse" - } - }, - "pagination": { - "$ref": "#/definitions/domain.PaginationResponse" - } - } - }, - "domain.GetAppServeAppResponse": { - "type": "object", - "properties": { - "appServeApp": { - "$ref": "#/definitions/domain.AppServeApp" - }, - "stages": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StageResponse" - } - } - } - }, - "domain.GetAppServeAppTaskResponse": { - "type": "object", - "properties": { - "appServeAppTask": { - "$ref": "#/definitions/domain.AppServeAppTask" - } - } - }, - "domain.GetApplicationsResponse": { - "type": "object", - "properties": { - "applications": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ApplicationResponse" - } - } - } - }, - "domain.GetBootstrapKubeconfigResponse": { - "type": "object", - "properties": { - "kubeconfig": { - "$ref": "#/definitions/domain.BootstrapKubeconfig" - } - } - }, - "domain.GetCloudAccountResourceQuotaResponse": { - "type": "object", - "properties": { - "available": { - "type": "boolean" - }, - "resourceQuota": { - "$ref": "#/definitions/domain.ResourceQuota" - } - } - }, - "domain.GetCloudAccountResponse": { - "type": "object", - "properties": { - "cloudAccount": { - "$ref": "#/definitions/domain.CloudAccountResponse" - } - } - }, - "domain.GetCloudAccountsResponse": { - "type": "object", - "properties": { - "cloudAccounts": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.CloudAccountResponse" - } - }, - "pagination": { - "$ref": "#/definitions/domain.PaginationResponse" - } - } - }, - "domain.GetClusterNodesResponse": { - "type": "object", - "properties": { - "nodes": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ClusterNode" - } - } - } - }, - "domain.GetClustersResponse": { - "type": "object", - "properties": { - "clusters": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ClusterResponse" - } - }, - "pagination": { - "$ref": "#/definitions/domain.PaginationResponse" - } - } - }, - "domain.GetDashboardChartResponse": { - "type": "object", - "properties": { - "chart": { - "$ref": "#/definitions/domain.DashboardChartResponse" - } - } - }, - "domain.GetDashboardChartsResponse": { - "type": "object", - "properties": { - "charts": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.DashboardChartResponse" - } - } - } - }, - "domain.GetDashboardResourcesResponse": { - "type": "object", - "properties": { - "resources": { - "$ref": "#/definitions/domain.DashboardResource" - } - } - }, - "domain.GetDashboardStacksResponse": { - "type": "object", - "properties": { - "stacks": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.DashboardStackResponse" - } - } - } - }, - "domain.GetMyProfileResponse": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "department": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "role": { - "$ref": "#/definitions/domain.Role" - } - } - } - } - }, - "domain.GetOrganizationResponse": { - "type": "object", - "properties": { - "organization": { - "type": "object", - "properties": { - "createdAt": { - "type": "string" - }, - "creator": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "primaryClusterId": { - "type": "string" - }, - "status": { - "type": "string" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - } - } - }, - "domain.GetStackKubeConfigResponse": { - "type": "object", - "properties": { - "kubeConfig": { - "type": "string" - } - } - }, - "domain.GetStackResponse": { - "type": "object", - "properties": { - "stack": { - "$ref": "#/definitions/domain.StackResponse" - } - } - }, - "domain.GetStackStatusResponse": { - "type": "object", - "properties": { - "stackStatus": { - "type": "string" - }, - "stepStatus": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StackStepStatus" - } - } - } - }, - "domain.GetStackTemplateResponse": { - "type": "object", - "properties": { - "stackTemplate": { - "$ref": "#/definitions/domain.StackTemplateResponse" - } - } - }, - "domain.GetStackTemplatesResponse": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/definitions/domain.PaginationResponse" - }, - "stackTemplates": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StackTemplateResponse" - } - } - } - }, - "domain.GetStacksResponse": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/definitions/domain.PaginationResponse" - }, - "stacks": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StackResponse" - } - } - } - }, - "domain.GetUserResponse": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "type": "string" - }, - "department": { - "type": "string" - }, - "description": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "role": { - "$ref": "#/definitions/domain.Role" - }, - "updatedAt": { - "type": "string" - } - } - } - } - }, - "domain.ImportClusterRequest": { - "type": "object", - "required": [ - "name", - "organizationId", - "stackTemplateId" - ], - "properties": { - "cloudService": { - "type": "string" - }, - "clusterType": { - "type": "string" - }, - "description": { - "type": "string" - }, - "kubeconfig": { - "type": "array", - "items": { - "type": "integer" - } - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "stackTemplateId": { - "type": "string" - } - } - }, - "domain.ImportClusterResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "domain.ListOrganizationBody": { - "type": "object", - "properties": { - "createdAt": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "primaryClusterId": { - "type": "string" - }, - "status": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.ListUserBody": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "type": "string" - }, - "department": { - "type": "string" - }, - "description": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "role": { - "$ref": "#/definitions/domain.Role" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.LoginRequest": { - "type": "object", - "required": [ - "accountId", - "organizationId", - "password" - ], - "properties": { - "accountId": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "password": { - "type": "string" - } - } - }, - "domain.LoginResponse": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "department": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "passwordExpired": { - "type": "boolean" - }, - "role": { - "$ref": "#/definitions/domain.Role" - }, - "token": { - "type": "string" - } - } - } - } - }, - "domain.LogoutResponse": { - "type": "object", - "properties": { - "ssoUrls": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "domain.Organization": { - "type": "object", - "properties": { - "createdAt": { - "type": "string" - }, - "creator": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "primaryClusterId": { - "type": "string" - }, - "status": { - "type": "integer" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.PaginationResponse": { - "type": "object", - "properties": { - "filters": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.FilterResponse" - } - }, - "pageNumber": { - "type": "integer" - }, - "pageSize": { - "type": "integer" - }, - "sortColumn": { - "type": "string" - }, - "sortOrder": { - "type": "string" - }, - "totalPages": { - "type": "integer" - }, - "totalRows": { - "type": "integer" - } - } - }, - "domain.PingTokenRequest": { - "type": "object", - "required": [ - "organizationId", - "token" - ], - "properties": { - "organizationId": { - "type": "string" - }, - "token": { - "type": "string" - } - } - }, - "domain.PodCount": { - "type": "object", - "properties": { - "day": { - "type": "integer" - }, - "value": { - "type": "integer" - } - } - }, - "domain.ResourceQuota": { - "type": "object", - "properties": { - "quotas": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ResourceQuotaAttr" - } - } - } - }, - "domain.ResourceQuotaAttr": { - "type": "object", - "properties": { - "quota": { - "type": "integer" - }, - "required": { - "type": "integer" - }, - "type": { - "type": "string" - }, - "usage": { - "type": "integer" - } - } - }, - "domain.Role": { - "type": "object", - "properties": { - "createdAt": { - "type": "string" - }, - "creator": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.RollbackAppServeAppRequest": { - "type": "object", - "properties": { - "taskId": { - "type": "string" - } - } - }, - "domain.SimpleCloudAccountResponse": { - "type": "object", - "properties": { - "awsAccountId": { - "type": "string" - }, - "cloudService": { - "type": "string" - }, - "clusters": { - "type": "integer" - }, - "createdIAM": { - "type": "boolean" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - } - } - }, - "domain.SimpleClusterResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - } - } - }, - "domain.SimpleStackTemplateResponse": { - "type": "object", - "properties": { - "cloudService": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "kubeType": { - "type": "string" - }, - "kubeVersion": { - "type": "string" - }, - "name": { - "type": "string" - }, - "services": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StackTemplateServiceResponse" - } - }, - "template": { - "type": "string" - } - } - }, - "domain.SimpleUserResponse": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - } - }, - "domain.StackConfResponse": { - "type": "object", - "required": [ - "tksInfraNode", - "tksUserNode" - ], - "properties": { - "tksCpNode": { - "type": "integer" - }, - "tksCpNodeMax": { - "type": "integer" - }, - "tksCpNodeType": { - "type": "string" - }, - "tksInfraNode": { - "type": "integer", - "maximum": 3, - "minimum": 1 - }, - "tksInfraNodeMax": { - "type": "integer" - }, - "tksInfraNodeType": { - "type": "string" - }, - "tksUserNode": { - "type": "integer", - "maximum": 100, - "minimum": 0 - }, - "tksUserNodeMax": { - "type": "integer" - }, - "tksUserNodeType": { - "type": "string" - } - } - }, - "domain.StackResponse": { - "type": "object", - "properties": { - "cloudAccount": { - "$ref": "#/definitions/domain.SimpleCloudAccountResponse" - }, - "conf": { - "$ref": "#/definitions/domain.StackConfResponse" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "description": { - "type": "string" - }, - "favorited": { - "type": "boolean" - }, - "grafanaUrl": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "primaryCluster": { - "type": "boolean" - }, - "resource": { - "$ref": "#/definitions/domain.DashboardStackResponse" - }, - "stackTemplate": { - "$ref": "#/definitions/domain.SimpleStackTemplateResponse" - }, - "status": { - "type": "string" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "userClusterEndpoint": { - "type": "string" - } - } - }, - "domain.StackStepStatus": { - "type": "object", - "properties": { - "maxStep": { - "type": "integer" - }, - "stage": { - "type": "string" - }, - "status": { - "type": "string" - }, - "step": { - "type": "integer" - } - } - }, - "domain.StackTemplate": { - "type": "object", - "properties": { - "cloudService": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "$ref": "#/definitions/domain.User" - }, - "creatorId": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "kubeType": { - "type": "string" - }, - "kubeVersion": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "platform": { - "type": "string" - }, - "services": { - "type": "array", - "items": { - "type": "integer" - } - }, - "template": { - "type": "string" - }, - "templateType": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.User" - }, - "updatorId": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "domain.StackTemplateResponse": { - "type": "object", - "properties": { - "cloudService": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "kubeType": { - "type": "string" - }, - "kubeVersion": { - "type": "string" - }, - "name": { - "type": "string" - }, - "platform": { - "type": "string" - }, - "services": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StackTemplateServiceResponse" - } - }, - "template": { - "type": "string" - }, - "templateType": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "version": { - "type": "string" - } - } - }, - "domain.StackTemplateServiceApplicationResponse": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "domain.StackTemplateServiceResponse": { - "type": "object", - "properties": { - "applications": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StackTemplateServiceApplicationResponse" - } - }, - "type": { - "type": "string" - } - } - }, - "domain.StageResponse": { - "type": "object", - "properties": { - "actions": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ActionResponse" - } - }, - "name": { - "description": "BUILD (빌드), DEPLOY (배포), PROMOTE (프로모트), ROLLBACK (롤백)", - "type": "string" - }, - "result": { - "type": "string" - }, - "status": { - "type": "string" - } - } - }, - "domain.Unit": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string" - } - } - }, - "domain.UpdateAlertRequest": { - "type": "object", - "properties": { - "description": { - "type": "string" - } - } - }, - "domain.UpdateAppServeAppEndpointRequest": { - "type": "object", - "required": [ - "taskId" - ], - "properties": { - "endpointUrl": { - "type": "string" - }, - "helmRevision": { - "type": "integer" - }, - "previewEndpointUrl": { - "type": "string" - }, - "taskId": { - "type": "string" - } - } - }, - "domain.UpdateAppServeAppRequest": { - "type": "object", - "properties": { - "abort": { - "type": "boolean" - }, - "appConfig": { - "type": "string" - }, - "appSecret": { - "type": "string" - }, - "artifactUrl": { - "type": "string" - }, - "executablePath": { - "type": "string" - }, - "extraEnv": { - "type": "string" - }, - "imageUrl": { - "type": "string" - }, - "port": { - "type": "string" - }, - "profile": { - "type": "string" - }, - "promote": { - "description": "Update Strategy", - "type": "boolean" - }, - "resourceSpec": { - "type": "string" - }, - "strategy": { - "description": "Task", - "type": "string" - } - } - }, - "domain.UpdateAppServeAppStatusRequest": { - "type": "object", - "required": [ - "status", - "taskId" - ], - "properties": { - "output": { - "type": "string" - }, - "status": { - "type": "string" - }, - "taskId": { - "type": "string" - } - } - }, - "domain.UpdateCloudAccountRequest": { - "type": "object", - "properties": { - "description": { - "type": "string" - } - } - }, - "domain.UpdateMyProfileRequest": { - "type": "object", - "required": [ - "password" - ], - "properties": { - "department": { - "type": "string", - "maxLength": 50, - "minLength": 0 - }, - "email": { - "type": "string" - }, - "name": { - "type": "string", - "maxLength": 30, - "minLength": 1 - }, - "password": { - "type": "string" - } - } - }, - "domain.UpdateMyProfileResponse": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "department": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "role": { - "$ref": "#/definitions/domain.Role" - } - } - } - } - }, - "domain.UpdateOrganizationRequest": { - "type": "object", - "required": [ - "name" - ], - "properties": { - "description": { - "type": "string", - "maxLength": 100, - "minLength": 0 - }, - "name": { - "type": "string", - "maxLength": 30, - "minLength": 1 - }, - "phone": { - "type": "string" - }, - "primaryClusterId": { - "type": "string" - } - } - }, - "domain.UpdateOrganizationResponse": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "phone": { - "type": "string" - } - } - }, - "domain.UpdatePasswordRequest": { - "type": "object", - "required": [ - "newPassword", - "originPassword" - ], - "properties": { - "newPassword": { - "type": "string" - }, - "originPassword": { - "type": "string" - } - } - }, - "domain.UpdatePrimaryClusterRequest": { - "type": "object", - "properties": { - "primaryClusterId": { - "type": "string" - } - } - }, - "domain.UpdateStackRequest": { - "type": "object", - "properties": { - "description": { - "type": "string" - } - } - }, - "domain.UpdateStackTemplateRequest": { - "type": "object", - "properties": { - "description": { - "type": "string" - } - } - }, - "domain.UpdateUserRequest": { - "type": "object", - "properties": { - "department": { - "type": "string", - "maxLength": 50, - "minLength": 0 - }, - "description": { - "type": "string", - "maxLength": 100, - "minLength": 0 - }, - "email": { - "type": "string" - }, - "name": { - "type": "string", - "maxLength": 30, - "minLength": 1 - }, - "role": { - "type": "string", - "enum": [ - "admin", - "user" - ] - } - } - }, - "domain.UpdateUserResponse": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "department": { - "type": "string" - }, - "description": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "role": { - "$ref": "#/definitions/domain.Role" - }, - "updatedAt": { - "type": "string" - } - } - } - } - }, - "domain.User": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "type": "string" - }, - "department": { - "type": "string" - }, - "description": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "password": { - "type": "string" - }, - "passwordExpired": { - "type": "boolean" - }, - "passwordUpdatedAt": { - "type": "string" - }, - "role": { - "$ref": "#/definitions/domain.Role" - }, - "token": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.VerifyIdentityForLostIdRequest": { - "type": "object", - "required": [ - "email", - "organizationId", - "userName" - ], - "properties": { - "email": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "userName": { - "type": "string" - } - } - }, - "domain.VerifyIdentityForLostIdResponse": { - "type": "object", - "properties": { - "validityPeriod": { - "type": "string" - } - } - }, - "domain.VerifyIdentityForLostPasswordRequest": { - "type": "object", - "required": [ - "accountId", - "email", - "organizationId", - "userName" - ], - "properties": { - "accountId": { - "type": "string" - }, - "email": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "userName": { - "type": "string" - } - } - }, - "domain.VerifyIdentityForLostPasswordResponse": { - "type": "object", - "properties": { - "validityPeriod": { - "type": "string" - } - } - }, - "httpErrors.RestError": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "status": { - "type": "integer" - }, - "text": { - "type": "string" - } - } - } - }, - "securityDefinitions": { - "JWT": { - "type": "apiKey", - "name": "Authorization", - "in": "header" - } - } -}` - -// SwaggerInfo holds exported Swagger Info so clients can modify it -var SwaggerInfo = &swag.Spec{ - Version: "1.0", - Host: "tks-api-ft.taco-cat.xyz", - BasePath: "/api/1.0/", - Schemes: []string{}, - Title: "tks-api service", - Description: "This is backend api service for tks platform", - InfoInstanceName: "swagger", - SwaggerTemplate: docTemplate, -} - -func init() { - swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) -} diff --git a/api/swagger/swagger.json b/api/swagger/swagger.json deleted file mode 100644 index fa98668f..00000000 --- a/api/swagger/swagger.json +++ /dev/null @@ -1,6851 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "description": "This is backend api service for tks platform", - "title": "tks-api service", - "contact": { - "name": "taekyu.kang@sk.com", - "email": "taekyu.kang@sk.com" - }, - "license": { - "name": "Apache 2.0", - "url": "http://www.apache.org/licenses/LICENSE-2.0.html" - }, - "version": "1.0" - }, - "host": "tks-api-ft.taco-cat.xyz", - "basePath": "/api/1.0/", - "paths": { - "/app-groups": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get appGroup list by giving params", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppGroups" - ], - "summary": "Get appGroup list", - "parameters": [ - { - "type": "string", - "description": "clusterId", - "name": "clusterId", - "in": "query" - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetAppGroupsResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Install appGroup", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppGroups" - ], - "summary": "Install appGroup", - "parameters": [ - { - "description": "create appgroup request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateAppGroupRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CreateAppGroupResponse" - } - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Uninstall appGroup", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppGroups" - ], - "summary": "Uninstall appGroup", - "parameters": [ - { - "description": "body", - "name": "object", - "in": "body", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/app-groups/{appGroupId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get appGroup detail by appGroupId", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppGroups" - ], - "summary": "Get appGroup detail", - "parameters": [ - { - "type": "string", - "description": "appGroupId", - "name": "appGroupId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetAppGroupResponse" - } - } - } - } - }, - "/app-groups/{appGroupId}/applications": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get applications", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppGroups" - ], - "summary": "Get applications", - "parameters": [ - { - "type": "string", - "description": "appGroupId", - "name": "appGroupId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "applicationType", - "name": "applicationType", - "in": "query", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetApplicationsResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create application", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppGroups" - ], - "summary": "Create application", - "parameters": [ - { - "description": "body", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateApplicationRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/auth/find-id/code": { - "post": { - "description": "This API allows users to verify their identity for lost id by submitting required information", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "Request to verify identity for lost id", - "parameters": [ - { - "description": "Request body for verifying identity for lost id including {organization ID, email, username}", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.VerifyIdentityForLostIdRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.VerifyIdentityForLostIdResponse" - } - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/httpErrors.RestError" - } - } - } - } - }, - "/auth/find-id/verification": { - "post": { - "description": "This API allows users to find their account ID by submitting required information", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "Request to find forgotten ID", - "parameters": [ - { - "description": "Request body for finding the account ID including {organization ID, email, username, 6 digit code}", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.FindIdRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.FindIdResponse" - } - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/httpErrors.RestError" - } - } - } - } - }, - "/auth/find-password/code": { - "post": { - "description": "This API allows users to verify their identity for lost password by submitting required information", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "Request to verify identity for lost password", - "parameters": [ - { - "description": "Request body for verifying identity for lost password including {organization ID, email, username, Account ID}", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.VerifyIdentityForLostPasswordRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.VerifyIdentityForLostPasswordResponse" - } - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/httpErrors.RestError" - } - } - } - } - }, - "/auth/find-password/verification": { - "post": { - "description": "This API allows users to reset their forgotten password by submitting required information", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "Request to find forgotten password", - "parameters": [ - { - "description": "Request body for finding the password including {organization ID, email, username, Account ID, 6 digit code}", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.FindPasswordRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/httpErrors.RestError" - } - } - } - } - }, - "/auth/login": { - "post": { - "description": "login", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "login", - "parameters": [ - { - "description": "account info", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.LoginRequest" - } - } - ], - "responses": { - "200": { - "description": "user detail", - "schema": { - "$ref": "#/definitions/domain.LoginResponse" - } - } - } - } - }, - "/auth/logout": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "logout", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "logout", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.LogoutResponse" - } - } - } - } - }, - "/auth/ping": { - "post": { - "description": "ping with token", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Auth" - ], - "summary": "ping with token", - "parameters": [ - { - "description": "token info", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.PingTokenRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/clusters": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get cluster list", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Get clusters", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "query" - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetClustersResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create cluster", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Create cluster", - "parameters": [ - { - "description": "create cluster request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateClusterRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CreateClusterResponse" - } - } - } - } - }, - "/clusters/import": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Import cluster", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Import cluster", - "parameters": [ - { - "description": "import cluster request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.ImportClusterRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.ImportClusterResponse" - } - } - } - } - }, - "/clusters/{clusterId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get cluster detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Get cluster", - "parameters": [ - { - "type": "string", - "description": "clusterId", - "name": "clusterId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.Cluster" - } - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete cluster", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Delete cluster", - "parameters": [ - { - "type": "string", - "description": "clusterId", - "name": "clusterId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.Cluster" - } - } - } - } - }, - "/clusters/{clusterId}/bootstrap-kubeconfig": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get bootstrap kubeconfig for BYOH", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Get bootstrap kubeconfig for BYOH", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetBootstrapKubeconfigResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create bootstrap kubeconfig for BYOH", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Create bootstrap kubeconfig for BYOH", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CreateBootstrapKubeconfigResponse" - } - } - } - } - }, - "/clusters/{clusterId}/install": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Install cluster on tks cluster", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Install cluster on tks cluster", - "parameters": [ - { - "type": "string", - "description": "clusterId", - "name": "clusterId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/clusters/{clusterId}/nodes": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get nodes information for BYOH", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Get nodes information for BYOH", - "parameters": [ - { - "type": "string", - "description": "clusterId", - "name": "clusterId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetClusterNodesResponse" - } - } - } - } - }, - "/clusters/{clusterId}/site-values": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get cluster site values for creating", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Clusters" - ], - "summary": "Get cluster site values for creating", - "parameters": [ - { - "type": "string", - "description": "clusterId", - "name": "clusterId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.ClusterSiteValuesResponse" - } - } - } - } - }, - "/organizations": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get organization list", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Organizations" - ], - "summary": "Get organization list", - "parameters": [ - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ListOrganizationBody" - } - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create organization", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Organizations" - ], - "summary": "Create organization", - "parameters": [ - { - "description": "create organization request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateOrganizationRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "object" - } - } - } - } - }, - "/organizations/{organizationId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get organization detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Organizations" - ], - "summary": "Get organization detail", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetOrganizationResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update organization detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Organizations" - ], - "summary": "Update organization detail", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "update organization request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateOrganizationRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.UpdateOrganizationResponse" - } - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete organization", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Organizations" - ], - "summary": "Delete organization", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.Organization" - } - } - } - } - }, - "/organizations/{organizationId}/alerts": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get Alerts", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Alerts" - ], - "summary": "Get Alerts", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetAlertsResponse" - } - } - } - } - }, - "/organizations/{organizationId}/alerts/{alertId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get Alert", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Alerts" - ], - "summary": "Get Alert", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "alertId", - "name": "alertId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetAlertResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update Alert", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Alerts" - ], - "summary": "Update Alert", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "Update cloud setting request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateAlertRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete Alert", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Alerts" - ], - "summary": "Delete Alert", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "alertId", - "name": "alertId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/alerts/{alertId}/actions": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create alert action", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Alerts" - ], - "summary": "Create alert action", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get appServeApp list by giving params", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Get appServeApp list", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "boolean", - "description": "Show all apps including deleted apps", - "name": "showAll", - "in": "query" - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.AppServeApp" - } - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Install appServeApp", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Install appServeApp", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "Request body to create app", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateAppServeAppRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/count": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get number of apps on given stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Get number of apps on given stack", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "Stack ID", - "name": "stackId", - "in": "query", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "integer" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/name/{name}/existence": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Check duplicate appServeAppName by giving params", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Check duplicate appServeAppName", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "name", - "name": "name", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "boolean" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/{appId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get appServeApp by giving params", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Get appServeApp", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "App ID", - "name": "appId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetAppServeAppResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update appServeApp", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Update appServeApp", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "App ID", - "name": "appId", - "in": "path", - "required": true - }, - { - "description": "Request body to update app", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateAppServeAppRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Uninstall appServeApp", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Uninstall appServeApp", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "App ID", - "name": "appId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/{appId}/endpoint": { - "patch": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update app endpoint", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Update app endpoint", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "appId", - "name": "appId", - "in": "path", - "required": true - }, - { - "description": "Request body to update app endpoint", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateAppServeAppEndpointRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/{appId}/exist": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get appServeApp by giving params", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Get appServeApp", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "boolean" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/{appId}/latest-task": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get latest task from appServeApp", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Get latest task from appServeApp", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "App ID", - "name": "appId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetAppServeAppTaskResponse" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/{appId}/rollback": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Rollback appServeApp", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Rollback appServeApp", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "App ID", - "name": "appId", - "in": "path", - "required": true - }, - { - "description": "Request body to rollback app", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.RollbackAppServeAppRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - } - } - } - }, - "/organizations/{organizationId}/app-serve-apps/{appId}/status": { - "patch": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update app status", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "AppServeApps" - ], - "summary": "Update app status", - "parameters": [ - { - "type": "string", - "description": "Organization ID", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "App ID", - "name": "appId", - "in": "path", - "required": true - }, - { - "description": "Request body to update app status", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateAppServeAppStatusRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - } - } - } - }, - "/organizations/{organizationId}/cloud-accounts": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get CloudAccounts", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Get CloudAccounts", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetCloudAccountsResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create CloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Create CloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "create cloud setting request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateCloudAccountRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CreateCloudAccountResponse" - } - } - } - } - }, - "/organizations/{organizationId}/cloud-accounts/aws-account-id/{awsAccountId}/existence": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Check awsAccountId for cloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Check awsAccountId for cloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "awsAccountId", - "name": "awsAccountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CheckCloudAccountAwsAccountIdResponse" - } - } - } - } - }, - "/organizations/{organizationId}/cloud-accounts/name/{name}/existence": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Check name for cloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Check name for cloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "name", - "name": "name", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CheckCloudAccountNameResponse" - } - } - } - } - }, - "/organizations/{organizationId}/cloud-accounts/{cloudAccountId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get CloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Get CloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "cloudAccountId", - "name": "cloudAccountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetCloudAccountResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update CloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Update CloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "Update cloud setting request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateCloudAccountRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete CloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Delete CloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "Delete cloud setting request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.DeleteCloudAccountRequest" - } - }, - { - "type": "string", - "description": "cloudAccountId", - "name": "cloudAccountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/cloud-accounts/{cloudAccountId}/error": { - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete Force CloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Delete Force CloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "cloudAccountId", - "name": "cloudAccountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/cloud-accounts/{cloudAccountId}/quota": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get resource quota by cloudAccount", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "CloudAccounts" - ], - "summary": "Get resource quota by cloudAccount", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "cloudAccountId", - "name": "cloudAccountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetCloudAccountResourceQuotaResponse" - } - } - } - } - }, - "/organizations/{organizationId}/dashboard/charts": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get charts data", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Dashboards" - ], - "summary": "Get charts data", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "chartType", - "name": "chartType", - "in": "query" - }, - { - "type": "string", - "description": "duration", - "name": "duration", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "interval", - "name": "interval", - "in": "query", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetDashboardChartsResponse" - } - } - } - } - }, - "/organizations/{organizationId}/dashboard/charts/{chartType}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get chart data", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Dashboards" - ], - "summary": "Get chart data", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "chartType", - "name": "chartType", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "duration", - "name": "duration", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "interval", - "name": "interval", - "in": "query", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetDashboardChartResponse" - } - } - } - } - }, - "/organizations/{organizationId}/dashboard/resources": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get resources", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Dashboards" - ], - "summary": "Get resources", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetDashboardResourcesResponse" - } - } - } - } - }, - "/organizations/{organizationId}/dashboard/stacks": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get stacks", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Dashboards" - ], - "summary": "Get stacks", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetDashboardStacksResponse" - } - } - } - } - }, - "/organizations/{organizationId}/my-profile": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get my profile detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "My-profile" - ], - "summary": "Get my profile detail", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetMyProfileResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update my profile detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "My-profile" - ], - "summary": "Update my profile detail", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "Required fields: password due to double-check", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateMyProfileRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.UpdateMyProfileResponse" - } - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete myProfile", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "My-profile" - ], - "summary": "Delete myProfile", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request" - } - } - } - }, - "/organizations/{organizationId}/my-profile/next-password-change": { - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update user's password expired date to current date", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "My-profile" - ], - "summary": "Update user's password expired date to current date", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "schema": { - "$ref": "#/definitions/httpErrors.RestError" - } - } - } - } - }, - "/organizations/{organizationId}/my-profile/password": { - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update user password detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "My-profile" - ], - "summary": "Update user password detail", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "update user password request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdatePasswordRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/primary-cluster": { - "patch": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update primary cluster", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Organizations" - ], - "summary": "Update primary cluster", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "update primary cluster request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdatePrimaryClusterRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/stacks": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get Stacks", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Get Stacks", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "string", - "description": "combinedFilter", - "name": "combinedFilter", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetStacksResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create Stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Create Stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "create cloud setting request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateStackRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CreateStackResponse" - } - } - } - } - }, - "/organizations/{organizationId}/stacks/name/{name}/existence": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Check name for stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Check name for stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "name", - "name": "name", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/stacks/{stackId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get Stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Get Stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetStackResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update Stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Update Stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - }, - { - "description": "Update cloud setting request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateStackRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete Stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Delete Stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/stacks/{stackId}/favorite": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Set favorite stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Set favorite stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete favorite stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Delete favorite stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/organizations/{organizationId}/stacks/{stackId}/kube-config": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get KubeConfig by stack", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Get KubeConfig by stack", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "organizationId", - "name": "stackId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetStackKubeConfigResponse" - } - } - } - } - }, - "/organizations/{organizationId}/stacks/{stackId}/status": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get Stack Status", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Stacks" - ], - "summary": "Get Stack Status", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "stackId", - "name": "stackId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetStackStatusResponse" - } - } - } - } - }, - "/organizations/{organizationId}/users": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get user list", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Get user list", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ListUserBody" - } - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create user", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Create user", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "description": "create user request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateUserRequest" - } - } - ], - "responses": { - "200": { - "description": "create user response", - "schema": { - "$ref": "#/definitions/domain.CreateUserResponse" - } - } - } - } - }, - "/organizations/{organizationId}/users/account-id/{accountId}/existence": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "return true when accountId exists", - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Get user id existence", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "accountId", - "name": "accountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CheckExistedResponse" - } - } - } - } - }, - "/organizations/{organizationId}/users/email/{email}/existence": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "return true when email exists", - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Get user email existence", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "email", - "name": "accountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CheckExistedResponse" - } - } - } - } - }, - "/organizations/{organizationId}/users/{accountId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get user detail", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Get user detail", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "accountId", - "name": "accountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetUserResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update user", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Update user", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "accountId", - "name": "accountId", - "in": "path", - "required": true - }, - { - "description": "input", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateUserRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.UpdateUserResponse" - } - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete user", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Delete user", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "accountId", - "name": "accountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.User" - } - } - } - } - }, - "/organizations/{organizationId}/users/{accountId}/reset-password": { - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Reset user's password as temporary password by admin and send email to user", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Users" - ], - "summary": "Reset user's password as temporary password by admin", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "accountId", - "name": "accountId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/stack-templates": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get StackTemplates", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "StackTemplates" - ], - "summary": "Get StackTemplates", - "parameters": [ - { - "type": "string", - "description": "pageSize", - "name": "limit", - "in": "query" - }, - { - "type": "string", - "description": "pageNumber", - "name": "page", - "in": "query" - }, - { - "type": "string", - "description": "sortColumn", - "name": "soertColumn", - "in": "query" - }, - { - "type": "string", - "description": "sortOrder", - "name": "sortOrder", - "in": "query" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "filters", - "name": "filters", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetStackTemplatesResponse" - } - } - } - }, - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create StackTemplate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "StackTemplates" - ], - "summary": "Create StackTemplate 'NOT IMPLEMENTED'", - "parameters": [ - { - "description": "create stack template request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.CreateStackTemplateRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.CreateStackTemplateResponse" - } - } - } - } - }, - "/stack-templates/{stackTemplateId}": { - "get": { - "security": [ - { - "JWT": [] - } - ], - "description": "Get StackTemplate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "StackTemplates" - ], - "summary": "Get StackTemplate", - "parameters": [ - { - "type": "string", - "description": "stackTemplateId", - "name": "stackTemplateId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/domain.GetStackTemplateResponse" - } - } - } - }, - "put": { - "security": [ - { - "JWT": [] - } - ], - "description": "Update StackTemplate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "StackTemplates" - ], - "summary": "Update StackTemplate 'NOT IMPLEMENTED'", - "parameters": [ - { - "description": "Update stack template request", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/domain.UpdateStackTemplateRequest" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "security": [ - { - "JWT": [] - } - ], - "description": "Delete StackTemplate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "StackTemplates" - ], - "summary": "Delete StackTemplate 'NOT IMPLEMENTED'", - "parameters": [ - { - "type": "string", - "description": "stackTemplateId", - "name": "stackTemplateId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/system-api/organizations/{organizationId}/alerts": { - "post": { - "security": [ - { - "JWT": [] - } - ], - "description": "Create alert. ADMIN ONLY", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Alerts" - ], - "summary": "Create alert. ADMIN ONLY", - "parameters": [ - { - "type": "string", - "description": "organizationId", - "name": "organizationId", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - } - }, - "definitions": { - "domain.ActionResponse": { - "type": "object", - "properties": { - "body": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "method": { - "type": "string" - }, - "name": { - "description": "ENDPOINT (화면보기), PREVIEW (미리보기), PROMOTE (배포), ABORT (중단)", - "type": "string" - }, - "type": { - "description": "LINK, API", - "type": "string" - }, - "uri": { - "type": "string" - } - } - }, - "domain.AlertActionResponse": { - "type": "object", - "properties": { - "alertId": { - "type": "string" - }, - "content": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "id": { - "type": "string" - }, - "status": { - "type": "string" - }, - "taker": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.AlertResponse": { - "type": "object", - "properties": { - "alertActions": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.AlertActionResponse" - } - }, - "closedAt": { - "type": "string" - }, - "cluster": { - "$ref": "#/definitions/domain.SimpleClusterResponse" - }, - "code": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "description": { - "type": "string" - }, - "firedAt": { - "type": "string" - }, - "grade": { - "type": "string" - }, - "grafanaUrl": { - "type": "string" - }, - "id": { - "type": "string" - }, - "lastTaker": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "message": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "processingSec": { - "type": "integer" - }, - "rawData": { - "type": "string" - }, - "status": { - "type": "string" - }, - "takedAt": { - "type": "string" - }, - "takedSec": { - "type": "integer" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.AppGroupResponse": { - "type": "object", - "properties": { - "appGroupType": { - "type": "integer" - }, - "clusterId": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "status": { - "type": "integer" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "workflowId": { - "type": "string" - } - } - }, - "domain.AppServeApp": { - "type": "object", - "properties": { - "appServeAppTasks": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.AppServeAppTask" - } - }, - "appType": { - "description": "appType (spring/springboot)", - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "deletedAt": { - "type": "string" - }, - "endpointUrl": { - "description": "endpoint URL of deployed app", - "type": "string" - }, - "grafanaUrl": { - "description": "grafana dashboard URL for deployed app", - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "description": "application name", - "type": "string" - }, - "namespace": { - "description": "application namespace", - "type": "string" - }, - "organizationId": { - "description": "contractId is a contract ID which this app belongs to", - "type": "string" - }, - "previewEndpointUrl": { - "description": "preview svc endpoint URL in B/G deployment", - "type": "string" - }, - "status": { - "description": "status is status of deployed app", - "type": "string" - }, - "targetClusterId": { - "description": "target cluster to which the app is deployed", - "type": "string" - }, - "targetClusterName": { - "description": "target cluster name", - "type": "string" - }, - "type": { - "description": "type (build/deploy/all)", - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.AppServeAppTask": { - "type": "object", - "properties": { - "appConfig": { - "description": "java app config", - "type": "string" - }, - "appSecret": { - "description": "java app secret", - "type": "string" - }, - "appServeAppId": { - "description": "ID for appServeApp that this task belongs to", - "type": "string" - }, - "artifactUrl": { - "description": "URL of java app artifact (Eg, Jar)", - "type": "string" - }, - "availableRollback": { - "type": "boolean" - }, - "createdAt": { - "description": "createdAt is a creation timestamp for the application", - "type": "string" - }, - "deletedAt": { - "type": "string" - }, - "executablePath": { - "description": "Executable path of app image", - "type": "string" - }, - "extraEnv": { - "description": "env variable list for java app", - "type": "string" - }, - "helmRevision": { - "description": "revision of deployed helm release", - "type": "integer" - }, - "id": { - "type": "string" - }, - "imageUrl": { - "description": "URL of built image for app", - "type": "string" - }, - "output": { - "description": "output for task result", - "type": "string" - }, - "port": { - "description": "java app port", - "type": "string" - }, - "profile": { - "description": "java app profile", - "type": "string" - }, - "pvAccessMode": { - "type": "string" - }, - "pvEnabled": { - "type": "boolean" - }, - "pvMountPath": { - "type": "string" - }, - "pvSize": { - "type": "string" - }, - "pvStorageClass": { - "type": "string" - }, - "resourceSpec": { - "description": "resource spec of app pod", - "type": "string" - }, - "rollbackVersion": { - "description": "rollback target version", - "type": "string" - }, - "status": { - "description": "status is app status", - "type": "string" - }, - "strategy": { - "description": "deployment strategy (eg, rolling-update)", - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "version": { - "description": "application version", - "type": "string" - } - } - }, - "domain.ApplicationResponse": { - "type": "object", - "properties": { - "appGroupId": { - "type": "string" - }, - "applicationType": { - "type": "integer" - }, - "createdAt": { - "type": "string" - }, - "endpoint": { - "type": "string" - }, - "id": { - "type": "string" - }, - "metadata": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.Axis": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "domain.BootstrapKubeconfig": { - "type": "object", - "properties": { - "expiration": { - "type": "integer" - } - } - }, - "domain.ChartData": { - "type": "object", - "properties": { - "podCounts": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.PodCount" - } - }, - "series": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.Unit" - } - }, - "xAxis": { - "$ref": "#/definitions/domain.Axis" - }, - "yAxis": { - "$ref": "#/definitions/domain.Axis" - } - } - }, - "domain.CheckCloudAccountAwsAccountIdResponse": { - "type": "object", - "properties": { - "existed": { - "type": "boolean" - } - } - }, - "domain.CheckCloudAccountNameResponse": { - "type": "object", - "properties": { - "existed": { - "type": "boolean" - } - } - }, - "domain.CheckExistedResponse": { - "type": "object", - "properties": { - "existed": { - "type": "boolean" - } - } - }, - "domain.CloudAccount": { - "type": "object", - "properties": { - "accessKeyId": { - "type": "string" - }, - "awsAccountId": { - "type": "string" - }, - "cloudService": { - "type": "string" - }, - "clusters": { - "type": "integer" - }, - "createdAt": { - "type": "string" - }, - "createdIAM": { - "type": "boolean" - }, - "creator": { - "$ref": "#/definitions/domain.User" - }, - "creatorId": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "secretAccessKey": { - "type": "string" - }, - "sessionToken": { - "type": "string" - }, - "status": { - "type": "integer" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.User" - }, - "updatorId": { - "type": "string" - } - } - }, - "domain.CloudAccountResponse": { - "type": "object", - "properties": { - "awsAccountId": { - "type": "string" - }, - "cloudService": { - "type": "string" - }, - "clusters": { - "type": "integer" - }, - "createdAt": { - "type": "string" - }, - "createdIAM": { - "type": "boolean" - }, - "creator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "status": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - } - } - }, - "domain.Cluster": { - "type": "object", - "properties": { - "byoClusterEndpointHost": { - "type": "string" - }, - "byoClusterEndpointPort": { - "type": "integer" - }, - "cloudAccount": { - "$ref": "#/definitions/domain.CloudAccount" - }, - "cloudAccountId": { - "type": "string" - }, - "cloudService": { - "type": "string" - }, - "clusterType": { - "type": "integer" - }, - "conf": { - "$ref": "#/definitions/domain.ClusterConf" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "$ref": "#/definitions/domain.User" - }, - "creatorId": { - "type": "string" - }, - "description": { - "type": "string" - }, - "favorited": { - "type": "boolean" - }, - "id": { - "type": "string" - }, - "isStack": { - "type": "boolean" - }, - "kubeconfig": { - "type": "array", - "items": { - "type": "integer" - } - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "stackTemplate": { - "$ref": "#/definitions/domain.StackTemplate" - }, - "stackTemplateId": { - "type": "string" - }, - "status": { - "type": "integer" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.User" - }, - "updatorId": { - "type": "string" - } - } - }, - "domain.ClusterConf": { - "type": "object", - "properties": { - "tksCpNode": { - "type": "integer" - }, - "tksCpNodeMax": { - "type": "integer" - }, - "tksCpNodeType": { - "type": "string" - }, - "tksInfraNode": { - "type": "integer" - }, - "tksInfraNodeMax": { - "type": "integer" - }, - "tksInfraNodeType": { - "type": "string" - }, - "tksUserNode": { - "type": "integer" - }, - "tksUserNodeMax": { - "type": "integer" - }, - "tksUserNodeType": { - "type": "string" - } - } - }, - "domain.ClusterConfResponse": { - "type": "object", - "properties": { - "tksCpNode": { - "type": "integer" - }, - "tksCpNodeMax": { - "type": "integer" - }, - "tksCpNodeType": { - "type": "string" - }, - "tksInfraNode": { - "type": "integer" - }, - "tksInfraNodeMax": { - "type": "integer" - }, - "tksInfraNodeType": { - "type": "string" - }, - "tksUserNode": { - "type": "integer" - }, - "tksUserNodeMax": { - "type": "integer" - }, - "tksUserNodeType": { - "type": "string" - } - } - }, - "domain.ClusterHost": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "status": { - "type": "string" - } - } - }, - "domain.ClusterNode": { - "type": "object", - "properties": { - "command": { - "type": "string" - }, - "hosts": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ClusterHost" - } - }, - "registered": { - "type": "integer" - }, - "registering": { - "type": "integer" - }, - "status": { - "type": "string" - }, - "targeted": { - "type": "integer" - }, - "type": { - "type": "string" - }, - "validity": { - "type": "integer" - } - } - }, - "domain.ClusterResponse": { - "type": "object", - "properties": { - "byoClusterEndpointHost": { - "type": "string" - }, - "byoClusterEndpointPort": { - "type": "integer" - }, - "cloudAccount": { - "$ref": "#/definitions/domain.SimpleCloudAccountResponse" - }, - "cloudService": { - "type": "string" - }, - "clusterType": { - "type": "string" - }, - "conf": { - "$ref": "#/definitions/domain.ClusterConfResponse" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "isStack": { - "type": "boolean" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "stackTemplate": { - "$ref": "#/definitions/domain.SimpleStackTemplateResponse" - }, - "status": { - "type": "string" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - } - } - }, - "domain.ClusterSiteValuesResponse": { - "type": "object", - "properties": { - "byoClusterEndpointHost": { - "type": "string" - }, - "byoClusterEndpointPort": { - "type": "integer" - }, - "clusterRegion": { - "type": "string" - }, - "clusterType": { - "type": "string" - }, - "sshKeyName": { - "type": "string" - }, - "tksCpNode": { - "type": "integer" - }, - "tksCpNodeMax": { - "type": "integer" - }, - "tksCpNodeType": { - "type": "string" - }, - "tksInfraNode": { - "type": "integer" - }, - "tksInfraNodeMax": { - "type": "integer" - }, - "tksInfraNodeType": { - "type": "string" - }, - "tksUserNode": { - "type": "integer" - }, - "tksUserNodeMax": { - "type": "integer" - }, - "tksUserNodeType": { - "type": "string" - } - } - }, - "domain.CreateAppGroupRequest": { - "type": "object", - "required": [ - "clusterId", - "name" - ], - "properties": { - "appGroupType": { - "type": "string", - "enum": [ - "LMA", - "SERVICE_MESH" - ] - }, - "clusterId": { - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - } - } - }, - "domain.CreateAppGroupResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "domain.CreateAppServeAppRequest": { - "type": "object", - "required": [ - "name", - "targetClusterId" - ], - "properties": { - "appConfig": { - "type": "string" - }, - "appSecret": { - "type": "string" - }, - "appType": { - "description": "springboot spring", - "type": "string" - }, - "artifactUrl": { - "type": "string" - }, - "executablePath": { - "type": "string" - }, - "extraEnv": { - "type": "string" - }, - "imageUrl": { - "type": "string" - }, - "name": { - "description": "App", - "type": "string" - }, - "namespace": { - "type": "string" - }, - "port": { - "type": "string" - }, - "profile": { - "type": "string" - }, - "pvAccessMode": { - "type": "string" - }, - "pvEnabled": { - "type": "boolean" - }, - "pvMountPath": { - "type": "string" - }, - "pvSize": { - "type": "string" - }, - "pvStorageClass": { - "type": "string" - }, - "resourceSpec": { - "description": "tiny medium large", - "type": "string" - }, - "strategy": { - "description": "rolling-update blue-green canary", - "type": "string" - }, - "targetClusterId": { - "type": "string" - }, - "type": { - "description": "build deploy all", - "type": "string" - }, - "version": { - "description": "Task", - "type": "string" - } - } - }, - "domain.CreateApplicationRequest": { - "type": "object", - "properties": { - "applicationType": { - "type": "string" - }, - "endpoint": { - "type": "string" - }, - "metadata": { - "type": "string" - } - } - }, - "domain.CreateBootstrapKubeconfigResponse": { - "type": "object", - "properties": { - "kubeconfig": { - "$ref": "#/definitions/domain.BootstrapKubeconfig" - } - } - }, - "domain.CreateCloudAccountRequest": { - "type": "object", - "required": [ - "accessKeyId", - "awsAccountId", - "name", - "secretAccessKey" - ], - "properties": { - "accessKeyId": { - "type": "string", - "maxLength": 128, - "minLength": 16 - }, - "awsAccountId": { - "type": "string", - "maxLength": 12, - "minLength": 12 - }, - "cloudService": { - "type": "string", - "enum": [ - "AWS", - "AZZURE", - "GCP" - ] - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "secretAccessKey": { - "type": "string", - "maxLength": 128, - "minLength": 16 - }, - "sessionToken": { - "type": "string", - "maxLength": 2000 - } - } - }, - "domain.CreateCloudAccountResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "domain.CreateClusterRequest": { - "type": "object", - "required": [ - "cloudService", - "name", - "organizationId", - "stackTemplateId" - ], - "properties": { - "byoClusterEndpointHost": { - "type": "string" - }, - "byoClusterEndpointPort": { - "type": "integer" - }, - "cloudAccountId": { - "type": "string" - }, - "cloudService": { - "type": "string", - "enum": [ - "AWS", - "BYOH" - ] - }, - "clusterType": { - "type": "string" - }, - "description": { - "type": "string" - }, - "isStack": { - "type": "boolean" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "stackTemplateId": { - "type": "string" - }, - "tksCpNode": { - "type": "integer" - }, - "tksCpNodeMax": { - "type": "integer" - }, - "tksCpNodeType": { - "type": "string" - }, - "tksInfraNode": { - "type": "integer" - }, - "tksInfraNodeMax": { - "type": "integer" - }, - "tksInfraNodeType": { - "type": "string" - }, - "tksUserNode": { - "type": "integer" - }, - "tksUserNodeMax": { - "type": "integer" - }, - "tksUserNodeType": { - "type": "string" - } - } - }, - "domain.CreateClusterResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "domain.CreateOrganizationRequest": { - "type": "object", - "required": [ - "Email", - "name" - ], - "properties": { - "Email": { - "type": "string" - }, - "description": { - "type": "string", - "maxLength": 100, - "minLength": 0 - }, - "name": { - "type": "string" - }, - "phone": { - "type": "string" - } - } - }, - "domain.CreateStackRequest": { - "type": "object", - "required": [ - "cloudService", - "name", - "stackTemplateId" - ], - "properties": { - "cloudAccountId": { - "type": "string" - }, - "cloudService": { - "type": "string", - "enum": [ - "AWS", - "BYOH" - ] - }, - "clusterId": { - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "stackTemplateId": { - "type": "string" - }, - "tksCpNode": { - "type": "integer" - }, - "tksCpNodeMax": { - "type": "integer" - }, - "tksCpNodeType": { - "type": "string" - }, - "tksInfraNode": { - "type": "integer" - }, - "tksInfraNodeMax": { - "type": "integer" - }, - "tksInfraNodeType": { - "type": "string" - }, - "tksUserNode": { - "type": "integer" - }, - "tksUserNodeMax": { - "type": "integer" - }, - "tksUserNodeType": { - "type": "string" - }, - "userClusterEndpoint": { - "type": "string" - } - } - }, - "domain.CreateStackResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "domain.CreateStackTemplateRequest": { - "type": "object", - "required": [ - "name", - "platform", - "template", - "version" - ], - "properties": { - "cloudService": { - "type": "string", - "enum": [ - "AWS", - "AZZURE", - "GCP" - ] - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "platform": { - "type": "string" - }, - "template": { - "type": "string" - }, - "templateType": { - "type": "string", - "enum": [ - "STANDARD", - "MSA" - ] - }, - "version": { - "type": "string" - } - } - }, - "domain.CreateStackTemplateResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "domain.CreateUserRequest": { - "type": "object", - "required": [ - "accountId", - "email", - "password", - "role" - ], - "properties": { - "accountId": { - "type": "string" - }, - "department": { - "type": "string", - "maxLength": 50, - "minLength": 0 - }, - "description": { - "type": "string", - "maxLength": 100, - "minLength": 0 - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "password": { - "type": "string" - }, - "role": { - "type": "string", - "enum": [ - "admin", - "user" - ] - } - } - }, - "domain.CreateUserResponse": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "department": { - "type": "string" - }, - "description": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "role": { - "$ref": "#/definitions/domain.Role" - } - } - } - } - }, - "domain.DashboardChartResponse": { - "type": "object", - "properties": { - "chartData": { - "$ref": "#/definitions/domain.ChartData" - }, - "chartType": { - "type": "string" - }, - "description": { - "type": "string" - }, - "duration": { - "type": "string" - }, - "interval": { - "type": "string" - }, - "month": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "year": { - "type": "string" - } - } - }, - "domain.DashboardResource": { - "type": "object", - "properties": { - "cpu": { - "type": "string" - }, - "memory": { - "type": "string" - }, - "stack": { - "type": "string" - }, - "storage": { - "type": "string" - } - } - }, - "domain.DashboardStackResponse": { - "type": "object", - "properties": { - "cpu": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "memory": { - "type": "string" - }, - "name": { - "type": "string" - }, - "status": { - "type": "string" - }, - "statusDesc": { - "type": "string" - }, - "storage": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.DeleteCloudAccountRequest": { - "type": "object", - "required": [ - "accessKeyId", - "secretAccessKey" - ], - "properties": { - "accessKeyId": { - "type": "string", - "maxLength": 128, - "minLength": 16 - }, - "secretAccessKey": { - "type": "string", - "maxLength": 128, - "minLength": 16 - }, - "sessionToken": { - "type": "string", - "maxLength": 2000 - } - } - }, - "domain.FilterResponse": { - "type": "object", - "properties": { - "column": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "releation": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "domain.FindIdRequest": { - "type": "object", - "required": [ - "code", - "email", - "organizationId", - "userName" - ], - "properties": { - "code": { - "type": "string" - }, - "email": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "userName": { - "type": "string" - } - } - }, - "domain.FindIdResponse": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - } - } - }, - "domain.FindPasswordRequest": { - "type": "object", - "required": [ - "accountId", - "code", - "email", - "organizationId", - "userName" - ], - "properties": { - "accountId": { - "type": "string" - }, - "code": { - "type": "string" - }, - "email": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "userName": { - "type": "string" - } - } - }, - "domain.GetAlertResponse": { - "type": "object", - "properties": { - "alert": { - "$ref": "#/definitions/domain.AlertResponse" - } - } - }, - "domain.GetAlertsResponse": { - "type": "object", - "properties": { - "alerts": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.AlertResponse" - } - }, - "pagination": { - "$ref": "#/definitions/domain.PaginationResponse" - } - } - }, - "domain.GetAppGroupResponse": { - "type": "object", - "properties": { - "appGroup": { - "$ref": "#/definitions/domain.AppGroupResponse" - } - } - }, - "domain.GetAppGroupsResponse": { - "type": "object", - "properties": { - "appGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.AppGroupResponse" - } - }, - "pagination": { - "$ref": "#/definitions/domain.PaginationResponse" - } - } - }, - "domain.GetAppServeAppResponse": { - "type": "object", - "properties": { - "appServeApp": { - "$ref": "#/definitions/domain.AppServeApp" - }, - "stages": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StageResponse" - } - } - } - }, - "domain.GetAppServeAppTaskResponse": { - "type": "object", - "properties": { - "appServeAppTask": { - "$ref": "#/definitions/domain.AppServeAppTask" - } - } - }, - "domain.GetApplicationsResponse": { - "type": "object", - "properties": { - "applications": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ApplicationResponse" - } - } - } - }, - "domain.GetBootstrapKubeconfigResponse": { - "type": "object", - "properties": { - "kubeconfig": { - "$ref": "#/definitions/domain.BootstrapKubeconfig" - } - } - }, - "domain.GetCloudAccountResourceQuotaResponse": { - "type": "object", - "properties": { - "available": { - "type": "boolean" - }, - "resourceQuota": { - "$ref": "#/definitions/domain.ResourceQuota" - } - } - }, - "domain.GetCloudAccountResponse": { - "type": "object", - "properties": { - "cloudAccount": { - "$ref": "#/definitions/domain.CloudAccountResponse" - } - } - }, - "domain.GetCloudAccountsResponse": { - "type": "object", - "properties": { - "cloudAccounts": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.CloudAccountResponse" - } - }, - "pagination": { - "$ref": "#/definitions/domain.PaginationResponse" - } - } - }, - "domain.GetClusterNodesResponse": { - "type": "object", - "properties": { - "nodes": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ClusterNode" - } - } - } - }, - "domain.GetClustersResponse": { - "type": "object", - "properties": { - "clusters": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ClusterResponse" - } - }, - "pagination": { - "$ref": "#/definitions/domain.PaginationResponse" - } - } - }, - "domain.GetDashboardChartResponse": { - "type": "object", - "properties": { - "chart": { - "$ref": "#/definitions/domain.DashboardChartResponse" - } - } - }, - "domain.GetDashboardChartsResponse": { - "type": "object", - "properties": { - "charts": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.DashboardChartResponse" - } - } - } - }, - "domain.GetDashboardResourcesResponse": { - "type": "object", - "properties": { - "resources": { - "$ref": "#/definitions/domain.DashboardResource" - } - } - }, - "domain.GetDashboardStacksResponse": { - "type": "object", - "properties": { - "stacks": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.DashboardStackResponse" - } - } - } - }, - "domain.GetMyProfileResponse": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "department": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "role": { - "$ref": "#/definitions/domain.Role" - } - } - } - } - }, - "domain.GetOrganizationResponse": { - "type": "object", - "properties": { - "organization": { - "type": "object", - "properties": { - "createdAt": { - "type": "string" - }, - "creator": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "primaryClusterId": { - "type": "string" - }, - "status": { - "type": "string" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - } - } - }, - "domain.GetStackKubeConfigResponse": { - "type": "object", - "properties": { - "kubeConfig": { - "type": "string" - } - } - }, - "domain.GetStackResponse": { - "type": "object", - "properties": { - "stack": { - "$ref": "#/definitions/domain.StackResponse" - } - } - }, - "domain.GetStackStatusResponse": { - "type": "object", - "properties": { - "stackStatus": { - "type": "string" - }, - "stepStatus": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StackStepStatus" - } - } - } - }, - "domain.GetStackTemplateResponse": { - "type": "object", - "properties": { - "stackTemplate": { - "$ref": "#/definitions/domain.StackTemplateResponse" - } - } - }, - "domain.GetStackTemplatesResponse": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/definitions/domain.PaginationResponse" - }, - "stackTemplates": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StackTemplateResponse" - } - } - } - }, - "domain.GetStacksResponse": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/definitions/domain.PaginationResponse" - }, - "stacks": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StackResponse" - } - } - } - }, - "domain.GetUserResponse": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "type": "string" - }, - "department": { - "type": "string" - }, - "description": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "role": { - "$ref": "#/definitions/domain.Role" - }, - "updatedAt": { - "type": "string" - } - } - } - } - }, - "domain.ImportClusterRequest": { - "type": "object", - "required": [ - "name", - "organizationId", - "stackTemplateId" - ], - "properties": { - "cloudService": { - "type": "string" - }, - "clusterType": { - "type": "string" - }, - "description": { - "type": "string" - }, - "kubeconfig": { - "type": "array", - "items": { - "type": "integer" - } - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "stackTemplateId": { - "type": "string" - } - } - }, - "domain.ImportClusterResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "domain.ListOrganizationBody": { - "type": "object", - "properties": { - "createdAt": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "primaryClusterId": { - "type": "string" - }, - "status": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.ListUserBody": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "type": "string" - }, - "department": { - "type": "string" - }, - "description": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "role": { - "$ref": "#/definitions/domain.Role" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.LoginRequest": { - "type": "object", - "required": [ - "accountId", - "organizationId", - "password" - ], - "properties": { - "accountId": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "password": { - "type": "string" - } - } - }, - "domain.LoginResponse": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "department": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "passwordExpired": { - "type": "boolean" - }, - "role": { - "$ref": "#/definitions/domain.Role" - }, - "token": { - "type": "string" - } - } - } - } - }, - "domain.LogoutResponse": { - "type": "object", - "properties": { - "ssoUrls": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "domain.Organization": { - "type": "object", - "properties": { - "createdAt": { - "type": "string" - }, - "creator": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "primaryClusterId": { - "type": "string" - }, - "status": { - "type": "integer" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.PaginationResponse": { - "type": "object", - "properties": { - "filters": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.FilterResponse" - } - }, - "pageNumber": { - "type": "integer" - }, - "pageSize": { - "type": "integer" - }, - "sortColumn": { - "type": "string" - }, - "sortOrder": { - "type": "string" - }, - "totalPages": { - "type": "integer" - }, - "totalRows": { - "type": "integer" - } - } - }, - "domain.PingTokenRequest": { - "type": "object", - "required": [ - "organizationId", - "token" - ], - "properties": { - "organizationId": { - "type": "string" - }, - "token": { - "type": "string" - } - } - }, - "domain.PodCount": { - "type": "object", - "properties": { - "day": { - "type": "integer" - }, - "value": { - "type": "integer" - } - } - }, - "domain.ResourceQuota": { - "type": "object", - "properties": { - "quotas": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ResourceQuotaAttr" - } - } - } - }, - "domain.ResourceQuotaAttr": { - "type": "object", - "properties": { - "quota": { - "type": "integer" - }, - "required": { - "type": "integer" - }, - "type": { - "type": "string" - }, - "usage": { - "type": "integer" - } - } - }, - "domain.Role": { - "type": "object", - "properties": { - "createdAt": { - "type": "string" - }, - "creator": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.RollbackAppServeAppRequest": { - "type": "object", - "properties": { - "taskId": { - "type": "string" - } - } - }, - "domain.SimpleCloudAccountResponse": { - "type": "object", - "properties": { - "awsAccountId": { - "type": "string" - }, - "cloudService": { - "type": "string" - }, - "clusters": { - "type": "integer" - }, - "createdIAM": { - "type": "boolean" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - } - } - }, - "domain.SimpleClusterResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - } - } - }, - "domain.SimpleStackTemplateResponse": { - "type": "object", - "properties": { - "cloudService": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "kubeType": { - "type": "string" - }, - "kubeVersion": { - "type": "string" - }, - "name": { - "type": "string" - }, - "services": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StackTemplateServiceResponse" - } - }, - "template": { - "type": "string" - } - } - }, - "domain.SimpleUserResponse": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - } - }, - "domain.StackConfResponse": { - "type": "object", - "required": [ - "tksInfraNode", - "tksUserNode" - ], - "properties": { - "tksCpNode": { - "type": "integer" - }, - "tksCpNodeMax": { - "type": "integer" - }, - "tksCpNodeType": { - "type": "string" - }, - "tksInfraNode": { - "type": "integer", - "maximum": 3, - "minimum": 1 - }, - "tksInfraNodeMax": { - "type": "integer" - }, - "tksInfraNodeType": { - "type": "string" - }, - "tksUserNode": { - "type": "integer", - "maximum": 100, - "minimum": 0 - }, - "tksUserNodeMax": { - "type": "integer" - }, - "tksUserNodeType": { - "type": "string" - } - } - }, - "domain.StackResponse": { - "type": "object", - "properties": { - "cloudAccount": { - "$ref": "#/definitions/domain.SimpleCloudAccountResponse" - }, - "conf": { - "$ref": "#/definitions/domain.StackConfResponse" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "description": { - "type": "string" - }, - "favorited": { - "type": "boolean" - }, - "grafanaUrl": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "primaryCluster": { - "type": "boolean" - }, - "resource": { - "$ref": "#/definitions/domain.DashboardStackResponse" - }, - "stackTemplate": { - "$ref": "#/definitions/domain.SimpleStackTemplateResponse" - }, - "status": { - "type": "string" - }, - "statusDesc": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "userClusterEndpoint": { - "type": "string" - } - } - }, - "domain.StackStepStatus": { - "type": "object", - "properties": { - "maxStep": { - "type": "integer" - }, - "stage": { - "type": "string" - }, - "status": { - "type": "string" - }, - "step": { - "type": "integer" - } - } - }, - "domain.StackTemplate": { - "type": "object", - "properties": { - "cloudService": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "$ref": "#/definitions/domain.User" - }, - "creatorId": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "kubeType": { - "type": "string" - }, - "kubeVersion": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "platform": { - "type": "string" - }, - "services": { - "type": "array", - "items": { - "type": "integer" - } - }, - "template": { - "type": "string" - }, - "templateType": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.User" - }, - "updatorId": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "domain.StackTemplateResponse": { - "type": "object", - "properties": { - "cloudService": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "kubeType": { - "type": "string" - }, - "kubeVersion": { - "type": "string" - }, - "name": { - "type": "string" - }, - "platform": { - "type": "string" - }, - "services": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StackTemplateServiceResponse" - } - }, - "template": { - "type": "string" - }, - "templateType": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "updator": { - "$ref": "#/definitions/domain.SimpleUserResponse" - }, - "version": { - "type": "string" - } - } - }, - "domain.StackTemplateServiceApplicationResponse": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "domain.StackTemplateServiceResponse": { - "type": "object", - "properties": { - "applications": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.StackTemplateServiceApplicationResponse" - } - }, - "type": { - "type": "string" - } - } - }, - "domain.StageResponse": { - "type": "object", - "properties": { - "actions": { - "type": "array", - "items": { - "$ref": "#/definitions/domain.ActionResponse" - } - }, - "name": { - "description": "BUILD (빌드), DEPLOY (배포), PROMOTE (프로모트), ROLLBACK (롤백)", - "type": "string" - }, - "result": { - "type": "string" - }, - "status": { - "type": "string" - } - } - }, - "domain.Unit": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string" - } - } - }, - "domain.UpdateAlertRequest": { - "type": "object", - "properties": { - "description": { - "type": "string" - } - } - }, - "domain.UpdateAppServeAppEndpointRequest": { - "type": "object", - "required": [ - "taskId" - ], - "properties": { - "endpointUrl": { - "type": "string" - }, - "helmRevision": { - "type": "integer" - }, - "previewEndpointUrl": { - "type": "string" - }, - "taskId": { - "type": "string" - } - } - }, - "domain.UpdateAppServeAppRequest": { - "type": "object", - "properties": { - "abort": { - "type": "boolean" - }, - "appConfig": { - "type": "string" - }, - "appSecret": { - "type": "string" - }, - "artifactUrl": { - "type": "string" - }, - "executablePath": { - "type": "string" - }, - "extraEnv": { - "type": "string" - }, - "imageUrl": { - "type": "string" - }, - "port": { - "type": "string" - }, - "profile": { - "type": "string" - }, - "promote": { - "description": "Update Strategy", - "type": "boolean" - }, - "resourceSpec": { - "type": "string" - }, - "strategy": { - "description": "Task", - "type": "string" - } - } - }, - "domain.UpdateAppServeAppStatusRequest": { - "type": "object", - "required": [ - "status", - "taskId" - ], - "properties": { - "output": { - "type": "string" - }, - "status": { - "type": "string" - }, - "taskId": { - "type": "string" - } - } - }, - "domain.UpdateCloudAccountRequest": { - "type": "object", - "properties": { - "description": { - "type": "string" - } - } - }, - "domain.UpdateMyProfileRequest": { - "type": "object", - "required": [ - "password" - ], - "properties": { - "department": { - "type": "string", - "maxLength": 50, - "minLength": 0 - }, - "email": { - "type": "string" - }, - "name": { - "type": "string", - "maxLength": 30, - "minLength": 1 - }, - "password": { - "type": "string" - } - } - }, - "domain.UpdateMyProfileResponse": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "department": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "role": { - "$ref": "#/definitions/domain.Role" - } - } - } - } - }, - "domain.UpdateOrganizationRequest": { - "type": "object", - "required": [ - "name" - ], - "properties": { - "description": { - "type": "string", - "maxLength": 100, - "minLength": 0 - }, - "name": { - "type": "string", - "maxLength": 30, - "minLength": 1 - }, - "phone": { - "type": "string" - }, - "primaryClusterId": { - "type": "string" - } - } - }, - "domain.UpdateOrganizationResponse": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "phone": { - "type": "string" - } - } - }, - "domain.UpdatePasswordRequest": { - "type": "object", - "required": [ - "newPassword", - "originPassword" - ], - "properties": { - "newPassword": { - "type": "string" - }, - "originPassword": { - "type": "string" - } - } - }, - "domain.UpdatePrimaryClusterRequest": { - "type": "object", - "properties": { - "primaryClusterId": { - "type": "string" - } - } - }, - "domain.UpdateStackRequest": { - "type": "object", - "properties": { - "description": { - "type": "string" - } - } - }, - "domain.UpdateStackTemplateRequest": { - "type": "object", - "properties": { - "description": { - "type": "string" - } - } - }, - "domain.UpdateUserRequest": { - "type": "object", - "properties": { - "department": { - "type": "string", - "maxLength": 50, - "minLength": 0 - }, - "description": { - "type": "string", - "maxLength": 100, - "minLength": 0 - }, - "email": { - "type": "string" - }, - "name": { - "type": "string", - "maxLength": 30, - "minLength": 1 - }, - "role": { - "type": "string", - "enum": [ - "admin", - "user" - ] - } - } - }, - "domain.UpdateUserResponse": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "department": { - "type": "string" - }, - "description": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "role": { - "$ref": "#/definitions/domain.Role" - }, - "updatedAt": { - "type": "string" - } - } - } - } - }, - "domain.User": { - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "creator": { - "type": "string" - }, - "department": { - "type": "string" - }, - "description": { - "type": "string" - }, - "email": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization": { - "$ref": "#/definitions/domain.Organization" - }, - "password": { - "type": "string" - }, - "passwordExpired": { - "type": "boolean" - }, - "passwordUpdatedAt": { - "type": "string" - }, - "role": { - "$ref": "#/definitions/domain.Role" - }, - "token": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "domain.VerifyIdentityForLostIdRequest": { - "type": "object", - "required": [ - "email", - "organizationId", - "userName" - ], - "properties": { - "email": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "userName": { - "type": "string" - } - } - }, - "domain.VerifyIdentityForLostIdResponse": { - "type": "object", - "properties": { - "validityPeriod": { - "type": "string" - } - } - }, - "domain.VerifyIdentityForLostPasswordRequest": { - "type": "object", - "required": [ - "accountId", - "email", - "organizationId", - "userName" - ], - "properties": { - "accountId": { - "type": "string" - }, - "email": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "userName": { - "type": "string" - } - } - }, - "domain.VerifyIdentityForLostPasswordResponse": { - "type": "object", - "properties": { - "validityPeriod": { - "type": "string" - } - } - }, - "httpErrors.RestError": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "status": { - "type": "integer" - }, - "text": { - "type": "string" - } - } - } - }, - "securityDefinitions": { - "JWT": { - "type": "apiKey", - "name": "Authorization", - "in": "header" - } - } -} \ No newline at end of file diff --git a/api/swagger/swagger.yaml b/api/swagger/swagger.yaml deleted file mode 100644 index dfbf2f9f..00000000 --- a/api/swagger/swagger.yaml +++ /dev/null @@ -1,4453 +0,0 @@ -basePath: /api/1.0/ -definitions: - domain.ActionResponse: - properties: - body: - additionalProperties: - type: string - type: object - method: - type: string - name: - description: ENDPOINT (화면보기), PREVIEW (미리보기), PROMOTE (배포), ABORT (중단) - type: string - type: - description: LINK, API - type: string - uri: - type: string - type: object - domain.AlertActionResponse: - properties: - alertId: - type: string - content: - type: string - createdAt: - type: string - id: - type: string - status: - type: string - taker: - $ref: '#/definitions/domain.SimpleUserResponse' - updatedAt: - type: string - type: object - domain.AlertResponse: - properties: - alertActions: - items: - $ref: '#/definitions/domain.AlertActionResponse' - type: array - closedAt: - type: string - cluster: - $ref: '#/definitions/domain.SimpleClusterResponse' - code: - type: string - createdAt: - type: string - description: - type: string - firedAt: - type: string - grade: - type: string - grafanaUrl: - type: string - id: - type: string - lastTaker: - $ref: '#/definitions/domain.SimpleUserResponse' - message: - type: string - name: - type: string - node: - type: string - organizationId: - type: string - processingSec: - type: integer - rawData: - type: string - status: - type: string - takedAt: - type: string - takedSec: - type: integer - updatedAt: - type: string - type: object - domain.AppGroupResponse: - properties: - appGroupType: - type: integer - clusterId: - type: string - createdAt: - type: string - creator: - $ref: '#/definitions/domain.SimpleUserResponse' - description: - type: string - id: - type: string - name: - type: string - status: - type: integer - statusDesc: - type: string - updatedAt: - type: string - updator: - $ref: '#/definitions/domain.SimpleUserResponse' - workflowId: - type: string - type: object - domain.AppServeApp: - properties: - appServeAppTasks: - items: - $ref: '#/definitions/domain.AppServeAppTask' - type: array - appType: - description: appType (spring/springboot) - type: string - createdAt: - type: string - deletedAt: - type: string - endpointUrl: - description: endpoint URL of deployed app - type: string - grafanaUrl: - description: grafana dashboard URL for deployed app - type: string - id: - type: string - name: - description: application name - type: string - namespace: - description: application namespace - type: string - organizationId: - description: contractId is a contract ID which this app belongs to - type: string - previewEndpointUrl: - description: preview svc endpoint URL in B/G deployment - type: string - status: - description: status is status of deployed app - type: string - targetClusterId: - description: target cluster to which the app is deployed - type: string - targetClusterName: - description: target cluster name - type: string - type: - description: type (build/deploy/all) - type: string - updatedAt: - type: string - type: object - domain.AppServeAppTask: - properties: - appConfig: - description: java app config - type: string - appSecret: - description: java app secret - type: string - appServeAppId: - description: ID for appServeApp that this task belongs to - type: string - artifactUrl: - description: URL of java app artifact (Eg, Jar) - type: string - availableRollback: - type: boolean - createdAt: - description: createdAt is a creation timestamp for the application - type: string - deletedAt: - type: string - executablePath: - description: Executable path of app image - type: string - extraEnv: - description: env variable list for java app - type: string - helmRevision: - description: revision of deployed helm release - type: integer - id: - type: string - imageUrl: - description: URL of built image for app - type: string - output: - description: output for task result - type: string - port: - description: java app port - type: string - profile: - description: java app profile - type: string - pvAccessMode: - type: string - pvEnabled: - type: boolean - pvMountPath: - type: string - pvSize: - type: string - pvStorageClass: - type: string - resourceSpec: - description: resource spec of app pod - type: string - rollbackVersion: - description: rollback target version - type: string - status: - description: status is app status - type: string - strategy: - description: deployment strategy (eg, rolling-update) - type: string - updatedAt: - type: string - version: - description: application version - type: string - type: object - domain.ApplicationResponse: - properties: - appGroupId: - type: string - applicationType: - type: integer - createdAt: - type: string - endpoint: - type: string - id: - type: string - metadata: - type: string - updatedAt: - type: string - type: object - domain.Axis: - properties: - data: - items: - type: string - type: array - type: object - domain.BootstrapKubeconfig: - properties: - expiration: - type: integer - type: object - domain.ChartData: - properties: - podCounts: - items: - $ref: '#/definitions/domain.PodCount' - type: array - series: - items: - $ref: '#/definitions/domain.Unit' - type: array - xAxis: - $ref: '#/definitions/domain.Axis' - yAxis: - $ref: '#/definitions/domain.Axis' - type: object - domain.CheckCloudAccountAwsAccountIdResponse: - properties: - existed: - type: boolean - type: object - domain.CheckCloudAccountNameResponse: - properties: - existed: - type: boolean - type: object - domain.CheckExistedResponse: - properties: - existed: - type: boolean - type: object - domain.CloudAccount: - properties: - accessKeyId: - type: string - awsAccountId: - type: string - cloudService: - type: string - clusters: - type: integer - createdAt: - type: string - createdIAM: - type: boolean - creator: - $ref: '#/definitions/domain.User' - creatorId: - type: string - description: - type: string - id: - type: string - name: - type: string - organizationId: - type: string - resource: - type: string - secretAccessKey: - type: string - sessionToken: - type: string - status: - type: integer - statusDesc: - type: string - updatedAt: - type: string - updator: - $ref: '#/definitions/domain.User' - updatorId: - type: string - type: object - domain.CloudAccountResponse: - properties: - awsAccountId: - type: string - cloudService: - type: string - clusters: - type: integer - createdAt: - type: string - createdIAM: - type: boolean - creator: - $ref: '#/definitions/domain.SimpleUserResponse' - description: - type: string - id: - type: string - name: - type: string - organizationId: - type: string - resource: - type: string - status: - type: string - updatedAt: - type: string - updator: - $ref: '#/definitions/domain.SimpleUserResponse' - type: object - domain.Cluster: - properties: - byoClusterEndpointHost: - type: string - byoClusterEndpointPort: - type: integer - cloudAccount: - $ref: '#/definitions/domain.CloudAccount' - cloudAccountId: - type: string - cloudService: - type: string - clusterType: - type: integer - conf: - $ref: '#/definitions/domain.ClusterConf' - createdAt: - type: string - creator: - $ref: '#/definitions/domain.User' - creatorId: - type: string - description: - type: string - favorited: - type: boolean - id: - type: string - isStack: - type: boolean - kubeconfig: - items: - type: integer - type: array - name: - type: string - organizationId: - type: string - stackTemplate: - $ref: '#/definitions/domain.StackTemplate' - stackTemplateId: - type: string - status: - type: integer - statusDesc: - type: string - updatedAt: - type: string - updator: - $ref: '#/definitions/domain.User' - updatorId: - type: string - type: object - domain.ClusterConf: - properties: - tksCpNode: - type: integer - tksCpNodeMax: - type: integer - tksCpNodeType: - type: string - tksInfraNode: - type: integer - tksInfraNodeMax: - type: integer - tksInfraNodeType: - type: string - tksUserNode: - type: integer - tksUserNodeMax: - type: integer - tksUserNodeType: - type: string - type: object - domain.ClusterConfResponse: - properties: - tksCpNode: - type: integer - tksCpNodeMax: - type: integer - tksCpNodeType: - type: string - tksInfraNode: - type: integer - tksInfraNodeMax: - type: integer - tksInfraNodeType: - type: string - tksUserNode: - type: integer - tksUserNodeMax: - type: integer - tksUserNodeType: - type: string - type: object - domain.ClusterHost: - properties: - name: - type: string - status: - type: string - type: object - domain.ClusterNode: - properties: - command: - type: string - hosts: - items: - $ref: '#/definitions/domain.ClusterHost' - type: array - registered: - type: integer - registering: - type: integer - status: - type: string - targeted: - type: integer - type: - type: string - validity: - type: integer - type: object - domain.ClusterResponse: - properties: - byoClusterEndpointHost: - type: string - byoClusterEndpointPort: - type: integer - cloudAccount: - $ref: '#/definitions/domain.SimpleCloudAccountResponse' - cloudService: - type: string - clusterType: - type: string - conf: - $ref: '#/definitions/domain.ClusterConfResponse' - createdAt: - type: string - creator: - $ref: '#/definitions/domain.SimpleUserResponse' - description: - type: string - id: - type: string - isStack: - type: boolean - name: - type: string - organizationId: - type: string - stackTemplate: - $ref: '#/definitions/domain.SimpleStackTemplateResponse' - status: - type: string - statusDesc: - type: string - updatedAt: - type: string - updator: - $ref: '#/definitions/domain.SimpleUserResponse' - type: object - domain.ClusterSiteValuesResponse: - properties: - byoClusterEndpointHost: - type: string - byoClusterEndpointPort: - type: integer - clusterRegion: - type: string - clusterType: - type: string - sshKeyName: - type: string - tksCpNode: - type: integer - tksCpNodeMax: - type: integer - tksCpNodeType: - type: string - tksInfraNode: - type: integer - tksInfraNodeMax: - type: integer - tksInfraNodeType: - type: string - tksUserNode: - type: integer - tksUserNodeMax: - type: integer - tksUserNodeType: - type: string - type: object - domain.CreateAppGroupRequest: - properties: - appGroupType: - enum: - - LMA - - SERVICE_MESH - type: string - clusterId: - type: string - description: - type: string - name: - type: string - required: - - clusterId - - name - type: object - domain.CreateAppGroupResponse: - properties: - id: - type: string - type: object - domain.CreateAppServeAppRequest: - properties: - appConfig: - type: string - appSecret: - type: string - appType: - description: springboot spring - type: string - artifactUrl: - type: string - executablePath: - type: string - extraEnv: - type: string - imageUrl: - type: string - name: - description: App - type: string - namespace: - type: string - port: - type: string - profile: - type: string - pvAccessMode: - type: string - pvEnabled: - type: boolean - pvMountPath: - type: string - pvSize: - type: string - pvStorageClass: - type: string - resourceSpec: - description: tiny medium large - type: string - strategy: - description: rolling-update blue-green canary - type: string - targetClusterId: - type: string - type: - description: build deploy all - type: string - version: - description: Task - type: string - required: - - name - - targetClusterId - type: object - domain.CreateApplicationRequest: - properties: - applicationType: - type: string - endpoint: - type: string - metadata: - type: string - type: object - domain.CreateBootstrapKubeconfigResponse: - properties: - kubeconfig: - $ref: '#/definitions/domain.BootstrapKubeconfig' - type: object - domain.CreateCloudAccountRequest: - properties: - accessKeyId: - maxLength: 128 - minLength: 16 - type: string - awsAccountId: - maxLength: 12 - minLength: 12 - type: string - cloudService: - enum: - - AWS - - AZZURE - - GCP - type: string - description: - type: string - name: - type: string - secretAccessKey: - maxLength: 128 - minLength: 16 - type: string - sessionToken: - maxLength: 2000 - type: string - required: - - accessKeyId - - awsAccountId - - name - - secretAccessKey - type: object - domain.CreateCloudAccountResponse: - properties: - id: - type: string - type: object - domain.CreateClusterRequest: - properties: - byoClusterEndpointHost: - type: string - byoClusterEndpointPort: - type: integer - cloudAccountId: - type: string - cloudService: - enum: - - AWS - - BYOH - type: string - clusterType: - type: string - description: - type: string - isStack: - type: boolean - name: - type: string - organizationId: - type: string - stackTemplateId: - type: string - tksCpNode: - type: integer - tksCpNodeMax: - type: integer - tksCpNodeType: - type: string - tksInfraNode: - type: integer - tksInfraNodeMax: - type: integer - tksInfraNodeType: - type: string - tksUserNode: - type: integer - tksUserNodeMax: - type: integer - tksUserNodeType: - type: string - required: - - cloudService - - name - - organizationId - - stackTemplateId - type: object - domain.CreateClusterResponse: - properties: - id: - type: string - type: object - domain.CreateOrganizationRequest: - properties: - Email: - type: string - description: - maxLength: 100 - minLength: 0 - type: string - name: - type: string - phone: - type: string - required: - - Email - - name - type: object - domain.CreateStackRequest: - properties: - cloudAccountId: - type: string - cloudService: - enum: - - AWS - - BYOH - type: string - clusterId: - type: string - description: - type: string - name: - type: string - stackTemplateId: - type: string - tksCpNode: - type: integer - tksCpNodeMax: - type: integer - tksCpNodeType: - type: string - tksInfraNode: - type: integer - tksInfraNodeMax: - type: integer - tksInfraNodeType: - type: string - tksUserNode: - type: integer - tksUserNodeMax: - type: integer - tksUserNodeType: - type: string - userClusterEndpoint: - type: string - required: - - cloudService - - name - - stackTemplateId - type: object - domain.CreateStackResponse: - properties: - id: - type: string - type: object - domain.CreateStackTemplateRequest: - properties: - cloudService: - enum: - - AWS - - AZZURE - - GCP - type: string - description: - type: string - name: - type: string - platform: - type: string - template: - type: string - templateType: - enum: - - STANDARD - - MSA - type: string - version: - type: string - required: - - name - - platform - - template - - version - type: object - domain.CreateStackTemplateResponse: - properties: - id: - type: string - type: object - domain.CreateUserRequest: - properties: - accountId: - type: string - department: - maxLength: 50 - minLength: 0 - type: string - description: - maxLength: 100 - minLength: 0 - type: string - email: - type: string - name: - type: string - password: - type: string - role: - enum: - - admin - - user - type: string - required: - - accountId - - email - - password - - role - type: object - domain.CreateUserResponse: - properties: - user: - properties: - accountId: - type: string - department: - type: string - description: - type: string - email: - type: string - id: - type: string - name: - type: string - organization: - $ref: '#/definitions/domain.Organization' - role: - $ref: '#/definitions/domain.Role' - type: object - type: object - domain.DashboardChartResponse: - properties: - chartData: - $ref: '#/definitions/domain.ChartData' - chartType: - type: string - description: - type: string - duration: - type: string - interval: - type: string - month: - type: string - name: - type: string - organizationId: - type: string - updatedAt: - type: string - year: - type: string - type: object - domain.DashboardResource: - properties: - cpu: - type: string - memory: - type: string - stack: - type: string - storage: - type: string - type: object - domain.DashboardStackResponse: - properties: - cpu: - type: string - createdAt: - type: string - description: - type: string - id: - type: string - memory: - type: string - name: - type: string - status: - type: string - statusDesc: - type: string - storage: - type: string - updatedAt: - type: string - type: object - domain.DeleteCloudAccountRequest: - properties: - accessKeyId: - maxLength: 128 - minLength: 16 - type: string - secretAccessKey: - maxLength: 128 - minLength: 16 - type: string - sessionToken: - maxLength: 2000 - type: string - required: - - accessKeyId - - secretAccessKey - type: object - domain.FilterResponse: - properties: - column: - type: string - operator: - type: string - releation: - type: string - values: - items: - type: string - type: array - type: object - domain.FindIdRequest: - properties: - code: - type: string - email: - type: string - organizationId: - type: string - userName: - type: string - required: - - code - - email - - organizationId - - userName - type: object - domain.FindIdResponse: - properties: - accountId: - type: string - type: object - domain.FindPasswordRequest: - properties: - accountId: - type: string - code: - type: string - email: - type: string - organizationId: - type: string - userName: - type: string - required: - - accountId - - code - - email - - organizationId - - userName - type: object - domain.GetAlertResponse: - properties: - alert: - $ref: '#/definitions/domain.AlertResponse' - type: object - domain.GetAlertsResponse: - properties: - alerts: - items: - $ref: '#/definitions/domain.AlertResponse' - type: array - pagination: - $ref: '#/definitions/domain.PaginationResponse' - type: object - domain.GetAppGroupResponse: - properties: - appGroup: - $ref: '#/definitions/domain.AppGroupResponse' - type: object - domain.GetAppGroupsResponse: - properties: - appGroups: - items: - $ref: '#/definitions/domain.AppGroupResponse' - type: array - pagination: - $ref: '#/definitions/domain.PaginationResponse' - type: object - domain.GetAppServeAppResponse: - properties: - appServeApp: - $ref: '#/definitions/domain.AppServeApp' - stages: - items: - $ref: '#/definitions/domain.StageResponse' - type: array - type: object - domain.GetAppServeAppTaskResponse: - properties: - appServeAppTask: - $ref: '#/definitions/domain.AppServeAppTask' - type: object - domain.GetApplicationsResponse: - properties: - applications: - items: - $ref: '#/definitions/domain.ApplicationResponse' - type: array - type: object - domain.GetBootstrapKubeconfigResponse: - properties: - kubeconfig: - $ref: '#/definitions/domain.BootstrapKubeconfig' - type: object - domain.GetCloudAccountResourceQuotaResponse: - properties: - available: - type: boolean - resourceQuota: - $ref: '#/definitions/domain.ResourceQuota' - type: object - domain.GetCloudAccountResponse: - properties: - cloudAccount: - $ref: '#/definitions/domain.CloudAccountResponse' - type: object - domain.GetCloudAccountsResponse: - properties: - cloudAccounts: - items: - $ref: '#/definitions/domain.CloudAccountResponse' - type: array - pagination: - $ref: '#/definitions/domain.PaginationResponse' - type: object - domain.GetClusterNodesResponse: - properties: - nodes: - items: - $ref: '#/definitions/domain.ClusterNode' - type: array - type: object - domain.GetClustersResponse: - properties: - clusters: - items: - $ref: '#/definitions/domain.ClusterResponse' - type: array - pagination: - $ref: '#/definitions/domain.PaginationResponse' - type: object - domain.GetDashboardChartResponse: - properties: - chart: - $ref: '#/definitions/domain.DashboardChartResponse' - type: object - domain.GetDashboardChartsResponse: - properties: - charts: - items: - $ref: '#/definitions/domain.DashboardChartResponse' - type: array - type: object - domain.GetDashboardResourcesResponse: - properties: - resources: - $ref: '#/definitions/domain.DashboardResource' - type: object - domain.GetDashboardStacksResponse: - properties: - stacks: - items: - $ref: '#/definitions/domain.DashboardStackResponse' - type: array - type: object - domain.GetMyProfileResponse: - properties: - user: - properties: - accountId: - type: string - department: - type: string - email: - type: string - id: - type: string - name: - type: string - organization: - $ref: '#/definitions/domain.Organization' - role: - $ref: '#/definitions/domain.Role' - type: object - type: object - domain.GetOrganizationResponse: - properties: - organization: - properties: - createdAt: - type: string - creator: - type: string - description: - type: string - id: - type: string - name: - type: string - phone: - type: string - primaryClusterId: - type: string - status: - type: string - statusDesc: - type: string - updatedAt: - type: string - type: object - type: object - domain.GetStackKubeConfigResponse: - properties: - kubeConfig: - type: string - type: object - domain.GetStackResponse: - properties: - stack: - $ref: '#/definitions/domain.StackResponse' - type: object - domain.GetStackStatusResponse: - properties: - stackStatus: - type: string - stepStatus: - items: - $ref: '#/definitions/domain.StackStepStatus' - type: array - type: object - domain.GetStackTemplateResponse: - properties: - stackTemplate: - $ref: '#/definitions/domain.StackTemplateResponse' - type: object - domain.GetStackTemplatesResponse: - properties: - pagination: - $ref: '#/definitions/domain.PaginationResponse' - stackTemplates: - items: - $ref: '#/definitions/domain.StackTemplateResponse' - type: array - type: object - domain.GetStacksResponse: - properties: - pagination: - $ref: '#/definitions/domain.PaginationResponse' - stacks: - items: - $ref: '#/definitions/domain.StackResponse' - type: array - type: object - domain.GetUserResponse: - properties: - user: - properties: - accountId: - type: string - createdAt: - type: string - creator: - type: string - department: - type: string - description: - type: string - email: - type: string - id: - type: string - name: - type: string - organization: - $ref: '#/definitions/domain.Organization' - role: - $ref: '#/definitions/domain.Role' - updatedAt: - type: string - type: object - type: object - domain.ImportClusterRequest: - properties: - cloudService: - type: string - clusterType: - type: string - description: - type: string - kubeconfig: - items: - type: integer - type: array - name: - type: string - organizationId: - type: string - stackTemplateId: - type: string - required: - - name - - organizationId - - stackTemplateId - type: object - domain.ImportClusterResponse: - properties: - id: - type: string - type: object - domain.ListOrganizationBody: - properties: - createdAt: - type: string - description: - type: string - id: - type: string - name: - type: string - phone: - type: string - primaryClusterId: - type: string - status: - type: string - updatedAt: - type: string - type: object - domain.ListUserBody: - properties: - accountId: - type: string - createdAt: - type: string - creator: - type: string - department: - type: string - description: - type: string - email: - type: string - id: - type: string - name: - type: string - organization: - $ref: '#/definitions/domain.Organization' - role: - $ref: '#/definitions/domain.Role' - updatedAt: - type: string - type: object - domain.LoginRequest: - properties: - accountId: - type: string - organizationId: - type: string - password: - type: string - required: - - accountId - - organizationId - - password - type: object - domain.LoginResponse: - properties: - user: - properties: - accountId: - type: string - department: - type: string - name: - type: string - organization: - $ref: '#/definitions/domain.Organization' - passwordExpired: - type: boolean - role: - $ref: '#/definitions/domain.Role' - token: - type: string - type: object - type: object - domain.LogoutResponse: - properties: - ssoUrls: - additionalProperties: - items: - type: string - type: array - type: object - type: object - domain.Organization: - properties: - createdAt: - type: string - creator: - type: string - description: - type: string - id: - type: string - name: - type: string - phone: - type: string - primaryClusterId: - type: string - status: - type: integer - statusDesc: - type: string - updatedAt: - type: string - type: object - domain.PaginationResponse: - properties: - filters: - items: - $ref: '#/definitions/domain.FilterResponse' - type: array - pageNumber: - type: integer - pageSize: - type: integer - sortColumn: - type: string - sortOrder: - type: string - totalPages: - type: integer - totalRows: - type: integer - type: object - domain.PingTokenRequest: - properties: - organizationId: - type: string - token: - type: string - required: - - organizationId - - token - type: object - domain.PodCount: - properties: - day: - type: integer - value: - type: integer - type: object - domain.ResourceQuota: - properties: - quotas: - items: - $ref: '#/definitions/domain.ResourceQuotaAttr' - type: array - type: object - domain.ResourceQuotaAttr: - properties: - quota: - type: integer - required: - type: integer - type: - type: string - usage: - type: integer - type: object - domain.Role: - properties: - createdAt: - type: string - creator: - type: string - description: - type: string - id: - type: string - name: - type: string - updatedAt: - type: string - type: object - domain.RollbackAppServeAppRequest: - properties: - taskId: - type: string - type: object - domain.SimpleCloudAccountResponse: - properties: - awsAccountId: - type: string - cloudService: - type: string - clusters: - type: integer - createdIAM: - type: boolean - description: - type: string - id: - type: string - name: - type: string - organizationId: - type: string - type: object - domain.SimpleClusterResponse: - properties: - id: - type: string - name: - type: string - organizationId: - type: string - type: object - domain.SimpleStackTemplateResponse: - properties: - cloudService: - type: string - description: - type: string - id: - type: string - kubeType: - type: string - kubeVersion: - type: string - name: - type: string - services: - items: - $ref: '#/definitions/domain.StackTemplateServiceResponse' - type: array - template: - type: string - type: object - domain.SimpleUserResponse: - properties: - accountId: - type: string - id: - type: string - name: - type: string - type: object - domain.StackConfResponse: - properties: - tksCpNode: - type: integer - tksCpNodeMax: - type: integer - tksCpNodeType: - type: string - tksInfraNode: - maximum: 3 - minimum: 1 - type: integer - tksInfraNodeMax: - type: integer - tksInfraNodeType: - type: string - tksUserNode: - maximum: 100 - minimum: 0 - type: integer - tksUserNodeMax: - type: integer - tksUserNodeType: - type: string - required: - - tksInfraNode - - tksUserNode - type: object - domain.StackResponse: - properties: - cloudAccount: - $ref: '#/definitions/domain.SimpleCloudAccountResponse' - conf: - $ref: '#/definitions/domain.StackConfResponse' - createdAt: - type: string - creator: - $ref: '#/definitions/domain.SimpleUserResponse' - description: - type: string - favorited: - type: boolean - grafanaUrl: - type: string - id: - type: string - name: - type: string - organizationId: - type: string - primaryCluster: - type: boolean - resource: - $ref: '#/definitions/domain.DashboardStackResponse' - stackTemplate: - $ref: '#/definitions/domain.SimpleStackTemplateResponse' - status: - type: string - statusDesc: - type: string - updatedAt: - type: string - updator: - $ref: '#/definitions/domain.SimpleUserResponse' - userClusterEndpoint: - type: string - type: object - domain.StackStepStatus: - properties: - maxStep: - type: integer - stage: - type: string - status: - type: string - step: - type: integer - type: object - domain.StackTemplate: - properties: - cloudService: - type: string - createdAt: - type: string - creator: - $ref: '#/definitions/domain.User' - creatorId: - type: string - description: - type: string - id: - type: string - kubeType: - type: string - kubeVersion: - type: string - name: - type: string - organizationId: - type: string - platform: - type: string - services: - items: - type: integer - type: array - template: - type: string - templateType: - type: string - updatedAt: - type: string - updator: - $ref: '#/definitions/domain.User' - updatorId: - type: string - version: - type: string - type: object - domain.StackTemplateResponse: - properties: - cloudService: - type: string - createdAt: - type: string - creator: - $ref: '#/definitions/domain.SimpleUserResponse' - description: - type: string - id: - type: string - kubeType: - type: string - kubeVersion: - type: string - name: - type: string - platform: - type: string - services: - items: - $ref: '#/definitions/domain.StackTemplateServiceResponse' - type: array - template: - type: string - templateType: - type: string - updatedAt: - type: string - updator: - $ref: '#/definitions/domain.SimpleUserResponse' - version: - type: string - type: object - domain.StackTemplateServiceApplicationResponse: - properties: - description: - type: string - name: - type: string - version: - type: string - type: object - domain.StackTemplateServiceResponse: - properties: - applications: - items: - $ref: '#/definitions/domain.StackTemplateServiceApplicationResponse' - type: array - type: - type: string - type: object - domain.StageResponse: - properties: - actions: - items: - $ref: '#/definitions/domain.ActionResponse' - type: array - name: - description: BUILD (빌드), DEPLOY (배포), PROMOTE (프로모트), ROLLBACK (롤백) - type: string - result: - type: string - status: - type: string - type: object - domain.Unit: - properties: - data: - items: - type: string - type: array - name: - type: string - type: object - domain.UpdateAlertRequest: - properties: - description: - type: string - type: object - domain.UpdateAppServeAppEndpointRequest: - properties: - endpointUrl: - type: string - helmRevision: - type: integer - previewEndpointUrl: - type: string - taskId: - type: string - required: - - taskId - type: object - domain.UpdateAppServeAppRequest: - properties: - abort: - type: boolean - appConfig: - type: string - appSecret: - type: string - artifactUrl: - type: string - executablePath: - type: string - extraEnv: - type: string - imageUrl: - type: string - port: - type: string - profile: - type: string - promote: - description: Update Strategy - type: boolean - resourceSpec: - type: string - strategy: - description: Task - type: string - type: object - domain.UpdateAppServeAppStatusRequest: - properties: - output: - type: string - status: - type: string - taskId: - type: string - required: - - status - - taskId - type: object - domain.UpdateCloudAccountRequest: - properties: - description: - type: string - type: object - domain.UpdateMyProfileRequest: - properties: - department: - maxLength: 50 - minLength: 0 - type: string - email: - type: string - name: - maxLength: 30 - minLength: 1 - type: string - password: - type: string - required: - - password - type: object - domain.UpdateMyProfileResponse: - properties: - user: - properties: - accountId: - type: string - department: - type: string - email: - type: string - id: - type: string - name: - type: string - organization: - $ref: '#/definitions/domain.Organization' - role: - $ref: '#/definitions/domain.Role' - type: object - type: object - domain.UpdateOrganizationRequest: - properties: - description: - maxLength: 100 - minLength: 0 - type: string - name: - maxLength: 30 - minLength: 1 - type: string - phone: - type: string - primaryClusterId: - type: string - required: - - name - type: object - domain.UpdateOrganizationResponse: - properties: - description: - type: string - id: - type: string - name: - type: string - phone: - type: string - type: object - domain.UpdatePasswordRequest: - properties: - newPassword: - type: string - originPassword: - type: string - required: - - newPassword - - originPassword - type: object - domain.UpdatePrimaryClusterRequest: - properties: - primaryClusterId: - type: string - type: object - domain.UpdateStackRequest: - properties: - description: - type: string - type: object - domain.UpdateStackTemplateRequest: - properties: - description: - type: string - type: object - domain.UpdateUserRequest: - properties: - department: - maxLength: 50 - minLength: 0 - type: string - description: - maxLength: 100 - minLength: 0 - type: string - email: - type: string - name: - maxLength: 30 - minLength: 1 - type: string - role: - enum: - - admin - - user - type: string - type: object - domain.UpdateUserResponse: - properties: - user: - properties: - accountId: - type: string - createdAt: - type: string - department: - type: string - description: - type: string - email: - type: string - id: - type: string - name: - type: string - organization: - $ref: '#/definitions/domain.Organization' - role: - $ref: '#/definitions/domain.Role' - updatedAt: - type: string - type: object - type: object - domain.User: - properties: - accountId: - type: string - createdAt: - type: string - creator: - type: string - department: - type: string - description: - type: string - email: - type: string - id: - type: string - name: - type: string - organization: - $ref: '#/definitions/domain.Organization' - password: - type: string - passwordExpired: - type: boolean - passwordUpdatedAt: - type: string - role: - $ref: '#/definitions/domain.Role' - token: - type: string - updatedAt: - type: string - type: object - domain.VerifyIdentityForLostIdRequest: - properties: - email: - type: string - organizationId: - type: string - userName: - type: string - required: - - email - - organizationId - - userName - type: object - domain.VerifyIdentityForLostIdResponse: - properties: - validityPeriod: - type: string - type: object - domain.VerifyIdentityForLostPasswordRequest: - properties: - accountId: - type: string - email: - type: string - organizationId: - type: string - userName: - type: string - required: - - accountId - - email - - organizationId - - userName - type: object - domain.VerifyIdentityForLostPasswordResponse: - properties: - validityPeriod: - type: string - type: object - httpErrors.RestError: - properties: - code: - type: string - message: - type: string - status: - type: integer - text: - type: string - type: object -host: tks-api-ft.taco-cat.xyz -info: - contact: - email: taekyu.kang@sk.com - name: taekyu.kang@sk.com - description: This is backend api service for tks platform - license: - name: Apache 2.0 - url: http://www.apache.org/licenses/LICENSE-2.0.html - title: tks-api service - version: "1.0" -paths: - /app-groups: - delete: - consumes: - - application/json - description: Uninstall appGroup - parameters: - - description: body - in: body - name: object - required: true - schema: - type: string - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Uninstall appGroup - tags: - - AppGroups - get: - consumes: - - application/json - description: Get appGroup list by giving params - parameters: - - description: clusterId - in: query - name: clusterId - type: string - - description: pageSize - in: query - name: limit - type: string - - description: pageNumber - in: query - name: page - type: string - - description: sortColumn - in: query - name: soertColumn - type: string - - description: sortOrder - in: query - name: sortOrder - type: string - - description: filters - in: query - items: - type: string - name: filters - type: array - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetAppGroupsResponse' - security: - - JWT: [] - summary: Get appGroup list - tags: - - AppGroups - post: - consumes: - - application/json - description: Install appGroup - parameters: - - description: create appgroup request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.CreateAppGroupRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.CreateAppGroupResponse' - security: - - JWT: [] - summary: Install appGroup - tags: - - AppGroups - /app-groups/{appGroupId}: - get: - consumes: - - application/json - description: Get appGroup detail by appGroupId - parameters: - - description: appGroupId - in: path - name: appGroupId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetAppGroupResponse' - security: - - JWT: [] - summary: Get appGroup detail - tags: - - AppGroups - /app-groups/{appGroupId}/applications: - get: - consumes: - - application/json - description: Get applications - parameters: - - description: appGroupId - in: path - name: appGroupId - required: true - type: string - - description: applicationType - in: query - name: applicationType - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetApplicationsResponse' - security: - - JWT: [] - summary: Get applications - tags: - - AppGroups - post: - consumes: - - application/json - description: Create application - parameters: - - description: body - in: body - name: object - required: true - schema: - $ref: '#/definitions/domain.CreateApplicationRequest' - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Create application - tags: - - AppGroups - /auth/find-id/code: - post: - consumes: - - application/json - description: This API allows users to verify their identity for lost id by submitting - required information - parameters: - - description: Request body for verifying identity for lost id including {organization - ID, email, username} - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.VerifyIdentityForLostIdRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.VerifyIdentityForLostIdResponse' - "400": - description: Bad Request - schema: - $ref: '#/definitions/httpErrors.RestError' - summary: Request to verify identity for lost id - tags: - - Auth - /auth/find-id/verification: - post: - consumes: - - application/json - description: This API allows users to find their account ID by submitting required - information - parameters: - - description: Request body for finding the account ID including {organization - ID, email, username, 6 digit code} - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.FindIdRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.FindIdResponse' - "400": - description: Bad Request - schema: - $ref: '#/definitions/httpErrors.RestError' - summary: Request to find forgotten ID - tags: - - Auth - /auth/find-password/code: - post: - consumes: - - application/json - description: This API allows users to verify their identity for lost password - by submitting required information - parameters: - - description: Request body for verifying identity for lost password including - {organization ID, email, username, Account ID} - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.VerifyIdentityForLostPasswordRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.VerifyIdentityForLostPasswordResponse' - "400": - description: Bad Request - schema: - $ref: '#/definitions/httpErrors.RestError' - summary: Request to verify identity for lost password - tags: - - Auth - /auth/find-password/verification: - post: - consumes: - - application/json - description: This API allows users to reset their forgotten password by submitting - required information - parameters: - - description: Request body for finding the password including {organization - ID, email, username, Account ID, 6 digit code} - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.FindPasswordRequest' - produces: - - application/json - responses: - "200": - description: OK - "400": - description: Bad Request - schema: - $ref: '#/definitions/httpErrors.RestError' - summary: Request to find forgotten password - tags: - - Auth - /auth/login: - post: - consumes: - - application/json - description: login - parameters: - - description: account info - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.LoginRequest' - produces: - - application/json - responses: - "200": - description: user detail - schema: - $ref: '#/definitions/domain.LoginResponse' - summary: login - tags: - - Auth - /auth/logout: - post: - consumes: - - application/json - description: logout - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.LogoutResponse' - security: - - JWT: [] - summary: logout - tags: - - Auth - /auth/ping: - post: - consumes: - - application/json - description: ping with token - parameters: - - description: token info - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.PingTokenRequest' - produces: - - application/json - responses: - "200": - description: OK - summary: ping with token - tags: - - Auth - /clusters: - get: - consumes: - - application/json - description: Get cluster list - parameters: - - description: organizationId - in: query - name: organizationId - type: string - - description: pageSize - in: query - name: limit - type: string - - description: pageNumber - in: query - name: page - type: string - - description: sortColumn - in: query - name: soertColumn - type: string - - description: sortOrder - in: query - name: sortOrder - type: string - - description: filters - in: query - items: - type: string - name: filters - type: array - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetClustersResponse' - security: - - JWT: [] - summary: Get clusters - tags: - - Clusters - post: - consumes: - - application/json - description: Create cluster - parameters: - - description: create cluster request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.CreateClusterRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.CreateClusterResponse' - security: - - JWT: [] - summary: Create cluster - tags: - - Clusters - /clusters/{clusterId}: - delete: - consumes: - - application/json - description: Delete cluster - parameters: - - description: clusterId - in: path - name: clusterId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.Cluster' - security: - - JWT: [] - summary: Delete cluster - tags: - - Clusters - get: - consumes: - - application/json - description: Get cluster detail - parameters: - - description: clusterId - in: path - name: clusterId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.Cluster' - security: - - JWT: [] - summary: Get cluster - tags: - - Clusters - /clusters/{clusterId}/bootstrap-kubeconfig: - get: - consumes: - - application/json - description: Get bootstrap kubeconfig for BYOH - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetBootstrapKubeconfigResponse' - security: - - JWT: [] - summary: Get bootstrap kubeconfig for BYOH - tags: - - Clusters - post: - consumes: - - application/json - description: Create bootstrap kubeconfig for BYOH - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.CreateBootstrapKubeconfigResponse' - security: - - JWT: [] - summary: Create bootstrap kubeconfig for BYOH - tags: - - Clusters - /clusters/{clusterId}/install: - post: - consumes: - - application/json - description: Install cluster on tks cluster - parameters: - - description: clusterId - in: path - name: clusterId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Install cluster on tks cluster - tags: - - Clusters - /clusters/{clusterId}/nodes: - get: - consumes: - - application/json - description: Get nodes information for BYOH - parameters: - - description: clusterId - in: path - name: clusterId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetClusterNodesResponse' - security: - - JWT: [] - summary: Get nodes information for BYOH - tags: - - Clusters - /clusters/{clusterId}/site-values: - get: - consumes: - - application/json - description: Get cluster site values for creating - parameters: - - description: clusterId - in: path - name: clusterId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.ClusterSiteValuesResponse' - security: - - JWT: [] - summary: Get cluster site values for creating - tags: - - Clusters - /clusters/import: - post: - consumes: - - application/json - description: Import cluster - parameters: - - description: import cluster request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.ImportClusterRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.ImportClusterResponse' - security: - - JWT: [] - summary: Import cluster - tags: - - Clusters - /organizations: - get: - consumes: - - application/json - description: Get organization list - parameters: - - description: pageSize - in: query - name: limit - type: string - - description: pageNumber - in: query - name: page - type: string - - description: sortColumn - in: query - name: soertColumn - type: string - - description: sortOrder - in: query - name: sortOrder - type: string - - description: filters - in: query - items: - type: string - name: filters - type: array - produces: - - application/json - responses: - "200": - description: OK - schema: - items: - $ref: '#/definitions/domain.ListOrganizationBody' - type: array - security: - - JWT: [] - summary: Get organization list - tags: - - Organizations - post: - consumes: - - application/json - description: Create organization - parameters: - - description: create organization request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.CreateOrganizationRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - type: object - security: - - JWT: [] - summary: Create organization - tags: - - Organizations - /organizations/{organizationId}: - delete: - consumes: - - application/json - description: Delete organization - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.Organization' - security: - - JWT: [] - summary: Delete organization - tags: - - Organizations - get: - consumes: - - application/json - description: Get organization detail - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetOrganizationResponse' - security: - - JWT: [] - summary: Get organization detail - tags: - - Organizations - put: - consumes: - - application/json - description: Update organization detail - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: update organization request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.UpdateOrganizationRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.UpdateOrganizationResponse' - security: - - JWT: [] - summary: Update organization detail - tags: - - Organizations - /organizations/{organizationId}/alerts: - get: - consumes: - - application/json - description: Get Alerts - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: pageSize - in: query - name: limit - type: string - - description: pageNumber - in: query - name: page - type: string - - description: sortColumn - in: query - name: soertColumn - type: string - - description: sortOrder - in: query - name: sortOrder - type: string - - description: filters - in: query - items: - type: string - name: filters - type: array - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetAlertsResponse' - security: - - JWT: [] - summary: Get Alerts - tags: - - Alerts - /organizations/{organizationId}/alerts/{alertId}: - delete: - consumes: - - application/json - description: Delete Alert - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: alertId - in: path - name: alertId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Delete Alert - tags: - - Alerts - get: - consumes: - - application/json - description: Get Alert - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: alertId - in: path - name: alertId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetAlertResponse' - security: - - JWT: [] - summary: Get Alert - tags: - - Alerts - put: - consumes: - - application/json - description: Update Alert - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: Update cloud setting request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.UpdateAlertRequest' - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Update Alert - tags: - - Alerts - /organizations/{organizationId}/alerts/{alertId}/actions: - post: - consumes: - - application/json - description: Create alert action - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Create alert action - tags: - - Alerts - /organizations/{organizationId}/app-serve-apps: - get: - consumes: - - application/json - description: Get appServeApp list by giving params - parameters: - - description: Organization ID - in: path - name: organizationId - required: true - type: string - - description: Show all apps including deleted apps - in: query - name: showAll - type: boolean - - description: pageSize - in: query - name: limit - type: string - - description: pageNumber - in: query - name: page - type: string - - description: sortColumn - in: query - name: soertColumn - type: string - - description: sortOrder - in: query - name: sortOrder - type: string - - description: filters - in: query - items: - type: string - name: filters - type: array - produces: - - application/json - responses: - "200": - description: OK - schema: - items: - $ref: '#/definitions/domain.AppServeApp' - type: array - security: - - JWT: [] - summary: Get appServeApp list - tags: - - AppServeApps - post: - consumes: - - application/json - description: Install appServeApp - parameters: - - description: Organization ID - in: path - name: organizationId - required: true - type: string - - description: Request body to create app - in: body - name: object - required: true - schema: - $ref: '#/definitions/domain.CreateAppServeAppRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - type: string - security: - - JWT: [] - summary: Install appServeApp - tags: - - AppServeApps - /organizations/{organizationId}/app-serve-apps/{appId}: - delete: - consumes: - - application/json - description: Uninstall appServeApp - parameters: - - description: Organization ID - in: path - name: organizationId - required: true - type: string - - description: App ID - in: path - name: appId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - type: string - security: - - JWT: [] - summary: Uninstall appServeApp - tags: - - AppServeApps - get: - consumes: - - application/json - description: Get appServeApp by giving params - parameters: - - description: Organization ID - in: path - name: organizationId - required: true - type: string - - description: App ID - in: path - name: appId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetAppServeAppResponse' - security: - - JWT: [] - summary: Get appServeApp - tags: - - AppServeApps - put: - consumes: - - application/json - description: Update appServeApp - parameters: - - description: Organization ID - in: path - name: organizationId - required: true - type: string - - description: App ID - in: path - name: appId - required: true - type: string - - description: Request body to update app - in: body - name: object - required: true - schema: - $ref: '#/definitions/domain.UpdateAppServeAppRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - type: string - security: - - JWT: [] - summary: Update appServeApp - tags: - - AppServeApps - /organizations/{organizationId}/app-serve-apps/{appId}/endpoint: - patch: - consumes: - - application/json - description: Update app endpoint - parameters: - - description: Organization ID - in: path - name: organizationId - required: true - type: string - - description: appId - in: path - name: appId - required: true - type: string - - description: Request body to update app endpoint - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.UpdateAppServeAppEndpointRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - type: string - security: - - JWT: [] - summary: Update app endpoint - tags: - - AppServeApps - /organizations/{organizationId}/app-serve-apps/{appId}/exist: - get: - consumes: - - application/json - description: Get appServeApp by giving params - produces: - - application/json - responses: - "200": - description: OK - schema: - type: boolean - security: - - JWT: [] - summary: Get appServeApp - tags: - - AppServeApps - /organizations/{organizationId}/app-serve-apps/{appId}/latest-task: - get: - consumes: - - application/json - description: Get latest task from appServeApp - parameters: - - description: Organization ID - in: path - name: organizationId - required: true - type: string - - description: App ID - in: path - name: appId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetAppServeAppTaskResponse' - security: - - JWT: [] - summary: Get latest task from appServeApp - tags: - - AppServeApps - /organizations/{organizationId}/app-serve-apps/{appId}/rollback: - post: - consumes: - - application/json - description: Rollback appServeApp - parameters: - - description: Organization ID - in: path - name: organizationId - required: true - type: string - - description: App ID - in: path - name: appId - required: true - type: string - - description: Request body to rollback app - in: body - name: object - required: true - schema: - $ref: '#/definitions/domain.RollbackAppServeAppRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - type: string - security: - - JWT: [] - summary: Rollback appServeApp - tags: - - AppServeApps - /organizations/{organizationId}/app-serve-apps/{appId}/status: - patch: - consumes: - - application/json - description: Update app status - parameters: - - description: Organization ID - in: path - name: organizationId - required: true - type: string - - description: App ID - in: path - name: appId - required: true - type: string - - description: Request body to update app status - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.UpdateAppServeAppStatusRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - type: string - security: - - JWT: [] - summary: Update app status - tags: - - AppServeApps - /organizations/{organizationId}/app-serve-apps/count: - get: - consumes: - - application/json - description: Get number of apps on given stack - parameters: - - description: Organization ID - in: path - name: organizationId - required: true - type: string - - description: Stack ID - in: query - name: stackId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - type: integer - security: - - JWT: [] - summary: Get number of apps on given stack - tags: - - AppServeApps - /organizations/{organizationId}/app-serve-apps/name/{name}/existence: - get: - consumes: - - application/json - description: Check duplicate appServeAppName by giving params - parameters: - - description: Organization ID - in: path - name: organizationId - required: true - type: string - - description: name - in: path - name: name - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - type: boolean - security: - - JWT: [] - summary: Check duplicate appServeAppName - tags: - - AppServeApps - /organizations/{organizationId}/cloud-accounts: - get: - consumes: - - application/json - description: Get CloudAccounts - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: pageSize - in: query - name: limit - type: string - - description: pageNumber - in: query - name: page - type: string - - description: sortColumn - in: query - name: soertColumn - type: string - - description: sortOrder - in: query - name: sortOrder - type: string - - description: filters - in: query - items: - type: string - name: filters - type: array - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetCloudAccountsResponse' - security: - - JWT: [] - summary: Get CloudAccounts - tags: - - CloudAccounts - post: - consumes: - - application/json - description: Create CloudAccount - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: create cloud setting request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.CreateCloudAccountRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.CreateCloudAccountResponse' - security: - - JWT: [] - summary: Create CloudAccount - tags: - - CloudAccounts - /organizations/{organizationId}/cloud-accounts/{cloudAccountId}: - delete: - consumes: - - application/json - description: Delete CloudAccount - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: Delete cloud setting request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.DeleteCloudAccountRequest' - - description: cloudAccountId - in: path - name: cloudAccountId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Delete CloudAccount - tags: - - CloudAccounts - get: - consumes: - - application/json - description: Get CloudAccount - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: cloudAccountId - in: path - name: cloudAccountId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetCloudAccountResponse' - security: - - JWT: [] - summary: Get CloudAccount - tags: - - CloudAccounts - put: - consumes: - - application/json - description: Update CloudAccount - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: Update cloud setting request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.UpdateCloudAccountRequest' - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Update CloudAccount - tags: - - CloudAccounts - /organizations/{organizationId}/cloud-accounts/{cloudAccountId}/error: - delete: - consumes: - - application/json - description: Delete Force CloudAccount - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: cloudAccountId - in: path - name: cloudAccountId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Delete Force CloudAccount - tags: - - CloudAccounts - /organizations/{organizationId}/cloud-accounts/{cloudAccountId}/quota: - get: - consumes: - - application/json - description: Get resource quota by cloudAccount - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: cloudAccountId - in: path - name: cloudAccountId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetCloudAccountResourceQuotaResponse' - security: - - JWT: [] - summary: Get resource quota by cloudAccount - tags: - - CloudAccounts - /organizations/{organizationId}/cloud-accounts/aws-account-id/{awsAccountId}/existence: - get: - consumes: - - application/json - description: Check awsAccountId for cloudAccount - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: awsAccountId - in: path - name: awsAccountId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.CheckCloudAccountAwsAccountIdResponse' - security: - - JWT: [] - summary: Check awsAccountId for cloudAccount - tags: - - CloudAccounts - /organizations/{organizationId}/cloud-accounts/name/{name}/existence: - get: - consumes: - - application/json - description: Check name for cloudAccount - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: name - in: path - name: name - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.CheckCloudAccountNameResponse' - security: - - JWT: [] - summary: Check name for cloudAccount - tags: - - CloudAccounts - /organizations/{organizationId}/dashboard/charts: - get: - consumes: - - application/json - description: Get charts data - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: chartType - in: query - name: chartType - type: string - - description: duration - in: query - name: duration - required: true - type: string - - description: interval - in: query - name: interval - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetDashboardChartsResponse' - security: - - JWT: [] - summary: Get charts data - tags: - - Dashboards - /organizations/{organizationId}/dashboard/charts/{chartType}: - get: - consumes: - - application/json - description: Get chart data - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: chartType - in: path - name: chartType - required: true - type: string - - description: duration - in: query - name: duration - required: true - type: string - - description: interval - in: query - name: interval - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetDashboardChartResponse' - security: - - JWT: [] - summary: Get chart data - tags: - - Dashboards - /organizations/{organizationId}/dashboard/resources: - get: - consumes: - - application/json - description: Get resources - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetDashboardResourcesResponse' - security: - - JWT: [] - summary: Get resources - tags: - - Dashboards - /organizations/{organizationId}/dashboard/stacks: - get: - consumes: - - application/json - description: Get stacks - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetDashboardStacksResponse' - security: - - JWT: [] - summary: Get stacks - tags: - - Dashboards - /organizations/{organizationId}/my-profile: - delete: - consumes: - - application/json - description: Delete myProfile - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - "400": - description: Bad Request - security: - - JWT: [] - summary: Delete myProfile - tags: - - My-profile - get: - consumes: - - application/json - description: Get my profile detail - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetMyProfileResponse' - security: - - JWT: [] - summary: Get my profile detail - tags: - - My-profile - put: - consumes: - - application/json - description: Update my profile detail - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: 'Required fields: password due to double-check' - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.UpdateMyProfileRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.UpdateMyProfileResponse' - security: - - JWT: [] - summary: Update my profile detail - tags: - - My-profile - /organizations/{organizationId}/my-profile/next-password-change: - put: - consumes: - - application/json - description: Update user's password expired date to current date - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - "400": - description: Bad Request - schema: - $ref: '#/definitions/httpErrors.RestError' - security: - - JWT: [] - summary: Update user's password expired date to current date - tags: - - My-profile - /organizations/{organizationId}/my-profile/password: - put: - consumes: - - application/json - description: Update user password detail - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: update user password request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.UpdatePasswordRequest' - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Update user password detail - tags: - - My-profile - /organizations/{organizationId}/primary-cluster: - patch: - consumes: - - application/json - description: Update primary cluster - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: update primary cluster request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.UpdatePrimaryClusterRequest' - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Update primary cluster - tags: - - Organizations - /organizations/{organizationId}/stacks: - get: - consumes: - - application/json - description: Get Stacks - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: pageSize - in: query - name: limit - type: string - - description: pageNumber - in: query - name: page - type: string - - description: sortColumn - in: query - name: soertColumn - type: string - - description: sortOrder - in: query - name: sortOrder - type: string - - description: combinedFilter - in: query - name: combinedFilter - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetStacksResponse' - security: - - JWT: [] - summary: Get Stacks - tags: - - Stacks - post: - consumes: - - application/json - description: Create Stack - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: create cloud setting request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.CreateStackRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.CreateStackResponse' - security: - - JWT: [] - summary: Create Stack - tags: - - Stacks - /organizations/{organizationId}/stacks/{stackId}: - delete: - consumes: - - application/json - description: Delete Stack - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: stackId - in: path - name: stackId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Delete Stack - tags: - - Stacks - get: - consumes: - - application/json - description: Get Stack - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: stackId - in: path - name: stackId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetStackResponse' - security: - - JWT: [] - summary: Get Stack - tags: - - Stacks - put: - consumes: - - application/json - description: Update Stack - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: stackId - in: path - name: stackId - required: true - type: string - - description: Update cloud setting request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.UpdateStackRequest' - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Update Stack - tags: - - Stacks - /organizations/{organizationId}/stacks/{stackId}/favorite: - delete: - consumes: - - application/json - description: Delete favorite stack - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: stackId - in: path - name: stackId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Delete favorite stack - tags: - - Stacks - post: - consumes: - - application/json - description: Set favorite stack - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: stackId - in: path - name: stackId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Set favorite stack - tags: - - Stacks - /organizations/{organizationId}/stacks/{stackId}/kube-config: - get: - consumes: - - application/json - description: Get KubeConfig by stack - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: organizationId - in: path - name: stackId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetStackKubeConfigResponse' - security: - - JWT: [] - summary: Get KubeConfig by stack - tags: - - Stacks - /organizations/{organizationId}/stacks/{stackId}/status: - get: - consumes: - - application/json - description: Get Stack Status - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: stackId - in: path - name: stackId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetStackStatusResponse' - security: - - JWT: [] - summary: Get Stack Status - tags: - - Stacks - /organizations/{organizationId}/stacks/name/{name}/existence: - get: - consumes: - - application/json - description: Check name for stack - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: stackId - in: path - name: stackId - required: true - type: string - - description: name - in: path - name: name - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Check name for stack - tags: - - Stacks - /organizations/{organizationId}/users: - get: - consumes: - - application/json - description: Get user list - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: pageSize - in: query - name: limit - type: string - - description: pageNumber - in: query - name: page - type: string - - description: sortColumn - in: query - name: soertColumn - type: string - - description: sortOrder - in: query - name: sortOrder - type: string - - description: filters - in: query - items: - type: string - name: filters - type: array - produces: - - application/json - responses: - "200": - description: OK - schema: - items: - $ref: '#/definitions/domain.ListUserBody' - type: array - security: - - JWT: [] - summary: Get user list - tags: - - Users - post: - consumes: - - application/json - description: Create user - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: create user request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.CreateUserRequest' - produces: - - application/json - responses: - "200": - description: create user response - schema: - $ref: '#/definitions/domain.CreateUserResponse' - security: - - JWT: [] - summary: Create user - tags: - - Users - /organizations/{organizationId}/users/{accountId}: - delete: - consumes: - - application/json - description: Delete user - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: accountId - in: path - name: accountId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.User' - security: - - JWT: [] - summary: Delete user - tags: - - Users - get: - consumes: - - application/json - description: Get user detail - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: accountId - in: path - name: accountId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetUserResponse' - security: - - JWT: [] - summary: Get user detail - tags: - - Users - put: - consumes: - - application/json - description: Update user - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: accountId - in: path - name: accountId - required: true - type: string - - description: input - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.UpdateUserRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.UpdateUserResponse' - security: - - JWT: [] - summary: Update user - tags: - - Users - /organizations/{organizationId}/users/{accountId}/reset-password: - put: - consumes: - - application/json - description: Reset user's password as temporary password by admin and send email - to user - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: accountId - in: path - name: accountId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Reset user's password as temporary password by admin - tags: - - Users - /organizations/{organizationId}/users/account-id/{accountId}/existence: - get: - description: return true when accountId exists - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: accountId - in: path - name: accountId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.CheckExistedResponse' - security: - - JWT: [] - summary: Get user id existence - tags: - - Users - /organizations/{organizationId}/users/email/{email}/existence: - get: - description: return true when email exists - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - - description: email - in: path - name: accountId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.CheckExistedResponse' - security: - - JWT: [] - summary: Get user email existence - tags: - - Users - /stack-templates: - get: - consumes: - - application/json - description: Get StackTemplates - parameters: - - description: pageSize - in: query - name: limit - type: string - - description: pageNumber - in: query - name: page - type: string - - description: sortColumn - in: query - name: soertColumn - type: string - - description: sortOrder - in: query - name: sortOrder - type: string - - description: filters - in: query - items: - type: string - name: filters - type: array - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetStackTemplatesResponse' - security: - - JWT: [] - summary: Get StackTemplates - tags: - - StackTemplates - post: - consumes: - - application/json - description: Create StackTemplate - parameters: - - description: create stack template request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.CreateStackTemplateRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.CreateStackTemplateResponse' - security: - - JWT: [] - summary: Create StackTemplate 'NOT IMPLEMENTED' - tags: - - StackTemplates - /stack-templates/{stackTemplateId}: - delete: - consumes: - - application/json - description: Delete StackTemplate - parameters: - - description: stackTemplateId - in: path - name: stackTemplateId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Delete StackTemplate 'NOT IMPLEMENTED' - tags: - - StackTemplates - get: - consumes: - - application/json - description: Get StackTemplate - parameters: - - description: stackTemplateId - in: path - name: stackTemplateId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/domain.GetStackTemplateResponse' - security: - - JWT: [] - summary: Get StackTemplate - tags: - - StackTemplates - put: - consumes: - - application/json - description: Update StackTemplate - parameters: - - description: Update stack template request - in: body - name: body - required: true - schema: - $ref: '#/definitions/domain.UpdateStackTemplateRequest' - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Update StackTemplate 'NOT IMPLEMENTED' - tags: - - StackTemplates - /system-api/organizations/{organizationId}/alerts: - post: - consumes: - - application/json - description: Create alert. ADMIN ONLY - parameters: - - description: organizationId - in: path - name: organizationId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - security: - - JWT: [] - summary: Create alert. ADMIN ONLY - tags: - - Alerts -securityDefinitions: - JWT: - in: header - name: Authorization - type: apiKey -swagger: "2.0" diff --git a/go.work b/go.work deleted file mode 100644 index 9a21ec73..00000000 --- a/go.work +++ /dev/null @@ -1,5 +0,0 @@ -go 1.18 - -use ( - . -) diff --git a/go.work.sum b/go.work.sum deleted file mode 100644 index 375ce61a..00000000 --- a/go.work.sum +++ /dev/null @@ -1,503 +0,0 @@ -cloud.google.com/go v0.100.2 h1:t9Iw5QH5v4XtlEQaCtUY7x6sCABps8sW0acw7e2WQ6Y= -cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= -cloud.google.com/go/bigquery v1.8.0 h1:PQcPefKFdaIzjQFbiyOgAqyx8q5djaE7x9Sqe712DPA= -cloud.google.com/go/compute v1.6.1 h1:2sMmt8prCn7DPaG4Pmh0N3Inmc8cT8ae5k1M6VJ9Wqc= -cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= -cloud.google.com/go/datastore v1.1.0 h1:/May9ojXjRkPBNVrq+oWLqmWCkr4OU5uRY29bu0mRyQ= -cloud.google.com/go/firestore v1.6.1 h1:8rBq3zRjnHx8UtBvaOWqBB1xq9jH6/wltfQLlTMh2Fw= -cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= -cloud.google.com/go/pubsub v1.3.1 h1:ukjixP1wl0LpnZ6LWtZJ0mX5tBmjp1f8Sqer8Z2OMUU= -cloud.google.com/go/storage v1.14.0 h1:6RRlFMv1omScs6iq2hfE3IvgE+l6RfJPampq8UZc5TU= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9 h1:VpgP7xuJadIUuKccphEpTJnWhS2jkQyMt6Y7pJCD7fY= -github.com/Azure/azure-sdk-for-go v43.0.0+incompatible h1:/wSNCu0e6EsHFR4Qa3vBEBbicaprEHMyyga9g8RTULI= -github.com/Azure/azure-sdk-for-go v43.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest/autorest v0.11.18 h1:90Y4srNYrwOtAgVo3ndrQkTYn6kf1Eg/AjTFJ8Is2aM= -github.com/Azure/go-autorest/autorest v0.11.27 h1:F3R3q42aWytozkV8ihzcgMO4OA4cuqr3bNlsEuF6//A= -github.com/Azure/go-autorest/autorest v0.11.27/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= -github.com/Azure/go-autorest/autorest/adal v0.9.13 h1:Mp5hbtOePIzM8pJVRa3YLrWWmZtoxRXqUEzCfJt3+/Q= -github.com/Azure/go-autorest/autorest/adal v0.9.20 h1:gJ3E98kMpFB1MFqQCvA1yFab8vthOeD4VlFRQULxahg= -github.com/Azure/go-autorest/autorest/adal v0.9.20/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= -github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= -github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= -github.com/Azure/go-autorest/autorest/to v0.3.0 h1:zebkZaadz7+wIQYgC7GXaz3Wb28yKYfVkkBKwc38VF8= -github.com/Azure/go-autorest/autorest/to v0.3.0/go.mod h1:MgwOyqaIuKdG4TL/2ywSsIWKAfJfgHDo8ObuUk3t5sA= -github.com/Azure/go-autorest/autorest/validation v0.1.0 h1:ISSNzGUh+ZSzizJWOWzs8bwpXIePbGLW4z/AmUFGH5A= -github.com/Azure/go-autorest/autorest/validation v0.1.0/go.mod h1:Ha3z/SqBeaalWQvokg3NZAlQTalVMtOIAs1aGK7G6u8= -github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg= -github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= -github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= -github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU= -github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 h1:1BDTz0u9nC3//pOCMdNH+CiXJVYJh5UQNCOBG7jbELc= -github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ4pzQ= -github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE= -github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= -github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= -github.com/Masterminds/sprig/v3 v3.2.2 h1:17jRggJu518dr3QaafizSXOjKYp94wKfABxUmyxvxX8= -github.com/Masterminds/sprig/v3 v3.2.2/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= -github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= -github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= -github.com/Microsoft/hcsshim v0.9.6 h1:VwnDOgLeoi2du6dAznfmspNqTiwczvjv4K7NxuY9jsY= -github.com/Microsoft/hcsshim v0.9.6/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc= -github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46 h1:lsxEuwrXEAokXB9qhlbKWPpo3KMLZQ5WB5WLQRW1uq0= -github.com/NYTimes/gziphandler v1.1.1 h1:ZUDjpQae29j0ryrS0u/B8HZfJBtBQHjqw2rQ2cqUQ3I= -github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= -github.com/PuerkitoBio/purell v1.1.1 h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tNFfI= -github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M= -github.com/ajeddeloh/go-json v0.0.0-20200220154158-5ae607161559 h1:4SPQljF/GJ8Q+QlCWMWxRBepub4DresnOm4eI2ebFGc= -github.com/ajeddeloh/go-json v0.0.0-20200220154158-5ae607161559/go.mod h1:otnto4/Icqn88WCcM4bhIJNSgsh9VLBuspyyCfvof9c= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM= -github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15 h1:AUNCr9CiJuwrRYS3XieqF+Z9B9gNxo/eANAJCF2eiN4= -github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= -github.com/alessio/shellescape v1.4.1 h1:V7yhSDDn8LP4lc4jS8pFkt0zCnzVJlG5JXy9BVKJUX0= -github.com/alessio/shellescape v1.4.1/go.mod h1:PZAiSCk0LJaZkiCSkPv8qIobYglO3FPpyFjDCtHLS30= -github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg= -github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e h1:GCzyKMDDjSGnlpl3clrdAK7I1AaVoaiKDOYkUzChZzg= -github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e h1:QEF07wC0T1rKkctt1RINW/+RMTVmiwxETico2l3gxJA= -github.com/armon/go-metrics v0.3.10 h1:FR+drcQStOe+32sYyJYyZ7FIdgoGGBnwLl+flodp8Uo= -github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= -github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 h1:BUAU3CGlLvorLI26FmByPp2eC2qla6E1Tw+scpcg/to= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= -github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a h1:idn718Q4B6AGu/h5Sxe66HYVdqdGu2l9Iebqhi/AEoA= -github.com/aws/aws-sdk-go v1.35.24 h1:U3GNTg8+7xSM6OAJ8zksiSM4bRqxBWmVwwehvOSNG3A= -github.com/aws/aws-sdk-go v1.35.24/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k= -github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= -github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= -github.com/bketelsen/crypt v0.0.4 h1:w/jqZtC9YD4DS/Vp9GhWfWcCpuAL58oTnLoI8vE9YHU= -github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= -github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= -github.com/census-instrumentation/opencensus-proto v0.2.1 h1:glEXhBS5PSLLv4IXzLA5yPRVX4bilULVyxxbrfOtDAk= -github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054 h1:uH66TXeswKn5PW5zdZ39xEwfS9an067BirqA+P4QaLI= -github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= -github.com/chai2010/gettext-go v0.0.0-20160711120539-c6fed771bfd5 h1:7aWHqerlJ41y6FOsEUvknqgXnGmJyJSbjhAWq5pO4F8= -github.com/chai2010/gettext-go v0.0.0-20160711120539-c6fed771bfd5/go.mod h1:/iP1qXHoty45bqomnu2LM+VVyAEdWN+vtSHGlQgyxbw= -github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo= -github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30= -github.com/chzyer/logex v1.1.10 h1:Swpa1K6QvQznwJRcfTfQJmTE72DqScAa40E+fbHEXEE= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e h1:fY5BOSpyZCqRo5OhCuC+XN+r/bBCmeuuJtjz+bCNIf8= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 h1:q763qf9huN11kDQavWsoZXJNW3xEE4JJyHa5Q25/sd8= -github.com/client9/misspell v0.3.4 h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403 h1:cqQfy1jclcSy/FwLjemeg3SR1yaINm74aQyupQ0Bl8M= -github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed h1:OZmjad4L3H8ncOIR8rnb5MREYqG8ixi5+WbeUsquF0c= -github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5 h1:xD/lrqdvwsc+O2bjSSi3YqY73Ke3LAiSCx49aCesA0E= -github.com/cockroachdb/errors v1.2.4 h1:Lap807SXTH5tri2TivECb/4abUkMZC9zRoLarvcKDqs= -github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f h1:o/kfcElHqOiXqcou5a3rIlMc7oJbMQkeLk0VQJ7zgqY= -github.com/containerd/cgroups v1.0.4 h1:jN/mbWBEaz+T1pi5OFtnkQ+8qnmEbAr1Oo1FRm5B0dA= -github.com/containerd/cgroups v1.0.4/go.mod h1:nLNQtsF7Sl2HxNebu77i1R0oDlhiTG+kO4JTrUzo6IA= -github.com/containerd/containerd v1.6.18 h1:qZbsLvmyu+Vlty0/Ex5xc0z2YtKpIsb5n45mAMI+2Ns= -github.com/containerd/containerd v1.6.18/go.mod h1:1RdCUu95+gc2v9t3IL+zIlpClSmew7/0YS8O5eQZrOw= -github.com/containerd/stargz-snapshotter/estargz v0.7.0 h1:1d/rydzTywc76lnjJb6qbPCiTiCwts49AzKps/Ecblw= -github.com/containerd/stargz-snapshotter/estargz v0.7.0/go.mod h1:83VWDqHnurTKliEB0YvWMiCfLDwv4Cjj1X9Vk98GJZw= -github.com/coredns/caddy v1.1.0 h1:ezvsPrT/tA/7pYDBZxu0cT0VmWk75AfIaf6GSYCNMf0= -github.com/coredns/caddy v1.1.0/go.mod h1:A6ntJQlAWuQfFlsd9hvigKbo2WS0VUs2l1e2F+BawD4= -github.com/coredns/corefile-migration v1.0.17 h1:tNwh8+4WOANV6NjSljwgW7qViJfhvPUt1kosj4rR8yg= -github.com/coredns/corefile-migration v1.0.17/go.mod h1:XnhgULOEouimnzgn0t4WPuFDN2/PJQcTxdWKC5eXNGE= -github.com/coreos/bbolt v1.3.2 h1:wZwiHHUieZCquLkDL0B8UhzreNWsPHooDAG3q34zk0s= -github.com/coreos/etcd v3.3.13+incompatible h1:8F3hqu9fGYLBifCmRCJsicFqDx/D68Rt3q1JMazcgBQ= -github.com/coreos/go-iptables v0.6.0 h1:is9qnZMPYjLd8LYqmm/qlE+wwEgJIkTYdhV3rfZo4jk= -github.com/coreos/go-iptables v0.6.0/go.mod h1:Qe8Bv2Xik5FyTXwgIbLAnv2sWSBmvWdFETJConOQ//Q= -github.com/coreos/go-oidc v2.1.0+incompatible h1:sdJrfw8akMnCuUlaZU3tE/uYXFgfqom8DBE9so9EBsM= -github.com/coreos/go-semver v0.3.0 h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM= -github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f h1:JOrtw2xFKzlg+cbHpyrpLDmnN1HqhBfnX7WDiW7eG2c= -github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf h1:iW4rZ826su+pqaw19uhpSCzhj44qo35pNgKFGqzDKkU= -github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd/v22 v22.3.2 h1:D9/bQk5vlXQFZ6Kwuu6zaiXJ9oTPe68++AzAJc1DzSI= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f h1:lBNOc5arjvs8E5mO2tbpBpLoyyu8B6e44T7hJy6potg= -github.com/cppforlife/cobrautil v0.0.0-20200514214827-bb86e6965d72 h1:rPWcUBgMb1ox2eCohCuZ8gsZVe0aB5qBbYaBpdoxfCE= -github.com/cppforlife/cobrautil v0.0.0-20200514214827-bb86e6965d72/go.mod h1:2w+qxVu2KSGW78Ex/XaIqfh/OvBgjEsmN53S4T8vEyA= -github.com/cppforlife/color v1.9.1-0.20200716202919-6706ac40b835 h1:mYQweUIBD+TBRjIeQnJmXr0GSVMpI6O0takyb/aaOgo= -github.com/cppforlife/color v1.9.1-0.20200716202919-6706ac40b835/go.mod h1:dYeVsKp1vvK8XjdTPR1gF+uk+9doxKeO3hqQTOCr7T4= -github.com/cppforlife/go-cli-ui v0.0.0-20200716203538-1e47f820817f h1:yVW0v4zDXzJo1i8G9G3vtvNpyzhvtLalO34BsN/K88E= -github.com/cppforlife/go-cli-ui v0.0.0-20200716203538-1e47f820817f/go.mod h1:L18TqO77ci8i+hFtlMC4zSFz/D3O8lf84TyVU+zFF8E= -github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY= -github.com/cpuguy83/go-md2man/v2 v2.0.0 h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM= -github.com/creack/pty v1.1.9 h1:uDmaGzcdjhF4i/plgjmEsriH11Y0o7RKapEf/LDaM3w= -github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954 h1:RMLoZVzv4GliuWafOuPuQDKSm1SJph7uCRnnS61JAn4= -github.com/docker/cli v20.10.21+incompatible h1:qVkgyYUnOLQ98LtXBrwd/duVqPT2X4SHndOuGsfwyhU= -github.com/docker/cli v20.10.21+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8= -github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v20.10.24+incompatible h1:Ugvxm7a8+Gz6vqQYQQ2W7GYq5EUPaAiuPgIfVyI3dYE= -github.com/docker/docker v20.10.24+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker-credential-helpers v0.6.4 h1:axCks+yV+2MR3/kZhAmy07yC56WZ2Pwu/fKWtKuZB0o= -github.com/docker/docker-credential-helpers v0.6.4/go.mod h1:ofX3UI0Gz1TteYBjtgs07O36Pyasyp66D2uKT7H8W1c= -github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c h1:lzqkGL9b3znc+ZUgi7FlLnqjQhcXxkNM/quxIjBVMD0= -github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c/go.mod h1:CADgU4DSXK5QUlFslkQu2yW2TKzFZcXq/leZfM0UH5Q= -github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= -github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= -github.com/docker/go-metrics v0.0.1 h1:AgB/0SvBxihN0X8OR4SjsblXkbMvalQ8cjmtKQ2rQV8= -github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw= -github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw= -github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815 h1:bWDMxwH3px2JBh6AyO7hdCn/PkvCZXii8TGj7sbtEbQ= -github.com/drone/envsubst/v2 v2.0.0-20210730161058-179042472c46 h1:7QPwrLT79GlD5sizHf27aoY2RTvw62mO6x7mxkScNk0= -github.com/drone/envsubst/v2 v2.0.0-20210730161058-179042472c46/go.mod h1:esf2rsHFNlZlxsqsZDojNBcnNs5REqIvRrWRHqX0vEU= -github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= -github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153 h1:yUdfgN0XgIJw7foRItutHYUIhlcKzcSf5vDpdhQAKTc= -github.com/emicklei/go-restful v2.9.5+incompatible h1:spTtZBk5DYEvbxMVutUuTyh1Ao2r4iyvLdACqsl/Ljk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad h1:EmNYJhPYy0pOFjCx2PrgtaBXmee0iUX9hLlxE1xHOJE= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0 h1:dulLQAYQFYtG5MTplgNGHWuV2D+OBD+Z8lmDBmbLg+s= -github.com/envoyproxy/protoc-gen-validate v0.1.0 h1:EQciDnbrYxy13PgWoY8AqoxGiPrpgBZ1R8UNe3ddc+A= -github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= -github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= -github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d h1:105gxyaGwCFad8crR9dcMQWvV9Hvulu6hwUh4tWPJnM= -github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d/go.mod h1:ZZMPRZwes7CROmyNKgQzC3XPs6L/G2EJLHddWejkmf4= -github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= -github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/flatcar-linux/container-linux-config-transpiler v0.9.2 h1:EZKQ25jmhNfj+VAvdhPLLc4jmnSnRwFrI4x4dlPWXqE= -github.com/flatcar-linux/container-linux-config-transpiler v0.9.2/go.mod h1:AGVTulMzeIKwurV9ExYH3UiokET1Ur65g+EIeRDMwzM= -github.com/flatcar-linux/ignition v0.36.1 h1:yNvS9sQvm9HJ8VgxXskx88DsF73qdF35ALJkbTwcYhY= -github.com/flatcar-linux/ignition v0.36.1/go.mod h1:0jS5n4AopgOdwgi7QDo5MFgkMx/fQUDYjuxlGJC1Txg= -github.com/florianl/go-conntrack v0.3.0 h1:DUY84Mce+/lE9dJi2EWvGYacQtX2X96J9aVWV99l8UE= -github.com/florianl/go-conntrack v0.3.0/go.mod h1:Q+Um4J/nWUXSbnyzQRMOP4eweSeEQ2G8sfCO5gMz6Pw= -github.com/form3tech-oss/jwt-go v3.2.3+incompatible h1:7ZaBxOI7TMoYBfyA3cQHErNNyAWIKUMIwqxEtgHOs5c= -github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= -github.com/fvbommel/sortorder v1.0.1 h1:dSnXLt4mJYH25uDDGa3biZNQsozaUWDSWeKJ0qqFfzE= -github.com/fvbommel/sortorder v1.0.1/go.mod h1:uk88iVf1ovNn1iLfgUVU2F9o5eO30ui720w+kxuqRs0= -github.com/getkin/kin-openapi v0.76.0 h1:j77zg3Ec+k+r+GA3d8hBoXpAc6KX9TbBPrwQGBIy2sY= -github.com/getsentry/raven-go v0.2.0 h1:no+xWJRb5ZI7eE8TWgIq1jLulQiIoLG0IfYxv5JYMGs= -github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= -github.com/go-errors/errors v1.0.1 h1:LUHzmkK3GUKUrL/1gfBUxAHzcev3apQlezX/+O7ma6w= -github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1 h1:QbL/5oDUmRBzO9/Z7Seo6zf912W/a6Sr4Eu0G/3Jho0= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4 h1:WtGNWLvXpe6ZudgnXrq0barxBImvnnJoMEhXAzcbM0I= -github.com/go-kit/kit v0.9.0 h1:wDJmvq38kDhkVxi50ni9ykkdUr1PKgqKOoi01fa0Mdk= -github.com/go-kit/log v0.1.0 h1:DGJh0Sm43HbOeYDNnVZFl8BvcYVvjD5bqYJvp0REbwQ= -github.com/go-logfmt/logfmt v0.5.0 h1:TrB8swr/68K7m9CcGut2g3UOihhbcbiMAYiuTXdEih4= -github.com/go-logr/zapr v1.2.3/go.mod h1:eIauM6P8qSvTw5o2ez6UEAfGjQKrxQTl5EoK+Qa2oG4= -github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= -github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= -github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 h1:p104kn46Q8WdvHunIJ9dAyjPVtrBPhSr3KT2yUst43I= -github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= -github.com/gobuffalo/flect v0.2.4/go.mod h1:1ZyCLIbg0YD7sDkzvFdPoOydPtD8y9JQnrOROolUcM8= -github.com/godbus/dbus/v5 v5.0.4 h1:9349emZab16e7zQvpmsbtjc18ykshndd8y2PG3sgJbA= -github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= -github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= -github.com/golang/glog v1.0.0 h1:nfP3RFugxnNRyKgeWd4oI1nYvXpxrx8ck8ZrcizshdQ= -github.com/golang/snappy v0.0.3 h1:fHPg5GQYlCeLIPB9BZqMVR5nR9A+IM5zcgeTdjMYmLA= -github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= -github.com/google/cel-go v0.9.0 h1:u1hg7lcZ/XWw2d3aV1jFS30ijQQ6q0/h1C2ZBeBD1gY= -github.com/google/cel-spec v0.6.0 h1:xuthJSiJGoSzq+lVEBIW1MTpaaZXknMCYC4WzVAWOsE= -github.com/google/go-containerregistry v0.6.0 h1:niQ+8XD//kKgArIFwDVBXsWVWbde16LPdHMyNwSC8h4= -github.com/google/go-containerregistry v0.6.0/go.mod h1:euCCtNbZ6tKqi1E72vwDj2xZcN5ttKpZLfa/wSo5iLw= -github.com/google/go-github/v33 v33.0.0 h1:qAf9yP0qc54ufQxzwv+u9H0tiVOnPJxo0lI/JXqw3ZM= -github.com/google/go-github/v33 v33.0.0/go.mod h1:GMdDnVZY/2TsWgp/lkYnpSAh6TrzhANBBwm6k6TTEXg= -github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= -github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= -github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= -github.com/google/martian/v3 v3.1.0 h1:wCKgOCHuUEVfsaQLpPSJb7VdYCdTVZQAuOdYm1yc/60= -github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5 h1:zIaiqGYDQwa4HVx5wGRTXbx38Pqxjemn4BP98wpzpXo= -github.com/google/renameio v0.1.0 h1:GOZbcHa3HfsPKPlmyPyN2KEohoMXOhdMbHrvbpl2QaA= -github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= -github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= -github.com/googleapis/gax-go/v2 v2.4.0 h1:dS9eYAjhrE2RjmzYw2XAPvcXfmcQLtFEQWn0CR82awk= -github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= -github.com/googleapis/gnostic v0.5.5 h1:9fHAtK0uDfpveeqqo1hkEZJcFvYXAiCN3UutL8F9xHw= -github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8 h1:tlyzajkF3030q6M8SvmJSemC9DTHL/xaMa18b65+JM4= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8= -github.com/gosuri/uitable v0.0.4 h1:IG2xLKRvErL3uhY6e1BylFzG+aJiwQviDDTfOKeKTpY= -github.com/gosuri/uitable v0.0.4/go.mod h1:tKR86bXuXPZazfOTG1FIzvjIdXzd0mo4Vtn16vt0PJo= -github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8= -github.com/gosuri/uitable v0.0.4 h1:IG2xLKRvErL3uhY6e1BylFzG+aJiwQviDDTfOKeKTpY= -github.com/gosuri/uitable v0.0.4/go.mod h1:tKR86bXuXPZazfOTG1FIzvjIdXzd0mo4Vtn16vt0PJo= -github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 h1:pdN6V1QBWetyv/0+wjACpqVH+eVULgEjkurDLq3goeM= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= -github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= -github.com/hashicorp/consul/api v1.12.0 h1:k3y1FYv6nuKyNTqj6w9gXOx5r5CfLj/k/euUeBXj1OY= -github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0= -github.com/hashicorp/consul/sdk v0.1.1 h1:LnuDWGNsoajlhGyHJvuWW6FVqRl8JOTPqS6CPTsYjhY= -github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= -github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= -github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-hclog v1.2.0 h1:La19f8d7WIlm4ogzNHB0JGqs5AUDAZ2UfCY4sJXcJdM= -github.com/hashicorp/go-hclog v1.2.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= -github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-msgpack v0.5.3 h1:zKjpN5BK/P5lMYrLmBHdBULWbJ0XpYR+7NGzqkZzoD4= -github.com/hashicorp/go-multierror v1.0.0 h1:iVjPR7a6H0tWELX5NxNe7bYopibicUzc7uPribsnS6o= -github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= -github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= -github.com/hashicorp/go-sockaddr v1.0.0 h1:GeH6tui99pF4NJgfnhp+L6+FfobzVW3Ah46sLo0ICXs= -github.com/hashicorp/go-syslog v1.0.0 h1:KaodqZuhUoZereWVIYmpUgZysurB1kBLX2j0MwMrUAE= -github.com/hashicorp/go-uuid v1.0.1 h1:fv1ep09latC32wFoVwnqcnKJGnMSdBanPczbHAYm1BE= -github.com/hashicorp/go.net v0.0.1 h1:sNCoNyDEvN1xa+X0baata4RdcpKwcMS6DH+xwfqPgjw= -github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= -github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= -github.com/hashicorp/mdns v1.0.0 h1:WhIgCr5a7AaVH6jPUwjtRuuE7/RDufnUvzIr48smyxs= -github.com/hashicorp/memberlist v0.1.3 h1:EmmoJme1matNzb+hMpDuR/0sbJSUisxyqBGG676r31M= -github.com/hashicorp/serf v0.9.7 h1:hkdgbqizGQHuU5IPqYM1JdSMV8nKfpuOnZYXssk9muY= -github.com/hashicorp/serf v0.9.7/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= -github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= -github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= -github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= -github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639 h1:mV02weKRL81bEnm8A0HT1/CAelMQDBuQIfLw8n+d6xI= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= -github.com/insomniacslk/dhcp v0.0.0-20220119180841-3c283ff8b7dd h1:efcJu2Vzz6DoSq245deWNzTz6l/gsqdphm3FjmI88/g= -github.com/insomniacslk/dhcp v0.0.0-20220119180841-3c283ff8b7dd/go.mod h1:h+MxyHxRg9NH3terB1nfRIUaQEcI0XOVkdR9LNBlp8E= -github.com/jackc/chunkreader v1.0.0 h1:4s39bBR8ByfqH+DKm8rQA3E1LHZWB9XWcrz8fqaZbe0= -github.com/jackc/pgproto3 v1.1.0 h1:FYYE4yRw+AgI8wXIinMlNjBbp/UitDJwfj5LqqewP1A= -github.com/jackc/pgx/v5 v5.3.1 h1:Fcr8QJ1ZeLi5zsPZqQeUZhNhxfkkKBOgJuYkJHoBOtU= -github.com/jackc/puddle v1.3.0 h1:eHK/5clGOatcjX3oWGBO/MpxpbHzSwud5EWTSCI+MX0= -github.com/jackpal/gateway v1.0.7 h1:7tIFeCGmpyrMx9qvT0EgYUi7cxVW48a0mMvnIL17bPM= -github.com/jackpal/gateway v1.0.7/go.mod h1:aRcO0UFKt+MgIZmRmvOmnejdDT4Y1DNiNOsSd1AcIbA= -github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA= -github.com/jonboulle/clockwork v0.2.2 h1:UOGuzwb1PwsrDAObMuhUnj0p5ULPj8V/xJ7Kx9qUBdQ= -github.com/josharian/native v1.0.0 h1:Ts/E8zCSEsG17dUqv7joXJFybuMLjQfWE04tsBODTxk= -github.com/josharian/native v1.0.0/go.mod h1:7X/raswPFr05uY3HiLlYeyQntB6OO7E/d2Cu7qoaN2w= -github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA= -github.com/jstemmer/go-junit-report v0.9.1 h1:6QPYqodiu3GuPL+7mfx+NwDdp2eTkp9IfEUpgAwUN0o= -github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= -github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U= -github.com/k14s/imgpkg v0.21.0 h1:zQvLI0PT9oH9emfAq7gXsyuKEF1MYdaSqO/012/QqQs= -github.com/k14s/imgpkg v0.21.0/go.mod h1:p2hsjGOtiIQlqO1+1TJ4PnCsK3SjnZgqmjoDMPewtlY= -github.com/kisielk/errcheck v1.5.0 h1:e8esj/e4R+SAOwFwN+n3zr0nYeCyeweozKfO23MvHzY= -github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg= -github.com/klauspost/compress v1.13.0 h1:2T7tUoQrQT+fQWdaY5rjWztFGAFwbGD04iPJg90ZiOs= -github.com/klauspost/compress v1.13.0/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= -github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s= -github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8= -github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY= -github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= -github.com/kr/pty v1.1.8 h1:AkaSdXYQOWeaO3neb8EM634ahkXXe3jYbVh/F9lq+GI= -github.com/kube-vip/kube-vip v0.5.5 h1:ZtCp3417IaZtI6JLKqf3mciERyopouyW5eB5QjVQ3Bk= -github.com/kube-vip/kube-vip v0.5.5/go.mod h1:60rF7LtNs7RopdOB8LYk+2X/SF5cT56Gb2n8a3ik4qQ= -github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de h1:9TO3cAIGXtEhnIaL+V+BEER86oLrvS+kWobKpbJuye0= -github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod h1:zAbeS9B/r2mtpb6U+EI2rYA5OAXxsYw6wTamcNW+zcE= -github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= -github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU= -github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/maxbrunsfeld/counterfeiter/v6 v6.5.0 h1:rBhB9Rls+yb8kA4x5a/cWxOufWfXt24E+kq4YlbGj3g= -github.com/maxbrunsfeld/counterfeiter/v6 v6.5.0/go.mod h1:fJ0UAZc1fx3xZhU4eSHQDJ1ApFmTVhp5VTpV9tm2ogg= -github.com/mdlayher/arp v0.0.0-20191213142603-f72070a231fc h1:m7rJJJeXrYCFpsxXYapkDW53wJCDmf9bsIXUg0HoeQY= -github.com/mdlayher/arp v0.0.0-20191213142603-f72070a231fc/go.mod h1:eOj1DDj3NAZ6yv+WafaKzY37MFZ58TdfIhQ+8nQbiis= -github.com/mdlayher/ethernet v0.0.0-20190606142754-0394541c37b7 h1:lez6TS6aAau+8wXUP3G9I3TGlmPFEq2CTxBaRqY6AGE= -github.com/mdlayher/ethernet v0.0.0-20190606142754-0394541c37b7/go.mod h1:U6ZQobyTjI/tJyq2HG+i/dfSoFUt8/aZCM+GKtmFk/Y= -github.com/mdlayher/ndp v0.10.0 h1:Zdwol2bq1EHY8xSnejIYkq6LEj7dLjLymJX0o/2tjGw= -github.com/mdlayher/ndp v0.10.0/go.mod h1:Uv6IWvgvqirNUu2N3ZXJEB86xu6foyUsG0NrClSSfek= -github.com/mdlayher/netlink v1.6.0 h1:rOHX5yl7qnlpiVkFWoqccueppMtXzeziFjWAjLg6sz0= -github.com/mdlayher/netlink v1.6.0/go.mod h1:0o3PlBmGst1xve7wQ7j/hwpNaFaH4qCRyWCdcZk8/vA= -github.com/mdlayher/raw v0.0.0-20211126142749-4eae47f3d54b h1:MHcTarUMC4sFA7eiyR8IEJ6j2PgmgXR+B9X2IIMjh7A= -github.com/mdlayher/raw v0.0.0-20211126142749-4eae47f3d54b/go.mod h1:7EpbotpCmVZcu+KCX4g9WaRNuu11uyhiW7+Le1dKawg= -github.com/mdlayher/socket v0.2.3 h1:XZA2X2TjdOwNoNPVPclRCURoX/hokBY8nkTmRZFEheM= -github.com/mdlayher/socket v0.2.3/go.mod h1:bz12/FozYNH/VbvC3q7TRIK/Y6dH1kCKsXaUeXi/FmY= -github.com/microsoft/go-mssqldb v0.17.0/go.mod h1:OkoNGhGEs8EZqchVTtochlXruEhEOaO4S0d2sB5aeGQ= -github.com/miekg/dns v1.0.14 h1:9jZdLNd/P4+SfEJ0TNyxYpsK8N4GtfylBLqtbYN1sbA= -github.com/miekg/pkcs11 v1.1.1 h1:Ugu9pdy6vAYku5DEpVWVFPYnzV+bxB+iRdbuFSu7TvU= -github.com/miekg/pkcs11 v1.1.1/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= -github.com/mitchellh/cli v1.0.0 h1:iGBIsUe3+HZ/AD/Vd7DErOt5sU9fa8Uj7A2s1aggv1Y= -github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= -github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= -github.com/mattn/go-sqlite3 v1.14.16 h1:yOQRA0RpS5PFz/oikGwBEqvAWhWg5ufRz4ETLjwpU1Y= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU= -github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/maxbrunsfeld/counterfeiter/v6 v6.5.0 h1:rBhB9Rls+yb8kA4x5a/cWxOufWfXt24E+kq4YlbGj3g= -github.com/maxbrunsfeld/counterfeiter/v6 v6.5.0/go.mod h1:fJ0UAZc1fx3xZhU4eSHQDJ1ApFmTVhp5VTpV9tm2ogg= -github.com/mdlayher/arp v0.0.0-20191213142603-f72070a231fc h1:m7rJJJeXrYCFpsxXYapkDW53wJCDmf9bsIXUg0HoeQY= -github.com/mdlayher/arp v0.0.0-20191213142603-f72070a231fc/go.mod h1:eOj1DDj3NAZ6yv+WafaKzY37MFZ58TdfIhQ+8nQbiis= -github.com/mdlayher/ethernet v0.0.0-20190606142754-0394541c37b7 h1:lez6TS6aAau+8wXUP3G9I3TGlmPFEq2CTxBaRqY6AGE= -github.com/mdlayher/ethernet v0.0.0-20190606142754-0394541c37b7/go.mod h1:U6ZQobyTjI/tJyq2HG+i/dfSoFUt8/aZCM+GKtmFk/Y= -github.com/mdlayher/ndp v0.10.0 h1:Zdwol2bq1EHY8xSnejIYkq6LEj7dLjLymJX0o/2tjGw= -github.com/mdlayher/ndp v0.10.0/go.mod h1:Uv6IWvgvqirNUu2N3ZXJEB86xu6foyUsG0NrClSSfek= -github.com/mdlayher/netlink v1.6.0 h1:rOHX5yl7qnlpiVkFWoqccueppMtXzeziFjWAjLg6sz0= -github.com/mdlayher/netlink v1.6.0/go.mod h1:0o3PlBmGst1xve7wQ7j/hwpNaFaH4qCRyWCdcZk8/vA= -github.com/mdlayher/raw v0.0.0-20211126142749-4eae47f3d54b h1:MHcTarUMC4sFA7eiyR8IEJ6j2PgmgXR+B9X2IIMjh7A= -github.com/mdlayher/raw v0.0.0-20211126142749-4eae47f3d54b/go.mod h1:7EpbotpCmVZcu+KCX4g9WaRNuu11uyhiW7+Le1dKawg= -github.com/mdlayher/socket v0.2.3 h1:XZA2X2TjdOwNoNPVPclRCURoX/hokBY8nkTmRZFEheM= -github.com/mdlayher/socket v0.2.3/go.mod h1:bz12/FozYNH/VbvC3q7TRIK/Y6dH1kCKsXaUeXi/FmY= -github.com/microsoft/go-mssqldb v0.17.0/go.mod h1:OkoNGhGEs8EZqchVTtochlXruEhEOaO4S0d2sB5aeGQ= -github.com/miekg/dns v1.0.14 h1:9jZdLNd/P4+SfEJ0TNyxYpsK8N4GtfylBLqtbYN1sbA= -github.com/miekg/pkcs11 v1.1.1 h1:Ugu9pdy6vAYku5DEpVWVFPYnzV+bxB+iRdbuFSu7TvU= -github.com/miekg/pkcs11 v1.1.1/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= -github.com/mitchellh/cli v1.0.0 h1:iGBIsUe3+HZ/AD/Vd7DErOt5sU9fa8Uj7A2s1aggv1Y= -github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= -github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= -github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= -github.com/mitchellh/go-testing-interface v1.0.0 h1:fzU/JVNcaqHQEcVFAKeR41fkiLdIPrefOvVG1VZ96U0= -github.com/mitchellh/go-wordwrap v1.0.0 h1:6GlHJ/LTGMrIJbwgdqdl2eEH8o+Exx/0m8ir9Gns0u4= -github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= -github.com/mitchellh/gox v0.4.0 h1:lfGJxY7ToLJQjHHwi0EX6uYBdK78egf954SQl13PQJc= -github.com/mitchellh/iochan v1.0.0 h1:C+X3KsSTLFVBr/tK1eYN/vs4rJcvsiLU338UhYPJWeY= -github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= -github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/moby/spdystream v0.2.0 h1:cjW1zVyyoiM0T7b6UoySUFqzXMoqRckQtXwGPiBhOM8= -github.com/moby/sys/mount v0.2.0 h1:WhCW5B355jtxndN5ovugJlMFJawbUODuW8fSnEH6SSM= -github.com/moby/sys/mount v0.2.0/go.mod h1:aAivFE2LB3W4bACsUXChRHQ0qKWsetY4Y9V7sxOougM= -github.com/moby/sys/mountinfo v0.5.0 h1:2Ks8/r6lopsxWi9m58nlwjaeSzUX9iiL1vj5qB/9ObI= -github.com/moby/sys/mountinfo v0.5.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU= -github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 h1:dcztxKSvZ4Id8iPpHERQBbIJfabdt4wUm5qy3wOL2Zc= -github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw= -github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 h1:n6/2gBQ3RWajuToeY6ZtZTIKv2v7ThUy5KKusIT0yc0= -github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00/go.mod h1:Pm3mSP3c5uWn86xMLZ5Sa7JB9GsEZySvHYXCTK4E9q4= -github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= -github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus= -github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= -github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4= -github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= -github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= -github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= -github.com/onsi/ginkgo/v2 v2.1.6/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk= -github.com/onsi/gomega v1.22.1/go.mod h1:x6n7VNe4hw0vkyYUM4mjIXx3JbLiPaBPNgB7PRQ1tuM= -github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= -github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= -github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 h1:rc3tiVYb5z54aKaDfakKn0dDjIyPpTtszkjuMzyt7ec= -github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/runc v1.1.5 h1:L44KXEpKmfWDcS02aeGm8QNTFXTo2D+8MYGDIJ/GDEs= -github.com/opencontainers/runc v1.1.5/go.mod h1:1J5XiS+vdZ3wCyZybsuxXZWGrgSr8fFJHLXuG2PsnNg= -github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c h1:Lgl0gzECD8GnQ5QCWA8o6BtfL6mDH5rQgM4/fX3avOs= -github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= -github.com/pkg/sftp v1.13.1 h1:I2qBYMChEhIjOgazfJmV3/mZM256btk6wkCDRmW7JYs= -github.com/posener/complete v1.1.1 h1:ccV59UEOTzVDnDUEFdT95ZzHVZ+5+158q8+SJb2QV5w= -github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021 h1:0XM1XL/OFFJjXsYXlG30spTkV/E9+gmd5GD1w2HE8xM= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM= -github.com/prometheus/tsdb v0.7.1 h1:YZcsG11NqnK4czYLrWd9mpEuAJIHVQLwdrleYfszMAA= -github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= -github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rogpeppe/fastuuid v1.2.0 h1:Ppwyp6VYCF1nvBTXL3trRso7mXMlRrw9ooo375wvi2s= -github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rs/xid v1.2.1 h1:mhH9Nq+C1fY2l1XIpgxIiUOfNpRBYH1kKcr+qfKgjRc= -github.com/rs/zerolog v1.15.0 h1:uPRuwkWF4J6fGsJ2R0Gn2jB1EQiav9k3S6CSdygQJXY= -github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo= -github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= -github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q= -github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f h1:UFr9zpz4xgTnIE5yIMtWAMngCdZ9p/+q6lTbgelo80M= -github.com/sagikazarmark/crypt v0.6.0 h1:REOEXCs/NFY/1jOCEouMuT4zEniE5YoXbvpC5X/TLF8= -github.com/sagikazarmark/crypt v0.6.0/go.mod h1:U8+INwJo3nBv1m6A/8OBXAq7Jnpspk5AxSgDyEQcea8= -github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I= -github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM= -github.com/smartystreets/goconvey v1.6.4 h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s= -github.com/soheilhy/cmux v0.1.5 h1:jjzc5WVemNEDTLwv9tlmemhC73tI08BNOIGwBOo10Js= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ= -github.com/spf13/cobra v1.4.0 h1:y+wJpx64xcgO1V+RcnwW0LEHxTKRi2ZDPSBjWnrg88Q= -github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g= -github.com/stoewer/go-strcase v1.2.0 h1:Z2iHWqGXH00XYgqDmNgQbIBxf3wrNq0F3feEy0ainaU= -github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= -github.com/theupdateframework/notary v0.7.0 h1:QyagRZ7wlSpjT5N2qQAh/pN+DVqgekv4DzbAiAiEL3c= -github.com/theupdateframework/notary v0.7.0/go.mod h1:c9DRxcmhHmVLDay4/2fUYdISnHqbFDGRSlXPO0AhYWw= -github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802 h1:uruHq4dN7GR16kFc5fp3d1RIYzJW5onx8Ybykw2YQFA= -github.com/u-root/uio v0.0.0-20220204230159-dac05f7d2cb4 h1:hl6sK6aFgTLISijk6xIzeqnPzQcsLqqvL6vEfTPinME= -github.com/u-root/uio v0.0.0-20220204230159-dac05f7d2cb4/go.mod h1:LpEX5FO/cB+WF4TYGY1V5qktpaZLkKkSegbr0V4eYXA= -github.com/urfave/cli/v2 v2.3.0 h1:qph92Y649prgesehzOrQjdWyxFOp/QVM+6imKHad91M= -github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= -github.com/valyala/fastjson v1.6.3 h1:tAKFnnwmeMGPbwJ7IwxcTPCNr3uIzoIj3/Fh90ra4xc= -github.com/valyala/fastjson v1.6.3/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= -github.com/vdemeester/k8s-pkg-credentialprovider v1.21.0-1 h1:7Ajl3rjeYoB5V47jPknnLbyxYlhMXTTJiQsye5aT7f0= -github.com/vdemeester/k8s-pkg-credentialprovider v1.21.0-1/go.mod h1:l4LxiP0cmEcc5q4BTDE8tZSyIiyXe0T28x37yHpMzoM= -github.com/vincent-petithory/dataurl v1.0.0 h1:cXw+kPto8NLuJtlMsI152irrVw9fRDX8AbShPRpg2CI= -github.com/vincent-petithory/dataurl v1.0.0/go.mod h1:FHafX5vmDzyP+1CQATJn7WFKc9CvnvxyvZy6I1MrG/U= -github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5 h1:+UB2BJA852UkGH42H+Oee69djmxS3ANzl2b/JtT1YiA= -github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= -github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74 h1:gga7acRE695APm9hlsSMoOoE65U4/TcqNj90mc69Rlg= -github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= -github.com/vito/go-interact v0.0.0-20171111012221-fa338ed9e9ec h1:Klu98tQ9Z1t23gvC7p7sCmvxkZxLhBHLNyrUPsWsYFg= -github.com/vito/go-interact v0.0.0-20171111012221-fa338ed9e9ec/go.mod h1:wPlfmglZmRWMYv/qJy3P+fK/UnoQB5ISk4txfNd9tDo= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8= -github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca h1:1CFlNzQhALwjS9mBAUkycX616GzgsuYUOCHA5+HSlXI= -github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= -github.com/yuin/goldmark v1.4.13 h1:fVcFKWvrslecOb/tg+Cc05dkeYx540o0FuFt3nUVDoE= -github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/zenazn/goji v0.9.0 h1:RSQQAbXGArQ0dIDEq+PI6WqN6if+5KHu6x2Cx/GXLTQ= -gitlab.com/golang-commonmark/puny v0.0.0-20191124015043-9f83538fa04f h1:Wku8eEdeJqIOFHtrfkYUByc4bCaTeA6fL0UJgfEiFMI= -gitlab.com/golang-commonmark/puny v0.0.0-20191124015043-9f83538fa04f/go.mod h1:Tiuhl+njh/JIg0uS/sOJVYi0x2HEa5rc1OAaVsb5tAs= -go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU= -go.etcd.io/etcd/api/v3 v3.5.4 h1:OHVyt3TopwtUQ2GKdd5wu3PmmipR4FTwCqoEjSyRdIc= -go.etcd.io/etcd/api/v3 v3.5.4/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A= -go.etcd.io/etcd/client/pkg/v3 v3.5.4 h1:lrneYvz923dvC14R54XcA7FXoZ3mlGZAgmwhfm7HqOg= -go.etcd.io/etcd/client/pkg/v3 v3.5.4/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/v2 v2.305.4 h1:Dcx3/MYyfKcPNLpR4VVQUP5KgYrBeJtktBwEKkw08Ao= -go.etcd.io/etcd/client/v2 v2.305.4/go.mod h1:Ud+VUwIi9/uQHOMA+4ekToJ12lTxlv0zB/+DHwTGEbU= -go.etcd.io/etcd/client/v3 v3.5.4 h1:p83BUL3tAYS0OT/r0qglgc3M1JjhM0diV8DSWAhVXv4= -go.etcd.io/etcd/client/v3 v3.5.4/go.mod h1:ZaRkVgBZC+L+dLCjTcF1hRXpgZXQPOvnA/Ak/gq3kiY= -go.etcd.io/etcd/pkg/v3 v3.5.0 h1:ntrg6vvKRW26JRmHTE0iNlDgYK6JX3hg/4cD62X0ixk= -go.etcd.io/etcd/raft/v3 v3.5.0 h1:kw2TmO3yFTgE+F0mdKkG7xMxkit2duBDa2Hu6D/HMlw= -go.etcd.io/etcd/server/v3 v3.5.0 h1:jk8D/lwGEDlQU9kZXUFMSANkE22Sg5+mW27ip8xcF9E= -go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M= -go.opentelemetry.io/contrib v0.20.0 h1:ubFQUn0VCZ0gPwIoJfBJVpeBlyRMxu8Mm/huKWYd9p0= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0 h1:sO4WKdPAudZGKPcpZT4MJn6JaDmpyLrMPDGGyA1SttE= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0 h1:Q3C9yzW6I9jqEc8sawxzxZmY48fs9u220KXq6d5s3XU= -go.opentelemetry.io/otel v0.20.0 h1:eaP0Fqu7SXHwvjiqDq83zImeehOHX8doTvU9AwXON8g= -go.opentelemetry.io/otel/exporters/otlp v0.20.0 h1:PTNgq9MRmQqqJY0REVbZFvwkYOA85vbdQU/nVfxDyqg= -go.opentelemetry.io/otel/metric v0.20.0 h1:4kzhXFP+btKm4jwxpjIqjs41A7MakRFUS86bqLHTIw8= -go.opentelemetry.io/otel/oteltest v0.20.0 h1:HiITxCawalo5vQzdHfKeZurV8x7ljcqAgiWzF6Vaeaw= -go.opentelemetry.io/otel/sdk v0.20.0 h1:JsxtGXd06J8jrnya7fdI/U/MR6yXA5DtbZy+qoHQlr8= -go.opentelemetry.io/otel/sdk/export/metric v0.20.0 h1:c5VRjxCXdQlx1HjzwGdQHzZaVI82b5EbBgOu2ljD92g= -go.opentelemetry.io/otel/sdk/metric v0.20.0 h1:7ao1wpzHRVKf0OQ7GIxiQJA6X7DLX9o14gmVon7mMK8= -go.opentelemetry.io/otel/trace v0.20.0 h1:1DL6EXUdcg95gukhuRRvLDO/4X5THh/5dIV52lqtnbw= -go.opentelemetry.io/proto/otlp v0.7.0 h1:rwOQPCuKAKmwGKq2aVNnYIibI6wnV7EvzgfTCzcdGg8= -go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 h1:+FNtrFTmVw0YZGpBGX56XDee331t6JAXeK2bcyhLOOc= -go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5/go.mod h1:nmDLcffg48OtT/PSW0Hg7FvpRQsQh5OSqIylirxKC7o= -go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= -go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee h1:0mgffUl7nfd+FpvXMVz4IDEaUSmT1ysygQC7qYo7sG4= -go.uber.org/zap v1.17.0 h1:MTjgFu6ZLKvY6Pvaqk97GlxNBuMpV4Hy/3P6tRGlI2U= -go.uber.org/zap v1.19.1/go.mod h1:j3DNczoxDZroyBnOT1L/Q79cfUMGZxlv/9dzN7SM1rI= -go4.org v0.0.0-20201209231011-d4a079459e60 h1:iqAGo78tVOJXELHQFRjR6TMwItrvXH4hrGJ32I/NFF8= -go4.org v0.0.0-20201209231011-d4a079459e60/go.mod h1:CIiUVy99QCPfoE13bO4EZaz5GZMZXMSBGhxRdsvzbkg= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 h1:QE6XYQK6naiK1EPAe1g/ILLxN5RBoH5xkJk3CqlMI/Y= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b h1:+qEpEAPhDZ1o0x3tHzZTQDArnOixOzGD9HUJfcg0mb4= -golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 h1:2M3HP5CCK1Si9FQhwnzYhXdG6DXeebvUHFpre8QvbyI= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028 h1:4+4C/Iv2U4fMZBiMCc98MG1In4gJY5YRhtpDNeDeHWs= -golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df h1:5Pf6pFKu98ODmgnpvkJ3kFUOQGGLIzLIkbzUHp47618= -golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -google.golang.org/api v0.81.0 h1:o8WF5AvfidafWbFjsRyupxyEQJNUWxLZJCK5NXrxZZ8= -google.golang.org/api v0.81.0/go.mod h1:FA6Mb/bZxj706H2j+j2d6mHEEaHBmbbWnkfvmorOCko= -google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd h1:e0TwkXOdbnH/1x5rc5MZ/VYyiZ4v+RdVfrGMqEwT68I= -google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= -google.golang.org/grpc v1.46.2 h1:u+MLGgVf7vRdjEYZ8wDFhAVNmhkbJ5hmrA1LMWK1CAQ= -google.golang.org/grpc v1.47.0 h1:9n77onPX5F3qfFCqjy9dhn8PbNQsIKeVU04J9G7umt8= -google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= -gopkg.in/errgo.v2 v2.1.0 h1:0vLT13EuvQ0hNvakwLuFZ/jYrLp5F3kcWHXdRggjCE8= -gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= -gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec h1:RlWgLqCMMIYYEVcAR5MDsuHlVkaIPDAF+5Dehzg8L5A= -gopkg.in/natefinch/lumberjack.v2 v2.0.0 h1:1Lc07Kr7qY4U2YPouBjpCLxpiyxIVoxqXgkXLknAOE8= -gopkg.in/resty.v1 v1.12.0 h1:CuXP0Pjfw9rOuY6EP+UvtNvt5DSqHpIxILZKT/quCZI= -gopkg.in/square/go-jose.v2 v2.2.2 h1:orlkJ3myw8CN1nVQHBFfloD+L3egixIa4FvUP6RosSA= -gorm.io/driver/sqlite v1.4.3/go.mod h1:0Aq3iPO+v9ZKbcdiz8gLWRw5VOPcBOPUQJFLq5e2ecI= -gorm.io/driver/sqlserver v1.4.1/go.mod h1:DJ4P+MeZbc5rvY58PnmN1Lnyvb5gw5NPzGshHDnJLig= -gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0= -honnef.co/go/tools v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8= -k8s.io/apiserver v0.23.5 h1:2Ly8oUjz5cnZRn1YwYr+aFgDZzUmEVL9RscXbnIeDSE= -k8s.io/cli-runtime v0.23.0 h1:UONt0BV2+edjUVAXuR1nnOAL2CB9r+Gl9yk4UBQpKfs= -k8s.io/cli-runtime v0.23.0/go.mod h1:B5N3YH0KP1iKr6gEuJ/RRmGjO0mJQ/f/JrsmEiPQAlU= -k8s.io/cloud-provider v0.21.0 h1:NSTS+czpv6LQAaIpY/VUghsT4oj62hYmQPErkDKTzKU= -k8s.io/cloud-provider v0.21.0/go.mod h1:z17TQgu3JgUFjcgby8sj5X86YdVK5Pbt+jm/eYMZU9M= -k8s.io/cluster-bootstrap v0.25.4 h1:m50ICwMsEW13N7Z/tdTmLwELGHt4SJEJaeriPdQRxs0= -k8s.io/cluster-bootstrap v0.25.4/go.mod h1:q6XZzStf/uGcXUZhMHmRB8ael1k+bv8//AajQ6FPJag= -k8s.io/code-generator v0.23.5 h1:xn3a6J5pUL49AoH6SPrOFtnB5cvdMl76f/bEY176R3c= -k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c h1:GohjlNKauSai7gN4wsJkeZ3WAJx4Sh+oT/b5IYn5suA= -k8s.io/kubectl v0.25.2/go.mod h1:eoBGJtKUj7x38KXelz+dqVtbtbKwCqyKzJWmBHU0prg= -k8s.io/legacy-cloud-providers v0.21.0 h1:iWf5xaX9yvYT5mkz8UB96UtISQ5IkrWeuMPMhRp01ZY= -k8s.io/legacy-cloud-providers v0.21.0/go.mod h1:bNxo7gDg+PGkBmT/MFZswLTWdSWK9kAlS1s8DJca5q4= -rsc.io/binaryregexp v0.2.0 h1:HfqmD5MEmC0zvwBuF187nq9mdnXjXsSivRiXN7SmRkE= -rsc.io/quote/v3 v3.1.0 h1:9JKUTTIUgS6kzR9mK1YuGKv6Nl+DijDNIc0ghT58FaY= -rsc.io/sampler v1.3.0 h1:7uVkIFmeBqHfdjD+gZwtXXI+RODJ2Wc4O7MPEh/QiW4= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.30 h1:dUk62HQ3ZFhD48Qr8MIXCiKA8wInBQCtuE4QGfFW7yA= -sigs.k8s.io/cluster-api/test v1.1.5 h1:jukMEA50R3V6G7VcJMR7dMZJPd3Tuf0Orc/6CKuS9Ek= -sigs.k8s.io/cluster-api/test v1.1.5/go.mod h1:NXFioUFKruk/PgpUt4QrprV9bN1rVUcm7OWao9dfesg= -sigs.k8s.io/kind v0.14.0 h1:cNmI3jGBvp7UegEGbC5we8plDtCUmaNRL+bod7JoSCE= -sigs.k8s.io/kind v0.14.0/go.mod h1:UrFRPHG+2a5j0Q7qiR4gtJ4rEyn8TuMQwuOPf+m4oHg= -sigs.k8s.io/kustomize/api v0.10.1 h1:KgU7hfYoscuqag84kxtzKdEC3mKMb99DPI3a0eaV1d0= -sigs.k8s.io/kustomize/api v0.10.1/go.mod h1:2FigT1QN6xKdcnGS2Ppp1uIWrtWN28Ms8A3OZUZhwr8= -sigs.k8s.io/kustomize/kyaml v0.13.0 h1:9c+ETyNfSrVhxvphs+K2dzT3dh5oVPPEqPOE/cUpScY= -sigs.k8s.io/kustomize/kyaml v0.13.0/go.mod h1:FTJxEZ86ScK184NpGSAQcfEqee0nul8oLCK30D47m4E=