1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 13:23:07 +01:00

feat: supports multiple hosts in parallel and update hosts menu (#2269)

* feat: updates host menu to be part of side menu

* updates routes to be host/id

* fixes go tests

* fixes js tests

* fixes typescheck

* fixes int tests

* fixes mobile

* fixes bug in merging containers

* fixed minor bug with menu
This commit is contained in:
Amir Raminfar
2023-06-24 12:13:39 -07:00
committed by GitHub
parent 9f90d1ccfa
commit 14fc1190a8
38 changed files with 456 additions and 400 deletions

View File

@@ -12,7 +12,7 @@ describe("Container", () => {
];
test.each(names)("name %s should be %s and %s", (name, expectedName, expectedSwarmId) => {
const c = new Container("id", new Date(), "image", name!, "command", "status", "created");
const c = new Container("id", new Date(), "image", name!, "command", "host", "status", "created");
expect(c.name).toBe(expectedName);
expect(c.swarmId).toBe(expectedSwarmId);
});

View File

@@ -18,6 +18,7 @@ export class Container {
public readonly image: string,
public readonly name: string,
public readonly command: string,
public readonly host: string,
public status: string,
public state: ContainerState,
public health?: ContainerHealth