UNPKG

the-moby-effect

Version:
25 lines 1.85 kB
import * as Schema from "effect/Schema"; import * as MobyNumber from "../schemas/number.js"; import * as EventsActor from "./EventsActor.generated.js"; export class EventsMessage extends /*#__PURE__*/Schema.Class("EventsMessage")({ status: /*#__PURE__*/Schema.optional(Schema.String), id: /*#__PURE__*/Schema.optional(Schema.String), from: /*#__PURE__*/Schema.optional(Schema.String), Type: /*#__PURE__*/Schema.Literals(["builder", "config", "container", "daemon", "image", "network", "node", "plugin", "secret", "service", "volume"]), Action: /*#__PURE__*/Schema.Literals(["create", "start", "restart", "stop", "checkpoint", "pause", "unpause", "attach", "detach", "resize", "update", "rename", "kill", "die", "oom", "destroy", "remove", "commit", "top", "copy", "archive-path", "extract-to-dir", "export", "import", "save", "load", "tag", "untag", "push", "pull", "prune", "delete", "enable", "disable", "connect", "disconnect", "reload", "mount", "unmount", "exec_create", "exec_start", "exec_die", "exec_detach", "health_status", "health_status: running", "health_status: healthy", "health_status: unhealthy"]), Actor: /*#__PURE__*/Schema.NullOr(EventsActor.EventsActor), scope: /*#__PURE__*/Schema.optional(Schema.String), time: /*#__PURE__*/Schema.optional(/*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({ minimum: -(2n ** 63n), maximum: 2n ** 63n - 1n }))), timeNano: /*#__PURE__*/Schema.optional(/*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({ minimum: -(2n ** 63n), maximum: 2n ** 63n - 1n }))) }, { identifier: "EventsMessage", title: "events.Message", documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/events#Message" }) {} //# sourceMappingURL=EventsMessage.generated.js.map