-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f4b169
commit 2002c43
Showing
136 changed files
with
7,666 additions
and
884 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json | ||
|
||
imports: | ||
localCommons: ../common.yml | ||
|
||
service: | ||
auth: true | ||
base-path: /admin/clusters | ||
endpoints: | ||
getServerIps: | ||
path: /server_ips | ||
method: GET | ||
request: | ||
name: GetServerIpsRequest | ||
query-parameters: | ||
server_id: optional<uuid> | ||
pool: optional<localCommons.PoolType> | ||
response: GetServerIpsResponse | ||
get: | ||
path: "" | ||
method: GET | ||
docs: Get clusters from ids | ||
request: | ||
name: GetRequest | ||
query-parameters: | ||
datacenter_ids: | ||
type: uuid | ||
allow-multiple: true | ||
response: GetResponse | ||
list: | ||
path: /list | ||
method: GET | ||
docs: List all cluster ids | ||
response: ListResponse | ||
create: | ||
path: "" | ||
method: POST | ||
docs: Create a new cluster | ||
request: | ||
body: CreateRequest | ||
response: CreateResponse | ||
|
||
types: | ||
GetServerIpsResponse: | ||
properties: | ||
ips: list<string> | ||
GetResponse: | ||
properties: | ||
clusters: list<localCommons.Cluster> | ||
ListResponse: | ||
properties: | ||
cluster_ids: list<uuid> | ||
CreateRequest: | ||
properties: | ||
name_id: string | ||
owner_team_id: optional<uuid> | ||
CreateResponse: | ||
properties: | ||
cluster_id: uuid |
58 changes: 58 additions & 0 deletions
58
fern/definition/admin/clusters/datacenters/__package__.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json | ||
|
||
imports: | ||
localCommons: ../../common.yml | ||
|
||
service: | ||
auth: true | ||
base-path: /admin/clusters/{cluster_id}/datacenters | ||
path-parameters: | ||
cluster_id: | ||
type: uuid | ||
endpoints: | ||
get: | ||
path: "" | ||
method: GET | ||
docs: Get datacenters from ids | ||
request: | ||
name: GetRequest | ||
query-parameters: | ||
datacenter_ids: | ||
type: uuid | ||
allow-multiple: true | ||
response: GetResponse | ||
list: | ||
path: /list | ||
method: GET | ||
docs: List all datacenter ids | ||
response: ListResponse | ||
create: | ||
path: "" | ||
method: POST | ||
request: | ||
body: CreateRequest | ||
response: CreateResponse | ||
taint: | ||
path: /{datacenter_id}/taint | ||
path-parameters: | ||
datacenter_id: | ||
type: string | ||
method: POST | ||
|
||
types: | ||
GetResponse: | ||
properties: | ||
datacenters: list<localCommons.Datacenter> | ||
ListResponse: | ||
properties: | ||
datacenter_ids: list<uuid> | ||
CreateRequest: | ||
properties: | ||
display_name: string | ||
name_id: string | ||
provider: localCommons.Provider | ||
provider_datacenter_id: string | ||
build_delivery_method: localCommons.BuildDeliveryMethod | ||
CreateResponse: | ||
properties: | ||
datacenter_id: uuid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ let | |
"lib/bolt" | ||
"lib/s3-util" | ||
"proto" | ||
"sdks/full/rust" | ||
]; | ||
|
||
includeFilter = path: type: let | ||
|
Oops, something went wrong.