Interface ClusterApi
public interface ClusterApi
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<V1ClusterBase>connectCloudCluster(String provider, V1ConnectCloudClusterRequest body) org.springframework.http.ResponseEntity<V1CreateCloudClusterResponse>createCloudCluster(String provider, V1CreateCloudClusterRequest body) org.springframework.http.ResponseEntity<V1ClusterBase>org.springframework.http.ResponseEntity<V1CreateClusterNamespaceResponse>createNamespace(String clusterName, V1CreateClusterNamespaceRequest body) org.springframework.http.ResponseEntity<V1CreateCloudClusterResponse>deleteCloudClusterCreation(String provider, String cloudClusterName) org.springframework.http.ResponseEntity<V1ClusterBase>deleteKubeCluster(String clusterName) org.springframework.http.ResponseEntity<V1CreateCloudClusterResponse>getCloudClusterCreationStatus(String provider, String cloudClusterName) org.springframework.http.ResponseEntity<V1DetailClusterResponse>getKubeCluster(String clusterName) org.springframework.http.ResponseEntity<V1ListCloudClusterCreationResponse>listCloudClusterCreation(String provider) org.springframework.http.ResponseEntity<V1ListCloudClusterResponse>listCloudClusters(String provider, V1AccessKeyRequest body, Integer page, Integer pageSize) org.springframework.http.ResponseEntity<V1ListClusterResponse>listKubeClusters(String query, Integer page, Integer pageSize) org.springframework.http.ResponseEntity<V1ClusterBase>modifyKubeCluster(String clusterName, V1CreateClusterRequest body)
-
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)
-