the-moby-effect
Version:
Moby/Docker API client built using effect-ts
41 lines • 1.67 kB
JavaScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.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";
export class ContainerJSONBase extends /*#__PURE__*/Schema.Class("ContainerJSONBase")({
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
})
}, {
identifier: "ContainerJSONBase",
title: "types.ContainerJSONBase"
}) {}
//# sourceMappingURL=ContainerJSONBase.generated.js.map