feat: finish the docker plugin (B15)

This commit is contained in:
LukeGus committed 2026-09-24 11:58:20 -05:00
1 parent 0a3f05d99d
commit 993a91c899
167 files changed
+26299 -5136

No files matched your search

-6
View File
@@ -22,7 +22,6 @@ export type WidgetTypeId =
| "ssh_terminal"
| "quick_connect"
| "file_manager_widget"
| "docker_widget"
| "tunnel_widget"
| "calendar"
| "countdown"
@@ -35,7 +34,6 @@ export type WidgetTypeId =
| "dashboard_links"
| "search_links"
| "link_tree"
| "docker_activity"
| "ssh_quick_connect"
| (string & {});
@@ -213,10 +211,6 @@ export interface FileManagerWidgetConfig {
hostId: number;
}
export interface DockerWidgetConfig {
hostId: number;
}
export interface SshTerminalConfig {
hostId: number;
autoConnect: boolean;
-54
View File
@@ -157,7 +157,6 @@ export interface HostFeatureFlags {
enableTerminal: boolean; // SSH, Telnet only
enableTunnel: boolean; // SSH only
enableFileManager: boolean; // SSH only
enableDocker: boolean; // SSH only
enableTmuxMonitor: boolean; // SSH only
enableTerminalToolbar: boolean; // SSH, RDP, VNC, and Telnet
enableAiAssistant: boolean; // SSH only
@@ -216,7 +215,6 @@ export type Host = {
enableTunnel: boolean;
enableFileManager: boolean;
scpLegacy?: boolean;
enableDocker: boolean;
enableTmuxMonitor: boolean;
enableTerminalToolbar: boolean;
enableAiAssistant: boolean;
@@ -253,7 +251,6 @@ export type Host = {
/** "ssh", or the id of the plugin protocol a host without SSH uses. */
connectionType?: string;
domain?: string;
dockerConfig?: Record<string, unknown> | null;
enableWebUi?: boolean;
webUiConfig?: WebUiConfig | null;
@@ -368,7 +365,6 @@ export interface HostData {
enableTunnel?: boolean;
enableFileManager?: boolean;
scpLegacy?: boolean;
enableDocker?: boolean;
enableProxmox?: boolean;
enableTmuxMonitor?: boolean;
enableTerminalToolbar?: boolean;
@@ -410,7 +406,6 @@ export interface HostData {
/** "ssh", or the id of the plugin protocol a host without SSH uses. */
connectionType?: string;
domain?: string;
dockerConfig?: Record<string, unknown> | null;
enableWebUi?: boolean;
webUiConfig?: WebUiConfig | null;
@@ -1005,52 +1000,3 @@ export interface RestoreRequestBody {
// ============================================================================
// DOCKER TYPES
// ============================================================================
export interface DockerContainer {
id: string;
name: string;
image: string;
status: string;
state:
| "created"
| "running"
| "paused"
| "restarting"
| "removing"
| "exited"
| "dead";
ports: string;
created: string;
command?: string;
labels?: Record<string, string>;
networks?: string[];
mounts?: string[];
}
export interface DockerStats {
cpu: string;
memoryUsed: string;
memoryLimit: string;
memoryPercent: string;
netInput: string;
netOutput: string;
blockRead: string;
blockWrite: string;
pids?: string;
}
export interface DockerLogOptions {
tail?: number;
timestamps?: boolean;
since?: string;
until?: string;
follow?: boolean;
}
export interface DockerValidation {
available: boolean;
version?: string;
runtime?: "docker" | "podman";
error?: string;
code?: string;
}
-4
View File
@@ -100,10 +100,6 @@ export type Host = {
scpLegacy?: boolean;
defaultPath?: string;
enableDocker: boolean;
dockerConfig?: {
runtime?: "docker" | "podman";
} | null;
enableWebUi?: boolean;
enableProxmox: boolean;
enableTmuxMonitor: boolean;