mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
feat(home): change layout of env tile [EE-4479] (#8061)
This commit is contained in:
parent
b48aa1274d
commit
eba5879ec8
29 changed files with 717 additions and 445 deletions
26
app/react/docker/snapshots/types/index.ts
Normal file
26
app/react/docker/snapshots/types/index.ts
Normal file
|
@ -0,0 +1,26 @@
|
|||
import { DockerContainer } from '@/react/docker/containers/types';
|
||||
|
||||
export type DockerSnapshotRaw = {
|
||||
Containers: DockerContainer[];
|
||||
SnapshotTime: string;
|
||||
};
|
||||
|
||||
export interface DockerSnapshot {
|
||||
TotalCPU: number;
|
||||
TotalMemory: number;
|
||||
NodeCount: number;
|
||||
ImageCount: number;
|
||||
VolumeCount: number;
|
||||
RunningContainerCount: number;
|
||||
StoppedContainerCount: number;
|
||||
HealthyContainerCount: number;
|
||||
UnhealthyContainerCount: number;
|
||||
Time: number;
|
||||
StackCount: number;
|
||||
ServiceCount: number;
|
||||
Swarm: boolean;
|
||||
DockerVersion: string;
|
||||
GpuUseAll: boolean;
|
||||
GpuUseList: string[];
|
||||
SnapshotRaw: DockerSnapshotRaw;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue