UNPKG

the-moby-effect

Version:
295 lines 11.8 kB
import * as Schema from "effect/Schema"; import * as MobySchemas from "../schemas/index.js"; import * as RegistryServiceConfig from "./RegistryServiceConfig.generated.js"; import * as SwarmGenericResource from "./SwarmGenericResource.generated.js"; import * as SwarmInfo from "./SwarmInfo.generated.js"; import * as SystemCommit from "./SystemCommit.generated.js"; import * as SystemContainerdInfo from "./SystemContainerdInfo.generated.js"; import * as SystemNetworkAddressPool from "./SystemNetworkAddressPool.generated.js"; import * as SystemPluginsInfo from "./SystemPluginsInfo.generated.js"; import * as SystemRuntimeWithStatus from "./SystemRuntimeWithStatus.generated.js"; declare const SystemInfoResponse_base: Schema.Class<SystemInfoResponse, { ID: typeof Schema.String; Containers: MobySchemas.Int64Schemas.$Int64; ContainersRunning: MobySchemas.Int64Schemas.$Int64; ContainersPaused: MobySchemas.Int64Schemas.$Int64; ContainersStopped: MobySchemas.Int64Schemas.$Int64; Images: MobySchemas.Int64Schemas.$Int64; Driver: typeof Schema.String; DriverStatus: Schema.NullOr<Schema.Array$<Schema.filter<Schema.Array$<typeof Schema.String>>>>; SystemStatus: Schema.optionalWith<Schema.Array$<Schema.filter<Schema.Array$<typeof Schema.String>>>, { nullable: true; }>; Plugins: Schema.NullOr<typeof SystemPluginsInfo.SystemPluginsInfo>; MemoryLimit: typeof Schema.Boolean; SwapLimit: typeof Schema.Boolean; KernelMemory: Schema.optional<typeof Schema.Boolean>; KernelMemoryTCP: Schema.optional<typeof Schema.Boolean>; CpuCfsPeriod: typeof Schema.Boolean; CpuCfsQuota: typeof Schema.Boolean; CPUShares: typeof Schema.Boolean; CPUSet: typeof Schema.Boolean; PidsLimit: typeof Schema.Boolean; IPv4Forwarding: typeof Schema.Boolean; BridgeNfIptables: typeof Schema.Boolean; BridgeNfIp6tables: typeof Schema.Boolean; Debug: typeof Schema.Boolean; NFd: MobySchemas.Int64Schemas.$Int64; OomKillDisable: typeof Schema.Boolean; NGoroutines: MobySchemas.Int64Schemas.$Int64; SystemTime: typeof Schema.String; LoggingDriver: typeof Schema.String; CgroupDriver: typeof Schema.String; CgroupVersion: Schema.optional<typeof Schema.String>; NEventsListener: MobySchemas.Int64Schemas.$Int64; KernelVersion: typeof Schema.String; OperatingSystem: typeof Schema.String; OSVersion: typeof Schema.String; OSType: typeof Schema.String; Architecture: typeof Schema.String; IndexServerAddress: typeof Schema.String; RegistryConfig: Schema.NullOr<typeof RegistryServiceConfig.RegistryServiceConfig>; NCPU: MobySchemas.Int64Schemas.$Int64; MemTotal: MobySchemas.Int64Schemas.$Int64; GenericResources: Schema.NullOr<Schema.Array$<Schema.NullOr<typeof SwarmGenericResource.SwarmGenericResource>>>; DockerRootDir: typeof Schema.String; HttpProxy: typeof Schema.String; HttpsProxy: typeof Schema.String; NoProxy: typeof Schema.String; Name: typeof Schema.String; Labels: Schema.NullOr<Schema.Array$<typeof Schema.String>>; ExperimentalBuild: typeof Schema.Boolean; ServerVersion: typeof Schema.String; Runtimes: Schema.NullOr<Schema.Record$<typeof Schema.String, Schema.NullOr<typeof SystemRuntimeWithStatus.SystemRuntimeWithStatus>>>; DefaultRuntime: typeof Schema.String; Swarm: Schema.NullOr<typeof SwarmInfo.SwarmInfo>; LiveRestoreEnabled: typeof Schema.Boolean; Isolation: typeof Schema.String; InitBinary: typeof Schema.String; ContainerdCommit: Schema.NullOr<typeof SystemCommit.SystemCommit>; RuncCommit: Schema.NullOr<typeof SystemCommit.SystemCommit>; InitCommit: Schema.NullOr<typeof SystemCommit.SystemCommit>; SecurityOptions: Schema.NullOr<Schema.Array$<typeof Schema.String>>; ProductLicense: Schema.optional<typeof Schema.String>; DefaultAddressPools: Schema.optionalWith<Schema.Array$<Schema.NullOr<typeof SystemNetworkAddressPool.SystemNetworkAddressPool>>, { nullable: true; }>; CDISpecDirs: Schema.optionalWith<Schema.Array$<typeof Schema.String>, { nullable: true; }>; Containerd: Schema.optionalWith<typeof SystemContainerdInfo.SystemContainerdInfo, { nullable: true; }>; ExecutionDriver: Schema.optional<typeof Schema.String>; Warnings: Schema.NullOr<Schema.Array$<typeof Schema.String>>; }, Schema.Struct.Encoded<{ ID: typeof Schema.String; Containers: MobySchemas.Int64Schemas.$Int64; ContainersRunning: MobySchemas.Int64Schemas.$Int64; ContainersPaused: MobySchemas.Int64Schemas.$Int64; ContainersStopped: MobySchemas.Int64Schemas.$Int64; Images: MobySchemas.Int64Schemas.$Int64; Driver: typeof Schema.String; DriverStatus: Schema.NullOr<Schema.Array$<Schema.filter<Schema.Array$<typeof Schema.String>>>>; SystemStatus: Schema.optionalWith<Schema.Array$<Schema.filter<Schema.Array$<typeof Schema.String>>>, { nullable: true; }>; Plugins: Schema.NullOr<typeof SystemPluginsInfo.SystemPluginsInfo>; MemoryLimit: typeof Schema.Boolean; SwapLimit: typeof Schema.Boolean; KernelMemory: Schema.optional<typeof Schema.Boolean>; KernelMemoryTCP: Schema.optional<typeof Schema.Boolean>; CpuCfsPeriod: typeof Schema.Boolean; CpuCfsQuota: typeof Schema.Boolean; CPUShares: typeof Schema.Boolean; CPUSet: typeof Schema.Boolean; PidsLimit: typeof Schema.Boolean; IPv4Forwarding: typeof Schema.Boolean; BridgeNfIptables: typeof Schema.Boolean; BridgeNfIp6tables: typeof Schema.Boolean; Debug: typeof Schema.Boolean; NFd: MobySchemas.Int64Schemas.$Int64; OomKillDisable: typeof Schema.Boolean; NGoroutines: MobySchemas.Int64Schemas.$Int64; SystemTime: typeof Schema.String; LoggingDriver: typeof Schema.String; CgroupDriver: typeof Schema.String; CgroupVersion: Schema.optional<typeof Schema.String>; NEventsListener: MobySchemas.Int64Schemas.$Int64; KernelVersion: typeof Schema.String; OperatingSystem: typeof Schema.String; OSVersion: typeof Schema.String; OSType: typeof Schema.String; Architecture: typeof Schema.String; IndexServerAddress: typeof Schema.String; RegistryConfig: Schema.NullOr<typeof RegistryServiceConfig.RegistryServiceConfig>; NCPU: MobySchemas.Int64Schemas.$Int64; MemTotal: MobySchemas.Int64Schemas.$Int64; GenericResources: Schema.NullOr<Schema.Array$<Schema.NullOr<typeof SwarmGenericResource.SwarmGenericResource>>>; DockerRootDir: typeof Schema.String; HttpProxy: typeof Schema.String; HttpsProxy: typeof Schema.String; NoProxy: typeof Schema.String; Name: typeof Schema.String; Labels: Schema.NullOr<Schema.Array$<typeof Schema.String>>; ExperimentalBuild: typeof Schema.Boolean; ServerVersion: typeof Schema.String; Runtimes: Schema.NullOr<Schema.Record$<typeof Schema.String, Schema.NullOr<typeof SystemRuntimeWithStatus.SystemRuntimeWithStatus>>>; DefaultRuntime: typeof Schema.String; Swarm: Schema.NullOr<typeof SwarmInfo.SwarmInfo>; LiveRestoreEnabled: typeof Schema.Boolean; Isolation: typeof Schema.String; InitBinary: typeof Schema.String; ContainerdCommit: Schema.NullOr<typeof SystemCommit.SystemCommit>; RuncCommit: Schema.NullOr<typeof SystemCommit.SystemCommit>; InitCommit: Schema.NullOr<typeof SystemCommit.SystemCommit>; SecurityOptions: Schema.NullOr<Schema.Array$<typeof Schema.String>>; ProductLicense: Schema.optional<typeof Schema.String>; DefaultAddressPools: Schema.optionalWith<Schema.Array$<Schema.NullOr<typeof SystemNetworkAddressPool.SystemNetworkAddressPool>>, { nullable: true; }>; CDISpecDirs: Schema.optionalWith<Schema.Array$<typeof Schema.String>, { nullable: true; }>; Containerd: Schema.optionalWith<typeof SystemContainerdInfo.SystemContainerdInfo, { nullable: true; }>; ExecutionDriver: Schema.optional<typeof Schema.String>; Warnings: Schema.NullOr<Schema.Array$<typeof Schema.String>>; }>, never, { readonly ID: string; } & { readonly Name: string; } & { readonly Labels: readonly string[] | null; } & { readonly Driver: string; } & { readonly Isolation: string; } & { readonly KernelMemory?: boolean | undefined; } & { readonly KernelMemoryTCP?: boolean | undefined; } & { readonly OomKillDisable: boolean; } & { readonly PidsLimit: boolean; } & { readonly Warnings: readonly string[] | null; } & { readonly Containers: MobySchemas.Int64Schemas.Int64Brand; } & { readonly Images: MobySchemas.Int64Schemas.Int64Brand; } & { readonly Architecture: string; } & { readonly Swarm: SwarmInfo.SwarmInfo | null; } & { readonly Plugins: SystemPluginsInfo.SystemPluginsInfo | null; } & { readonly GenericResources: readonly (SwarmGenericResource.SwarmGenericResource | null)[] | null; } & { readonly ContainersRunning: MobySchemas.Int64Schemas.Int64Brand; } & { readonly ContainersPaused: MobySchemas.Int64Schemas.Int64Brand; } & { readonly ContainersStopped: MobySchemas.Int64Schemas.Int64Brand; } & { readonly MemoryLimit: boolean; } & { readonly SwapLimit: boolean; } & { readonly CpuCfsPeriod: boolean; } & { readonly CpuCfsQuota: boolean; } & { readonly CPUShares: boolean; } & { readonly CPUSet: boolean; } & { readonly IPv4Forwarding: boolean; } & { readonly BridgeNfIptables: boolean; } & { readonly BridgeNfIp6tables: boolean; } & { readonly Debug: boolean; } & { readonly NFd: MobySchemas.Int64Schemas.Int64Brand; } & { readonly NGoroutines: MobySchemas.Int64Schemas.Int64Brand; } & { readonly SystemTime: string; } & { readonly LoggingDriver: string; } & { readonly CgroupDriver: string; } & { readonly NEventsListener: MobySchemas.Int64Schemas.Int64Brand; } & { readonly KernelVersion: string; } & { readonly OperatingSystem: string; } & { readonly OSVersion: string; } & { readonly OSType: string; } & { readonly IndexServerAddress: string; } & { readonly NCPU: MobySchemas.Int64Schemas.Int64Brand; } & { readonly MemTotal: MobySchemas.Int64Schemas.Int64Brand; } & { readonly DockerRootDir: string; } & { readonly HttpProxy: string; } & { readonly HttpsProxy: string; } & { readonly NoProxy: string; } & { readonly ExperimentalBuild: boolean; } & { readonly ServerVersion: string; } & { readonly DefaultRuntime: string; } & { readonly LiveRestoreEnabled: boolean; } & { readonly InitBinary: string; } & { readonly DriverStatus: readonly (readonly string[])[] | null; } & { readonly SystemStatus?: readonly (readonly string[])[] | undefined; } & { readonly CgroupVersion?: string | undefined; } & { readonly RegistryConfig: RegistryServiceConfig.RegistryServiceConfig | null; } & { readonly Runtimes: { readonly [x: string]: SystemRuntimeWithStatus.SystemRuntimeWithStatus | null; } | null; } & { readonly ContainerdCommit: SystemCommit.SystemCommit | null; } & { readonly RuncCommit: SystemCommit.SystemCommit | null; } & { readonly InitCommit: SystemCommit.SystemCommit | null; } & { readonly SecurityOptions: readonly string[] | null; } & { readonly ProductLicense?: string | undefined; } & { readonly DefaultAddressPools?: readonly (SystemNetworkAddressPool.SystemNetworkAddressPool | null)[] | undefined; } & { readonly CDISpecDirs?: readonly string[] | undefined; } & { readonly Containerd?: SystemContainerdInfo.SystemContainerdInfo | undefined; } & { readonly ExecutionDriver?: string | undefined; }, {}, {}>; export declare class SystemInfoResponse extends SystemInfoResponse_base { } export {}; //# sourceMappingURL=SystemInfoResponse.generated.d.ts.map