mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
health page, manifest page, watch unauth, begin redesign
This commit is contained in:
committed by
Aiden McClelland
parent
7013364ae8
commit
5d24d9324c
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user