UNPKG

the-moby-effect

Version:
22 lines 1.06 kB
import * as Schema from "effect/Schema"; import * as MobySchemas from "../schemas/index.js"; export class ContainerMemoryStats extends /*#__PURE__*/Schema.Class("ContainerMemoryStats")({ usage: /*#__PURE__*/Schema.optional(MobySchemas.UInt64), max_usage: /*#__PURE__*/Schema.optional(MobySchemas.UInt64), stats: /*#__PURE__*/Schema.optionalWith(/*#__PURE__*/Schema.Record({ key: Schema.String, value: MobySchemas.UInt64 }), { nullable: true }), failcnt: /*#__PURE__*/Schema.optional(MobySchemas.UInt64), limit: /*#__PURE__*/Schema.optional(MobySchemas.UInt64), commitbytes: /*#__PURE__*/Schema.optional(MobySchemas.UInt64), commitpeakbytes: /*#__PURE__*/Schema.optional(MobySchemas.UInt64), privateworkingset: /*#__PURE__*/Schema.optional(MobySchemas.UInt64) }, { identifier: "ContainerMemoryStats", title: "container.MemoryStats", documentation: "https://github.com/moby/moby/blob/a21b1a2d12e2c01542cb191eb526d7bfad0641e3/api/types/container/stats.go#L55-L80" }) {} //# sourceMappingURL=ContainerMemoryStats.generated.js.map