UNPKG

the-moby-effect

Version:
77 lines 2.75 kB
import * as Schema from "effect/Schema"; import * as MobySchemas from "../schemas/index.js"; declare const ContainerCPUUsage_base: Schema.Class<ContainerCPUUsage, { /** * Total CPU time consumed. * * Linux units: nanoseconds. Windows units: 100's of nanoseconds */ total_usage: MobySchemas.UInt64Schemas.$UInt64; /** * Linux: total CPU time consumed per core. Windows: not used. * * Units: nanoseconds. */ percpu_usage: Schema.optionalWith<Schema.Array$<MobySchemas.UInt64Schemas.$UInt64>, { nullable: true; }>; /** * Linux: time spent by tasks of the cgroup in kernel mode, units * nanoseconds * * Windows: time spent by all container processes in kernel mode, units * 100's of nanoseconds. Not populated for Hyper-V Containers. */ usage_in_kernelmode: MobySchemas.UInt64Schemas.$UInt64; /** * Linux: time spent by tasks of the cgroup in user mode, units * nanoseconds * * Windows: time spent by all container processes in user mode, units * 100's of nanoseconds. Not populated for Hyper-V Containers. */ usage_in_usermode: MobySchemas.UInt64Schemas.$UInt64; }, Schema.Struct.Encoded<{ /** * Total CPU time consumed. * * Linux units: nanoseconds. Windows units: 100's of nanoseconds */ total_usage: MobySchemas.UInt64Schemas.$UInt64; /** * Linux: total CPU time consumed per core. Windows: not used. * * Units: nanoseconds. */ percpu_usage: Schema.optionalWith<Schema.Array$<MobySchemas.UInt64Schemas.$UInt64>, { nullable: true; }>; /** * Linux: time spent by tasks of the cgroup in kernel mode, units * nanoseconds * * Windows: time spent by all container processes in kernel mode, units * 100's of nanoseconds. Not populated for Hyper-V Containers. */ usage_in_kernelmode: MobySchemas.UInt64Schemas.$UInt64; /** * Linux: time spent by tasks of the cgroup in user mode, units * nanoseconds * * Windows: time spent by all container processes in user mode, units * 100's of nanoseconds. Not populated for Hyper-V Containers. */ usage_in_usermode: MobySchemas.UInt64Schemas.$UInt64; }>, never, { readonly total_usage: MobySchemas.UInt64Schemas.UInt64Brand; } & { readonly usage_in_kernelmode: MobySchemas.UInt64Schemas.UInt64Brand; } & { readonly usage_in_usermode: MobySchemas.UInt64Schemas.UInt64Brand; } & { readonly percpu_usage?: readonly MobySchemas.UInt64Schemas.UInt64Brand[] | undefined; }, {}, {}>; export declare class ContainerCPUUsage extends ContainerCPUUsage_base { } export {}; //# sourceMappingURL=ContainerCPUUsage.generated.d.ts.map