the-moby-effect
Version:
Moby/Docker API client built using effect-ts
25 lines • 1.84 kB
TypeScript
import * as Schema from "effect/Schema";
import * as ContainerBlkioStats from "./ContainerBlkioStats.generated.ts";
import * as ContainerCPUStats from "./ContainerCPUStats.generated.ts";
import * as ContainerMemoryStats from "./ContainerMemoryStats.generated.ts";
import * as ContainerNetworkStats from "./ContainerNetworkStats.generated.ts";
import * as ContainerPidsStats from "./ContainerPidsStats.generated.ts";
import * as ContainerStorageStats from "./ContainerStorageStats.generated.ts";
declare const ContainerStatsResponse_base: Schema.Class<ContainerStatsResponse, Schema.Struct<{
readonly name: Schema.optional<Schema.String>;
readonly id: Schema.optional<Schema.String>;
readonly read: Schema.NullOr<Schema.DateFromString>;
readonly preread: Schema.NullOr<Schema.DateFromString>;
readonly pids_stats: Schema.optional<Schema.NullOr<typeof ContainerPidsStats.ContainerPidsStats>>;
readonly blkio_stats: Schema.optional<Schema.NullOr<typeof ContainerBlkioStats.ContainerBlkioStats>>;
readonly num_procs: Schema.decodeTo<Schema.Number, Schema.String, never, never>;
readonly storage_stats: Schema.optional<Schema.NullOr<typeof ContainerStorageStats.ContainerStorageStats>>;
readonly cpu_stats: Schema.optional<Schema.NullOr<typeof ContainerCPUStats.ContainerCPUStats>>;
readonly precpu_stats: Schema.optional<Schema.NullOr<typeof ContainerCPUStats.ContainerCPUStats>>;
readonly memory_stats: Schema.optional<Schema.NullOr<typeof ContainerMemoryStats.ContainerMemoryStats>>;
readonly networks: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.NullOr<typeof ContainerNetworkStats.ContainerNetworkStats>>>>;
}>, {}>;
export declare class ContainerStatsResponse extends ContainerStatsResponse_base {
}
export {};
//# sourceMappingURL=ContainerStatsResponse.generated.d.ts.map