Skip to content

Commit

Permalink
feat(bolt): Provision default cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelOnFira committed Apr 18, 2024
1 parent 28b2703 commit 0007434
Show file tree
Hide file tree
Showing 32 changed files with 2,743 additions and 125 deletions.
9 changes: 9 additions & 0 deletions errors/api/admin/cluster/cluster-not-found.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
name = "CLUSTER_NOT_FOUND"
description = "The requested cluster was not found."
http_status = 404
---

# API Not Found

The requested cluster was not found.
17 changes: 16 additions & 1 deletion fern/definition/admin/cluster/datacenter/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ service:
get:
path: ""
method: GET
docs: Get all the datacenters for a cluster
docs: Get all the datacenters for a cluster.
response: GetResponse
create:
path: ""
Expand All @@ -27,6 +27,14 @@ service:
name_id:
type: string
method: DELETE
update:
path: /{datacenter_id}
path-parameters:
datacenter_id:
type: uuid
method: PUT
request:
body: UpdateRequest
taint:
path: /{name_id}/taint
path-parameters:
Expand All @@ -49,3 +57,10 @@ types:
CreateResponse:
properties:
datacenter_id: uuid
UpdateRequest:
properties:
pool_type: localCommons.PoolType
hardware: list<localCommons.Hardware>
desired_count: optional<integer>
max_count: optional<integer>
drain_timeout: optional<long>
Loading

0 comments on commit 0007434

Please sign in to comment.