mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
* wip: subcontainers * wip: subcontainer infra * rename NonDestroyableOverlay to SubContainerHandle * chore: Changes to the container and other things * wip: * wip: fixes * fix launch & exec Co-authored-by: Jade <Blu-J@users.noreply.github.com> * tweak apis * misc fixes * don't treat sigterm as error * handle health check set during starting --------- Co-authored-by: J H <dragondef@gmail.com> Co-authored-by: Jade <Blu-J@users.noreply.github.com>
21 lines
686 B
TypeScript
21 lines
686 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { HealthCheckId } from "./HealthCheckId"
|
|
import type { NamedHealthCheckResult } from "./NamedHealthCheckResult"
|
|
import type { StartStop } from "./StartStop"
|
|
|
|
export type MainStatus =
|
|
| { status: "stopped" }
|
|
| { status: "restarting" }
|
|
| { status: "restoring" }
|
|
| { status: "stopping" }
|
|
| {
|
|
status: "starting"
|
|
health: { [key: HealthCheckId]: NamedHealthCheckResult }
|
|
}
|
|
| {
|
|
status: "running"
|
|
started: string
|
|
health: { [key: HealthCheckId]: NamedHealthCheckResult }
|
|
}
|
|
| { status: "backingUp"; onComplete: StartStop }
|