# Functions
Download @Summary Download @description 从容器下载到本地 @Tags Kubernetes Api Proxy @Accept json @Param namespace query DownloadQuery true "namespace" default(default) @Param pod query DownloadQuery true "pod" default(nginx-test-76996486df) @Param container query DownloadQuery true "container" default(nginx-0) @Param dest_paths query DownloadQuery true "dest_paths" default(/root) @Param style query DownloadQuery true "style" default(rar) @Success 200 {object} handlers.JSONResult @Failure 500 {object} handlers.JSONResult @Router /api/kubeapiproxy/download [get].
Exec @Summary Exec @description 在pod的容器中执行 @Tags Kubernetes Api Proxy @Param namespace query ExecQuery true "namespace" @Param pods query ExecQuery true "Pod名称" @Param container query ExecQuery true "容器名称" @Param command query ExecQuery true "命令" @Param stdout query ExecQuery false "标准输出" @Param stderr query ExecQuery false "错误输出" @Param tty query ExecQuery false "终端" @Success 200 {object} handlers.JSONResult @Failure 500 {object} handlers.JSONResult @Router /api/kubeapiproxy/exec [get].
MultiUpload @Summary MultiUpload @description 批量上传到容器 @Tags Kubernetes Api Proxy @Accept multipart/form-data @Param namespace query MultiUploadQuery true "namespace" default(default) @Param pods query MultiUploadQuery true "pods" default(nginx-test-76996486df) @Param dest_path query MultiUploadQuery false "dest_path" default(/root/) @Param files formData file true "files" @Success 200 {object} handlers.JSONResult @Failure 500 {object} handlers.JSONResult @Router /api/kubeapiproxy/multiupload [post].
Namespace @Summary Namespace @description 命名空间列表 @Tags Kubernetes Api Proxy @Param namespace query NamespaceSQuery false "namespace" @Param field_selector query NamespaceSQuery false "field_selector" @Param label_selector query NamespaceSQuery false "label_selector" @Param limit query NamespaceSQuery false "limit" @Param continue query NamespaceSQuery false "continue" @Success 200 {object} handlers.JSONResult @Failure 500 {object} handlers.JSONResult @Router /api/kubeapiproxy/namespace [get].
Pods @Summary Pods @description 命名空间下Pod资源列表 @Tags Kubernetes Api Proxy @Param namespace query PodsQuery false "namespace" default(test) @Param pods query PodsQuery false "pods" @Param field_selector query PodsQuery false "field_selector" @Param label_selector query PodsQuery false "label_selector" @Param limit query PodsQuery false "limit" default(10) @Param continue query PodsQuery false "continue" @Success 200 {object} handlers.JSONResult @Failure 500 {object} handlers.JSONResult @Router /api/kubeapiproxy/pods [get].
Pvcs @Summary Pvcs @description 命名空间下Pvc资源列表 @Tags Kubernetes Api Proxy @Param namespace query PvcsQuery false "namespace" default(test) @Param pvcs query PvcsQuery false "pvcs" @Param field_selector query PvcsQuery false "field_selector" @Param label_selector query PvcsQuery false "label_selector" @Success 200 {object} handlers.JSONResult @Failure 500 {object} handlers.JSONResult @Router /api/kubeapiproxy/pvcs [get].
Terminal @Summary Container terminal @description pod 中容器的终端 @Tags Kubernetes Api Proxy @Param namespace query TerminalQuery true "namespace" default(default) @Param pod query TerminalQuery true "Pod名称" @Param container query TerminalQuery true "容器名称" @Param shell query TerminalQuery false "shell" default(sh[bash/sh/cmd]) @Success 200 {object} handlers.JSONResult @Failure 500 {object} handlers.JSONResult @Router /api/kubeapiproxy/terminal [get].
UploadPods @Summary Upload @description 上传到容器 @Tags Kubernetes Api Proxy @Accept multipart/form-data @Param namespace query UploadQuery true "namespace" default(default) @Param pod query UploadQuery true "pod" default(nginx-test-76996486df) @Param containers query UploadQuery true "containers" default(nginx-0) @Param dest_path query UploadQuery false "dest_path" default(/root/) @Param files formData file true "files" @Success 200 {object} handlers.JSONResult @Failure 500 {object} handlers.JSONResult @Router /api/kubeapiproxy/upload [post].
UploadPVC @Summary Upload @description 上传到PVC @Tags Kubernetes Api Proxy @Accept multipart/form-data @Param namespace query UploadQuery true "namespace" default(default) @Param pvc query UploadQuery true "pvc" default(nginx-test-76996486df) @Param files formData file true "files" @Success 200 {object} handlers.JSONResult @Failure 500 {object} handlers.JSONResult @Router /api/kubeapiproxy/uploadpvc [post].
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author