the-moby-effect
Version:
Moby/Docker API client built using effect-ts
47 lines • 2.15 kB
JavaScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
import * as ContainerConfig from "./ContainerConfig.generated.js";
import * as ContainerHostConfig from "./ContainerHostConfig.generated.js";
import * as ContainerNode from "./ContainerNode.generated.js";
import * as ContainerState from "./ContainerState.generated.js";
import * as GraphDriverData from "./GraphDriverData.generated.js";
import * as MountPoint from "./MountPoint.generated.js";
import * as NetworkSettings from "./NetworkSettings.generated.js";
export class ContainerInspectResponse extends /*#__PURE__*/Schema.Class("ContainerInspectResponse")({
Id: Schema.String,
Created: Schema.String,
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,
Node: /*#__PURE__*/Schema.optionalWith(ContainerNode.ContainerNode, {
nullable: true
}),
Name: Schema.String,
RestartCount: MobySchemas.Int64,
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.NullOr(GraphDriverData.GraphDriverData),
SizeRw: /*#__PURE__*/Schema.optionalWith(MobySchemas.Int64, {
nullable: true
}),
SizeRootFs: /*#__PURE__*/Schema.optionalWith(MobySchemas.Int64, {
nullable: true
}),
Mounts: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(MountPoint.MountPoint))),
Config: /*#__PURE__*/Schema.NullOr(ContainerConfig.ContainerConfig),
NetworkSettings: /*#__PURE__*/Schema.NullOr(NetworkSettings.NetworkSettings)
}, {
identifier: "ContainerInspectResponse",
title: "types.ContainerJSON"
}) {}
//# sourceMappingURL=ContainerInspectResponse.generated.js.map