Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update topology API #9

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions libs/cli-kontrol-api/api/golang/server/server.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions libs/cli-kontrol-api/api/golang/types/types.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions libs/cli-kontrol-api/api/typescript/client/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,13 @@ export interface components {
id: string;
/** @description Label for the node. */
label?: string;
/**
* @description Type of the node
* @enum {string}
*/
type: "gateway" | "service" | "service-version" | "redis";
/** @description Parent node */
parent?: string;
};
Edge: {
/** @description The identifier of the source node of the edge. */
Expand Down
8 changes: 8 additions & 0 deletions libs/cli-kontrol-api/specs/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,16 @@ components:
label:
type: string
description: Label for the node.
type:
type: string
enum: [gateway, service, service-version, redis]
description: Type of the node
parent:
type: string
description: Parent node
required:
- id
- type

Edge:
type: object
Expand Down
Loading