Interface ConfigApi


public interface ConfigApi
  • Method Details

    • getConfigs

      @GetMapping("/api/v1/configs") org.springframework.http.ResponseEntity<V1ListConfigResponse> getConfigs(@RequestParam("template") String template)
    • getConfig

      @GetMapping("/api/v1/configs/{configName}") org.springframework.http.ResponseEntity<List<V1Config>> getConfig(@PathVariable("configName") String configName)
    • createConfig

      @PostMapping("/api/v1/configs") org.springframework.http.ResponseEntity<V1Config> createConfig(@RequestBody V1CreateConfigRequest body)
    • updateConfig

      @PutMapping("/api/v1/configs/{configName}") org.springframework.http.ResponseEntity<List<V1UpdateConfigRequest>> updateConfig(@PathVariable("configName") String configName)
    • deleteConfig

      @DeleteMapping("/api/v1/configs/{configName}") org.springframework.http.ResponseEntity<V1EmptyResponse> deleteConfig(@PathVariable("configName") String configName)
    • listConfigTemplates

      @GetMapping("/api/v1/config_templates") org.springframework.http.ResponseEntity<V1ListConfigTemplateResponse> listConfigTemplates()
    • getConfigTemplate

      @GetMapping("/api/v1/config_templates/{templateName}") org.springframework.http.ResponseEntity<V1ConfigTemplateDetail> getConfigTemplate(@PathVariable("templateName") String templateName, @RequestParam("namespace") String namespace)