the-moby-effect
Version:
Moby/Docker API client built using effect-ts
35 lines • 1.75 kB
JavaScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
import * as ContainerConfig from "./ContainerConfig.generated.js";
import * as GraphDriverData from "./GraphDriverData.generated.js";
import * as ImageMetadata from "./ImageMetadata.generated.js";
import * as RootFS from "./RootFS.generated.js";
export class ImageInspectResponse extends /*#__PURE__*/Schema.Class("ImageInspectResponse")({
Id: Schema.String,
RepoTags: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(Schema.String)),
RepoDigests: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(Schema.String)),
Parent: Schema.String,
Comment: Schema.String,
Created: /*#__PURE__*/Schema.optional(Schema.String),
Container: /*#__PURE__*/Schema.optional(Schema.String),
ContainerConfig: /*#__PURE__*/Schema.optionalWith(ContainerConfig.ContainerConfig, {
nullable: true
}),
DockerVersion: Schema.String,
Author: Schema.String,
Config: /*#__PURE__*/Schema.NullOr(ContainerConfig.ContainerConfig),
Architecture: Schema.String,
Variant: /*#__PURE__*/Schema.optional(Schema.String),
Os: Schema.String,
OsVersion: /*#__PURE__*/Schema.optional(Schema.String),
Size: MobySchemas.Int64,
VirtualSize: /*#__PURE__*/Schema.optional(MobySchemas.Int64),
GraphDriver: /*#__PURE__*/Schema.NullOr(GraphDriverData.GraphDriverData),
RootFS: /*#__PURE__*/Schema.NullOr(RootFS.RootFS),
Metadata: /*#__PURE__*/Schema.NullOr(ImageMetadata.ImageMetadata)
}, {
identifier: "ImageInspectResponse",
title: "types.ImageInspect",
documentation: "https://github.com/moby/moby/blob/733755d7cb18a4dbea7c290cc56e61d05502aca0/api/types/image/image_inspect.go#L14-L122"
}) {}
//# sourceMappingURL=ImageInspectResponse.generated.js.map