Documentation ¶
Overview ¶
Package routes Kube API
Kube API service is service for connection with Kubernetes.
Consumes: - application/json Produces: - application/json
swagger:meta
Index ¶
- func CreateConfigMap(ctx *gin.Context)
- func CreateDeployment(ctx *gin.Context)
- func CreateEndpoint(ctx *gin.Context)
- func CreateIngress(ctx *gin.Context)
- func CreateNamespace(ctx *gin.Context)
- func CreateSecret(ctx *gin.Context)
- func CreateService(ctx *gin.Context)
- func CreateVolume(ctx *gin.Context)
- func DeleteConfigMap(ctx *gin.Context)
- func DeleteDeployment(ctx *gin.Context)
- func DeleteEndpoint(ctx *gin.Context)
- func DeleteIngress(ctx *gin.Context)
- func DeleteNamespace(ctx *gin.Context)
- func DeletePod(ctx *gin.Context)
- func DeleteSecret(ctx *gin.Context)
- func DeleteService(ctx *gin.Context)
- func DeleteVolume(ctx *gin.Context)
- func Exec(ctx *gin.Context)
- func GetConfigMap(ctx *gin.Context)
- func GetConfigMapList(ctx *gin.Context)
- func GetDeployment(ctx *gin.Context)
- func GetDeploymentList(ctx *gin.Context)
- func GetEndpoint(ctx *gin.Context)
- func GetEndpointList(ctx *gin.Context)
- func GetIngress(ctx *gin.Context)
- func GetIngressList(ctx *gin.Context)
- func GetNamespace(ctx *gin.Context)
- func GetNamespaceList(ctx *gin.Context)
- func GetPod(ctx *gin.Context)
- func GetPodList(ctx *gin.Context)
- func GetPodLogs(ctx *gin.Context)
- func GetSecret(ctx *gin.Context)
- func GetSecretList(ctx *gin.Context)
- func GetSelectedConfigMaps(ctx *gin.Context)
- func GetSelectedIngresses(ctx *gin.Context)
- func GetService(ctx *gin.Context)
- func GetServiceList(ctx *gin.Context)
- func GetVolume(ctx *gin.Context)
- func GetVolumeList(ctx *gin.Context)
- func UpdateConfigMap(ctx *gin.Context)
- func UpdateDeployment(ctx *gin.Context)
- func UpdateDeploymentImage(ctx *gin.Context)
- func UpdateDeploymentReplicas(ctx *gin.Context)
- func UpdateEndpoint(ctx *gin.Context)
- func UpdateIngress(ctx *gin.Context)
- func UpdateNamespace(ctx *gin.Context)
- func UpdateSecret(ctx *gin.Context)
- func UpdateService(ctx *gin.Context)
- func UpdateVolume(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfigMap ¶
swagger:operation POST /namespaces/{namespace}/configmaps ConfigMap CreateConfigMap Create config map.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/ConfigMap'
responses:
'201': description: config map created schema: $ref: '#/definitions/ConfigMap' default: $ref: '#/responses/error'
func CreateDeployment ¶
swagger:operation POST /namespaces/{namespace}/deployments Deployment CreateDeployment Create deployment.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/Deployment'
responses:
'201': description: deployment created schema: $ref: '#/definitions/Deployment' default: $ref: '#/responses/error'
func CreateEndpoint ¶
swagger:operation POST /namespaces/{namespace}/endpoints Endpoint CreateEndpoint Create endpoint.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/Endpoint'
responses:
'201': description: endpoint created schema: $ref: '#/definitions/Endpoint' default: $ref: '#/responses/error'
func CreateIngress ¶
swagger:operation POST /namespaces/{namespace}/ingresses Ingress CreateIngress Create ingress.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/Ingress'
responses:
'201': description: ingress created schema: $ref: '#/definitions/Ingress' default: $ref: '#/responses/error'
func CreateNamespace ¶
swagger:operation POST /namespaces Namespace CreateNamespace Create namespace.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: body in: body schema: $ref: '#/definitions/Namespace'
responses:
'201': description: namespace created schema: $ref: '#/definitions/Namespace' default: $ref: '#/responses/error'
func CreateSecret ¶
swagger:operation POST /namespaces/{namespace}/secrets Secret CreateSecret Create secret.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/SecretWithParam'
responses:
'201': description: secret created schema: $ref: '#/definitions/SecretWithParam' default: $ref: '#/responses/error'
func CreateService ¶
swagger:operation POST /namespaces/{namespace}/services Service CreateService Create service.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/ServiceWithParam'
responses:
'201': description: service created schema: $ref: '#/definitions/ServiceWithParam' default: $ref: '#/responses/error'
func CreateVolume ¶
swagger:operation POST /namespaces/{namespace}/volume Volume CreateVolume Create volume.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/Volume'
responses:
'201': description: volume created schema: $ref: '#/definitions/Volume' default: $ref: '#/responses/error'
func DeleteConfigMap ¶
swagger:operation DELETE /namespaces/{namespace}/configmaps/{configmap} ConfigMap DeleteConfigMap Delete config map.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: configmap in: path type: string required: true
responses:
'202': description: config map deleted default: $ref: '#/responses/error'
func DeleteDeployment ¶
swagger:operation DELETE /namespaces/{namespace}/deployments/{deployment} Deployment DeleteDeployment Delete deployment.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: deployment in: path type: string required: true
responses:
'202': description: deployment deleted default: $ref: '#/responses/error'
func DeleteEndpoint ¶
swagger:operation DELETE /namespaces/{namespace}/endpoints/{endpoint} Endpoint DeleteEndpoint Delete endpoint.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: endpoint in: path type: string required: true
responses:
'202': description: endpoint deleted default: $ref: '#/responses/error'
func DeleteIngress ¶
swagger:operation DELETE /namespaces/{namespace}/ingresses/{ingress} Ingress DeleteIngress Delete ingress.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: ingress in: path type: string required: true
responses:
'202': description: ingress deleted default: $ref: '#/responses/error'
func DeleteNamespace ¶
swagger:operation DELETE /namespaces/{namespace} Namespace DeleteNamespace Delete namespace.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
responses:
'202': description: namespace deleted default: $ref: '#/responses/error'
func DeletePod ¶
swagger:operation DELETE /namespaces/{namespace}/pods/{pod} Pod DeletePod Delete pod.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: pod in: path type: string required: true
responses:
'202': description: pod deleted default: $ref: '#/responses/error'
func DeleteSecret ¶
swagger:operation DELETE /namespaces/{namespace}/secrets/{secret} Secret DeleteSecret Delete secret.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: secret in: path type: string required: true
responses:
'202': description: secret deleted default: $ref: '#/responses/error'
func DeleteService ¶
swagger:operation DELETE /namespaces/{namespace}/services/{service} Service DeleteService Delete service.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: service in: path type: string required: true
responses:
'202': description: service deleted default: $ref: '#/responses/error'
func DeleteVolume ¶
swagger:operation DELETE /namespaces/{namespace}/volume/{volume} Volume DeleteVolume Delete volume.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: volume in: path type: string required: true
responses:
'202': description: volume deleted default: $ref: '#/responses/error'
func GetConfigMap ¶
swagger:operation GET /namespaces/{namespace}/configmaps/{configmap} ConfigMap GetConfigMap Get config map.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: configmap in: path type: string required: true
responses:
'200': description: config map schema: $ref: '#/definitions/ConfigMap' default: $ref: '#/responses/error'
func GetConfigMapList ¶
swagger:operation GET /namespaces/{namespace}/configmaps ConfigMap GetConfigMapList Get config maps list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
responses:
'200': description: config maps list schema: $ref: '#/definitions/ConfigMapsList' default: $ref: '#/responses/error'
func GetDeployment ¶
swagger:operation GET /namespaces/{namespace}/deployments/{deployment} Deployment GetDeployment Get deployment.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: deployment in: path type: string required: true
responses:
'200': description: deployment schema: $ref: '#/definitions/Deployment' default: $ref: '#/responses/error'
func GetDeploymentList ¶
swagger:operation GET /namespaces/{namespace}/deployments Deployment GetDeploymentList Get deployments list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: owner in: query type: string required: false
responses:
'200': description: deployments list schema: $ref: '#/definitions/DeploymentsList' default: $ref: '#/responses/error'
func GetEndpoint ¶
swagger:operation GET /namespaces/{namespace}/endpoints/{endpoint} Endpoint GetEndpointList Get endpoint.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: endpoint in: path type: string required: true
responses:
'200': description: endpoint schema: $ref: '#/definitions/Endpoint' default: $ref: '#/responses/error'
func GetEndpointList ¶
swagger:operation GET /namespaces/{namespace}/endpoints Endpoint GetEndpointList Get endpoints list.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
responses:
'200': description: endpoints list schema: $ref: '#/definitions/EndpointsList' default: $ref: '#/responses/error'
func GetIngress ¶
swagger:operation GET /namespaces/{namespace}/ingresses/{ingress} Ingress GetIngress Get ingresses list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: ingress in: path type: string required: true
responses:
'200': description: ingresses schema: $ref: '#/definitions/Ingress' default: $ref: '#/responses/error'
func GetIngressList ¶
swagger:operation GET /namespaces/{namespace}/ingresses Ingress GetIngressList Get ingresses list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
responses:
'200': description: ingresses list schema: $ref: '#/definitions/IngressesList' default: $ref: '#/responses/error'
func GetNamespace ¶
swagger:operation GET /namespaces/{namespace} Namespace GetNamespace Get namespace.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
responses:
'200': description: namespace schema: $ref: '#/definitions/Namespace' default: $ref: '#/responses/error'
func GetNamespaceList ¶
swagger:operation GET /namespaces Namespace GetNamespaceList Get namespaces list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: owner in: query type: string required: false
responses:
'200': description: ingresses list schema: $ref: '#/definitions/NamespacesList' default: $ref: '#/responses/error'
func GetPod ¶
swagger:operation GET /namespaces/{namespace}/pods/{pod} Pod GetPod Get pod.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: pod in: query type: string required: true
responses:
'200': description: pod schema: $ref: '#/definitions/Pod' default: $ref: '#/responses/error'
func GetPodList ¶
swagger:operation GET /namespaces/{namespace}/pods Pod GetPodList Get pods list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: owner in: query type: string required: false
responses:
'200': description: pod list schema: $ref: '#/definitions/PodsList' default: $ref: '#/responses/error'
func GetPodLogs ¶
swagger:operation GET /namespaces/{namespace}/pods/{pod}/log Pod GetPodLogs Get pod logs.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- $ref: '#/parameters/UpgradeHeader'
- $ref: '#/parameters/ConnectionHeader'
- $ref: '#/parameters/SecWebSocketKeyHeader'
- $ref: '#/parameters/SecWebsocketVersionHeader'
- name: namespace in: header type: string required: true
- name: pod in: path type: string required: true
- name: follow in: query type: bool required: false
- name: tail in: query type: integer required: false
- name: container in: query type: string required: false
- name: previous in: query type: bool required: false
responses:
'101': description: pod logs default: $ref: '#/responses/error'
func GetSecret ¶
swagger:operation GET /namespaces/{namespace}/secrets/{secret} Secret GetSecret Get secret.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: secret in: path type: string required: true
responses:
'200': description: secret schema: $ref: '#/definitions/SecretWithParam' default: $ref: '#/responses/error'
func GetSecretList ¶
swagger:operation GET /namespaces/{namespace}/secrets Secret GetSecretList Get secrets list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
responses:
'200': description: secrets list schema: $ref: '#/definitions/SecretsList' default: $ref: '#/responses/error'
func GetSelectedConfigMaps ¶
swagger:operation GET /configmaps ConfigMap GetSelectedConfigMaps Get config maps from all user namespaces.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
responses:
'200': description: config maps list from all users namespaces schema: $ref: '#/definitions/SelectedConfigMapsList' default: $ref: '#/responses/error'
func GetSelectedIngresses ¶
swagger:operation GET /ingresses Ingress GetSelectedIngresses Get ingresses from all user namespaces.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
responses:
'200': description: ingresses list from all users namespaces schema: $ref: '#/definitions/SelectedIngressesList' default: $ref: '#/responses/error'
func GetService ¶
swagger:operation GET /namespaces/{namespace}/services/{service} Service GetService Get services list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: service in: path type: string required: true
responses:
'200': description: service schema: $ref: '#/definitions/ServiceWithParam' default: $ref: '#/responses/error'
func GetServiceList ¶
swagger:operation GET /namespaces/{namespace}/services Service GetServiceList Get services list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
responses:
'200': description: services list schema: $ref: '#/definitions/ServicesList' default: $ref: '#/responses/error'
func GetVolume ¶
swagger:operation GET /namespaces/{namespace}/volumes/{volume} Volume GetVolume Get volumes list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: volume in: path type: string required: true
responses:
'200': description: volume schema: $ref: '#/definitions/Volume' default: $ref: '#/responses/error'
func GetVolumeList ¶
swagger:operation GET /namespaces/{namespace}/volumes Volume GetVolumeList Get volumes list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
responses:
'200': description: volumes list schema: $ref: '#/definitions/VolumesList' default: $ref: '#/responses/error'
func UpdateConfigMap ¶
swagger:operation PUT /namespaces/{namespace}/configmaps/{configmap} ConfigMap UpdateConfigMap Update config map.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: configmap in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/ConfigMap'
responses:
'202': description: config map updated schema: $ref: '#/definitions/ConfigMap' default: $ref: '#/responses/error'
func UpdateDeployment ¶
swagger:operation PUT /namespaces/{namespace}/deployments/{deployment} Deployment UpdateDeployment Update deployment.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: deployment in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/Deployment'
responses:
'202': description: deployment updated schema: $ref: '#/definitions/Deployment' default: $ref: '#/responses/error'
func UpdateDeploymentImage ¶
swagger:operation PUT /namespaces/{namespace}/deployments/{deployment}/image Deployment UpdateDeploymentImage Update image in deployments container.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: deployment in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/UpdateImage'
responses:
'202': description: deployment updated schema: $ref: '#/definitions/Deployment' default: $ref: '#/responses/error'
func UpdateDeploymentReplicas ¶
swagger:operation PUT /namespaces/{namespace}/deployments/{deployment}/replicas Deployment UpdateDeploymentReplicas Update deployments replicas count.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: deployment in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/UpdateReplicas'
responses:
'202': description: deployment updated schema: $ref: '#/definitions/Deployment' default: $ref: '#/responses/error'
func UpdateEndpoint ¶
swagger:operation PUT /namespaces/{namespace}/endpoints/{endpoint} Endpoint UpdateEndpoint Update endpoint.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: endpoint in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/Endpoint'
responses:
'201': description: endpoint updated schema: $ref: '#/definitions/Endpoint' default: $ref: '#/responses/error'
func UpdateIngress ¶
swagger:operation PUT /namespaces/{namespace}/ingresses/{ingress} Ingress UpdateIngress Update ingress.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: ingress in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/Ingress'
responses:
'201': description: ingress updated schema: $ref: '#/definitions/Ingress' default: $ref: '#/responses/error'
func UpdateNamespace ¶
swagger:operation PUT /namespaces/{namespace} Namespace UpdateNamespace Update namespace.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/Namespace'
responses:
'201': description: namespace updated schema: $ref: '#/definitions/Namespace' default: $ref: '#/responses/error'
func UpdateSecret ¶
swagger:operation PUT /namespaces/{namespace}/secrets/{secret} Secret UpdateSecret Update secret.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: secret in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/SecretWithParam'
responses:
'202': description: secret updated schema: $ref: '#/definitions/SecretWithParam' default: $ref: '#/responses/error'
func UpdateService ¶
swagger:operation PUT /namespaces/{namespace}/services/{service} Service UpdateService Update service.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: service in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/ServiceWithParam'
responses:
'202': description: service updated schema: $ref: '#/definitions/ServiceWithParam' default: $ref: '#/responses/error'
func UpdateVolume ¶
swagger:operation PUT /namespaces/{namespace}/volumes/{volumes} Volume UpdateVolume Update volume.
--- x-method-visibility: private parameters:
- $ref: '#/parameters/UserIDHeader'
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserNamespaceHeader'
- name: namespace in: path type: string required: true
- name: volume in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/Volume'
responses:
'202': description: volume updated schema: $ref: '#/definitions/Volume' default: $ref: '#/responses/error'
Types ¶
This section is empty.