the-moby-effect
Version:
Moby/Docker API client built using effect-ts
23 lines • 734 B
JavaScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
import * as Health from "./Health.generated.js";
export class ContainerState extends /*#__PURE__*/Schema.Class("ContainerState")({
Status: Schema.String,
Running: Schema.Boolean,
Paused: Schema.Boolean,
Restarting: Schema.Boolean,
OOMKilled: Schema.Boolean,
Dead: Schema.Boolean,
Pid: MobySchemas.Int64,
ExitCode: MobySchemas.Int64,
Error: Schema.String,
StartedAt: Schema.String,
FinishedAt: Schema.String,
Health: /*#__PURE__*/Schema.optionalWith(Health.Health, {
nullable: true
})
}, {
identifier: "ContainerState",
title: "types.ContainerState"
}) {}
//# sourceMappingURL=ContainerState.generated.js.map