UNPKG

the-moby-effect

Version:
44 lines 2.18 kB
import * as Schema from "effect/Schema"; import * as MobyIdentifiers from "../schemas/id.js"; import * as MobyNumber from "../schemas/number.js"; import * as ContainerHostConfig from "./ContainerHostConfig.generated.js"; import * as ContainerState from "./ContainerState.generated.js"; import * as StorageDriverData from "./StorageDriverData.generated.js"; export class ContainerContainerJSONBase extends /*#__PURE__*/Schema.Class("ContainerContainerJSONBase")({ Id: MobyIdentifiers.ContainerIdentifier, Created: Schema.DateFromString, Path: Schema.String, Args: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(Schema.String)), State: /*#__PURE__*/Schema.NullOr(ContainerState.ContainerState), Image: Schema.String, ResolvConfPath: Schema.String, HostnamePath: Schema.String, HostsPath: Schema.String, LogPath: Schema.String, Name: Schema.String, RestartCount: /*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({ minimum: -(2n ** 63n), maximum: 2n ** 63n - 1n })), Driver: Schema.String, Platform: Schema.String, MountLabel: Schema.String, ProcessLabel: Schema.String, AppArmorProfile: Schema.String, ExecIDs: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(Schema.String)), HostConfig: /*#__PURE__*/Schema.NullOr(ContainerHostConfig.ContainerHostConfig), GraphDriver: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(StorageDriverData.StorageDriverData)), SizeRw: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(/*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({ minimum: -(2n ** 63n), maximum: 2n ** 63n - 1n })))), SizeRootFs: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(/*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({ minimum: -(2n ** 63n), maximum: 2n ** 63n - 1n })))) }, { identifier: "ContainerContainerJSONBase", title: "container.ContainerJSONBase", documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/container#ContainerJSONBase" }) {} //# sourceMappingURL=ContainerContainerJSONBase.generated.js.map