the-moby-effect
Version:
Moby/Docker API client built using effect-ts
82 lines • 8.57 kB
TypeScript
import * as Schema from "effect/Schema";
import * as PortSchemas from "../schemas/port.ts";
import * as ContainerLogConfig from "./ContainerLogConfig.generated.ts";
import * as ContainerRestartPolicy from "./ContainerRestartPolicy.generated.ts";
import * as MountMount from "./MountMount.generated.ts";
declare const ContainerHostConfig_base: Schema.Class<ContainerHostConfig, 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 import("./BlkiodevWeightDevice.generated.ts").BlkiodevWeightDevice>>>>;
readonly BlkioDeviceReadBps: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof import("./BlkiodevThrottleDevice.generated.ts").BlkiodevThrottleDevice>>>>;
readonly BlkioDeviceWriteBps: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof import("./BlkiodevThrottleDevice.generated.ts").BlkiodevThrottleDevice>>>>;
readonly BlkioDeviceReadIOps: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof import("./BlkiodevThrottleDevice.generated.ts").BlkiodevThrottleDevice>>>>;
readonly BlkioDeviceWriteIOps: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof import("./BlkiodevThrottleDevice.generated.ts").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 import("./ContainerDeviceMapping.generated.ts").ContainerDeviceMapping>>>>;
readonly DeviceCgroupRules: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly DeviceRequests: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof import("./ContainerDeviceRequest.generated.ts").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 import("./UnitsUlimit.generated.ts").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>>;
readonly Binds: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly ContainerIDFile: Schema.withConstructorDefault<Schema.String>;
readonly LogConfig: Schema.withConstructorDefault<Schema.NullOr<typeof ContainerLogConfig.ContainerLogConfig>>;
readonly NetworkMode: Schema.withConstructorDefault<Schema.String>;
readonly PortBindings: Schema.withConstructorDefault<Schema.NullOr<Schema.$Record<Schema.Union<readonly [Schema.TemplateLiteral<readonly [Schema.Number]>, Schema.TemplateLiteral<readonly [Schema.Number, "/", Schema.Literal<"tcp">]>, Schema.TemplateLiteral<readonly [Schema.Number, "/", Schema.Literal<"udp">]>]>, Schema.NullOr<Schema.$Array<typeof PortSchemas.PortBinding>>>>>;
readonly RestartPolicy: Schema.withConstructorDefault<Schema.NullOr<typeof ContainerRestartPolicy.ContainerRestartPolicy>>;
readonly AutoRemove: Schema.withConstructorDefault<Schema.Boolean>;
readonly VolumeDriver: Schema.withConstructorDefault<Schema.String>;
readonly VolumesFrom: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly ConsoleSize: Schema.withConstructorDefault<Schema.$Array<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>>;
readonly Annotations: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>>;
readonly CapAdd: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly CapDrop: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly CgroupnsMode: Schema.withConstructorDefault<Schema.Literals<readonly ["", "private", "host"]>>;
readonly Dns: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly DnsOptions: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly DnsSearch: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly ExtraHosts: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly GroupAdd: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly IpcMode: Schema.withConstructorDefault<Schema.String>;
readonly Cgroup: Schema.withConstructorDefault<Schema.String>;
readonly Links: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly OomScoreAdj: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly PidMode: Schema.withConstructorDefault<Schema.String>;
readonly Privileged: Schema.withConstructorDefault<Schema.Boolean>;
readonly PublishAllPorts: Schema.withConstructorDefault<Schema.Boolean>;
readonly ReadonlyRootfs: Schema.withConstructorDefault<Schema.Boolean>;
readonly SecurityOpt: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly StorageOpt: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>>;
readonly Tmpfs: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>>;
readonly UTSMode: Schema.withConstructorDefault<Schema.String>;
readonly UsernsMode: Schema.withConstructorDefault<Schema.String>;
readonly ShmSize: Schema.withConstructorDefault<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
readonly Sysctls: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>>;
readonly Runtime: Schema.optional<Schema.String>;
readonly Isolation: Schema.withConstructorDefault<Schema.Literals<readonly ["", "default", "process", "hyperv"]>>;
readonly Mounts: Schema.optional<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof MountMount.MountMount>>>>;
readonly MaskedPaths: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly ReadonlyPaths: Schema.withConstructorDefault<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly Init: Schema.optional<Schema.NullOr<Schema.Boolean>>;
}>, {}>;
export declare class ContainerHostConfig extends ContainerHostConfig_base {
}
export {};
//# sourceMappingURL=ContainerHostConfig.generated.d.ts.map