the-moby-effect
Version:
Moby/Docker API client built using effect-ts
39 lines • 1.86 kB
TypeScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
import * as ContainerCPUUsage from "./ContainerCPUUsage.generated.js";
import * as ContainerThrottlingData from "./ContainerThrottlingData.generated.js";
declare const ContainerCPUStats_base: Schema.Class<ContainerCPUStats, {
/** CPU Usage. Linux and Windows. */
cpu_usage: Schema.NullOr<typeof ContainerCPUUsage.ContainerCPUUsage>;
/** System Usage. Linux only. */
system_cpu_usage: Schema.optional<MobySchemas.UInt64Schemas.$UInt64>;
/** Online CPUs. Linux only. */
online_cpus: Schema.optional<MobySchemas.UInt32Schemas.$UInt32>;
/** Throttling Data. Linux only. */
throttling_data: Schema.optionalWith<typeof ContainerThrottlingData.ContainerThrottlingData, {
nullable: true;
}>;
}, Schema.Struct.Encoded<{
/** CPU Usage. Linux and Windows. */
cpu_usage: Schema.NullOr<typeof ContainerCPUUsage.ContainerCPUUsage>;
/** System Usage. Linux only. */
system_cpu_usage: Schema.optional<MobySchemas.UInt64Schemas.$UInt64>;
/** Online CPUs. Linux only. */
online_cpus: Schema.optional<MobySchemas.UInt32Schemas.$UInt32>;
/** Throttling Data. Linux only. */
throttling_data: Schema.optionalWith<typeof ContainerThrottlingData.ContainerThrottlingData, {
nullable: true;
}>;
}>, never, {
readonly cpu_usage: ContainerCPUUsage.ContainerCPUUsage | null;
} & {
readonly system_cpu_usage?: MobySchemas.UInt64Schemas.UInt64Brand | undefined;
} & {
readonly online_cpus?: MobySchemas.UInt32Schemas.UInt32Brand | undefined;
} & {
readonly throttling_data?: ContainerThrottlingData.ContainerThrottlingData | undefined;
}, {}, {}>;
export declare class ContainerCPUStats extends ContainerCPUStats_base {
}
export {};
//# sourceMappingURL=ContainerCPUStats.generated.d.ts.map