health page, manifest page, watch unauth, begin redesign

This commit is contained in:
Matt Hill
2021-06-22 17:34:56 -06:00
committed by Aiden McClelland
parent 7013364ae8
commit 5d24d9324c
28 changed files with 614 additions and 302 deletions

View File

@@ -28,7 +28,7 @@ export module RR {
export type GetServerLogsRes = Log[]
export type GetServerMetricsReq = { } // server.metrics
export type GetServerMetricsRes = ServerMetrics
export type GetServerMetricsRes = Metrics
export type UpdateServerReq = WithExpire<{ }> // server.update
export type UpdateServerRes = WithRevision<null>
@@ -219,7 +219,7 @@ export interface ActionResponse {
qr: boolean
}
export interface ServerMetrics {
export interface Metrics {
[key: string]: {
[key: string]: {
value: string | number | null

View File

@@ -67,17 +67,7 @@ export module Mock {
inject: false,
'shm-size': '',
},
'health-check': {
type: 'docker',
image: '',
system: true,
entrypoint: '',
args: [''],
mounts: { },
'io-format': DockerIoFormat.Yaml,
inject: false,
'shm-size': '',
},
'health-checks': { },
config: null,
volumes: { },
'min-os-version': '0.2.12',
@@ -198,17 +188,7 @@ export module Mock {
inject: false,
'shm-size': '',
},
'health-check': {
type: 'docker',
image: '',
system: true,
entrypoint: '',
args: [''],
mounts: { },
'io-format': DockerIoFormat.Yaml,
inject: false,
'shm-size': '',
},
'health-checks': { },
config: null,
volumes: { },
'min-os-version': '0.2.12',
@@ -353,17 +333,7 @@ export module Mock {
inject: false,
'shm-size': '',
},
'health-check': {
type: 'docker',
image: '',
system: true,
entrypoint: '',
args: [''],
mounts: { },
'io-format': DockerIoFormat.Yaml,
inject: false,
'shm-size': '',
},
'health-checks': { },
config: null,
volumes: { },
'min-os-version': '0.2.12',
@@ -991,7 +961,7 @@ export module Mock {
},
},
},
'Another Property': {
'Another Value': {
type: 'string',
description: 'Some more information about the service.',
copyable: false,