Port label-based container discovery from config-portability and wire it into the onboarding integrations step. Labeled containers take priority over image matching, sync into category sections, and preserve board layout when placing integration widgets.
13 lines
463 B
TypeScript
13 lines
463 B
TypeScript
import type Docker from "dockerode";
|
|
|
|
export type { DockerInstance } from "./singleton";
|
|
export { DockerSingleton } from "./singleton";
|
|
export type { ContainerInfo, Container, Port } from "dockerode";
|
|
export type { Docker };
|
|
|
|
export const containerStates = ["created", "running", "paused", "restarting", "exited", "removing", "dead"] as const;
|
|
|
|
export type ContainerState = (typeof containerStates)[number];
|
|
export * from "./labels";
|
|
export * from "./discovery";
|