the-moby-effect
Version:
Moby/Docker API client built using effect-ts
43 lines • 4.47 kB
TypeScript
import * as Schema from "effect/Schema";
import * as BlkiodevThrottleDevice from "./BlkiodevThrottleDevice.generated.ts";
import * as BlkiodevWeightDevice from "./BlkiodevWeightDevice.generated.ts";
import * as ContainerDeviceMapping from "./ContainerDeviceMapping.generated.ts";
import * as ContainerDeviceRequest from "./ContainerDeviceRequest.generated.ts";
import * as UnitsUlimit from "./UnitsUlimit.generated.ts";
declare const ContainerResources_base: Schema.Class<ContainerResources, Schema.Struct<{
readonly CpuShares: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly Memory: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly NanoCpus: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly CgroupParent: Schema.withConstructorDefault<Schema.String>;
readonly BlkioWeight: Schema.withConstructorDefault<Schema.decodeTo<Schema.Number, Schema.String, never, never>>;
readonly BlkioWeightDevice: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof BlkiodevWeightDevice.BlkiodevWeightDevice>>>>;
readonly BlkioDeviceReadBps: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof BlkiodevThrottleDevice.BlkiodevThrottleDevice>>>>;
readonly BlkioDeviceWriteBps: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof BlkiodevThrottleDevice.BlkiodevThrottleDevice>>>>;
readonly BlkioDeviceReadIOps: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof BlkiodevThrottleDevice.BlkiodevThrottleDevice>>>>;
readonly BlkioDeviceWriteIOps: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof BlkiodevThrottleDevice.BlkiodevThrottleDevice>>>>;
readonly CpuPeriod: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly CpuQuota: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly CpuRealtimePeriod: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly CpuRealtimeRuntime: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly CpusetCpus: Schema.withConstructorDefault<Schema.String>;
readonly CpusetMems: Schema.withConstructorDefault<Schema.String>;
readonly Devices: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof ContainerDeviceMapping.ContainerDeviceMapping>>>>;
readonly DeviceCgroupRules: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly DeviceRequests: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof ContainerDeviceRequest.ContainerDeviceRequest>>>>;
readonly KernelMemory: Schema.optional<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly KernelMemoryTCP: Schema.optional<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly MemoryReservation: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly MemorySwap: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly MemorySwappiness: Schema.withConstructorDefault<Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>>;
readonly OomKillDisable: Schema.withConstructorDefault<Schema.NullOr<Schema.Boolean>>;
readonly PidsLimit: Schema.withConstructorDefault<Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>>;
readonly Ulimits: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof UnitsUlimit.UnitsUlimit>>>>;
readonly CpuCount: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly CpuPercent: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly IOMaximumIOps: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly IOMaximumBandwidth: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
}>, {}>;
export declare class ContainerResources extends ContainerResources_base {
}
export {};
//# sourceMappingURL=ContainerResources.generated.d.ts.map