Interface ClusterApi


public interface ClusterApi
  • Method Details

    • listKubeClusters

      @GetMapping("/api/v1/clusters") org.springframework.http.ResponseEntity<V1ListClusterResponse> listKubeClusters(@RequestParam("query") String query, @RequestParam("page") Integer page, @RequestParam("pageSize") Integer pageSize)
    • getKubeCluster

      @GetMapping("/api/v1/clusters/{clusterName}") org.springframework.http.ResponseEntity<V1DetailClusterResponse> getKubeCluster(@PathVariable("clusterName") String clusterName)
    • createKubeCluster

      @PostMapping("/api/v1/clusters") org.springframework.http.ResponseEntity<V1ClusterBase> createKubeCluster(@RequestBody V1CreateClusterRequest body)
    • modifyKubeCluster

      @PutMapping("/api/v1/clusters/{clusterName}") org.springframework.http.ResponseEntity<V1ClusterBase> modifyKubeCluster(@PathVariable("clusterName") String clusterName, @RequestBody V1CreateClusterRequest body)
    • deleteKubeCluster

      @DeleteMapping("/api/v1/clusters/{clusterName}") org.springframework.http.ResponseEntity<V1ClusterBase> deleteKubeCluster(@PathVariable("clusterName") String clusterName)
    • createNamespace

      @PostMapping("/api/v1/clusters/{clusterName}/namespaces") org.springframework.http.ResponseEntity<V1CreateClusterNamespaceResponse> createNamespace(@PathVariable("clusterName") String clusterName, @RequestBody V1CreateClusterNamespaceRequest body)
    • listCloudClusters

      @PostMapping("/api/v1/clusters/cloud_clusters/{provider}") org.springframework.http.ResponseEntity<V1ListCloudClusterResponse> listCloudClusters(@PathVariable("provider") String provider, @RequestBody V1AccessKeyRequest body, @RequestParam("page") Integer page, @RequestParam("pageSize") Integer pageSize)
    • createCloudCluster

      @PostMapping("/api/v1/clusters/cloud_clusters/{provider}/create") org.springframework.http.ResponseEntity<V1CreateCloudClusterResponse> createCloudCluster(@PathVariable("provider") String provider, @RequestBody V1CreateCloudClusterRequest body)
    • listCloudClusterCreation

      @GetMapping("/api/v1/clusters/cloud_clusters/{provider}/creation") org.springframework.http.ResponseEntity<V1ListCloudClusterCreationResponse> listCloudClusterCreation(@PathVariable("provider") String provider)
    • getCloudClusterCreationStatus

      @GetMapping("/api/v1/clusters/cloud_clusters/{provider}/creation/{cloudClusterName}") org.springframework.http.ResponseEntity<V1CreateCloudClusterResponse> getCloudClusterCreationStatus(@PathVariable("provider") String provider, @PathVariable("cloudClusterName") String cloudClusterName)
    • deleteCloudClusterCreation

      @DeleteMapping("/api/v1/clusters/cloud_clusters/{provider}/creation/{cloudClusterName}") org.springframework.http.ResponseEntity<V1CreateCloudClusterResponse> deleteCloudClusterCreation(@PathVariable("provider") String provider, @PathVariable("cloudClusterName") String cloudClusterName)
    • connectCloudCluster

      @PostMapping("/api/v1/clusters/cloud_clusters/{provider}/connect") org.springframework.http.ResponseEntity<V1ClusterBase> connectCloudCluster(@PathVariable("provider") String provider, @RequestBody V1ConnectCloudClusterRequest body)