the-moby-effect
Version:
Moby/Docker API client built using effect-ts
81 lines • 5.16 kB
TypeScript
import * as Schema from "effect/Schema";
import * as RegistryServiceConfig from "./RegistryServiceConfig.generated.ts";
import * as SwarmGenericResource from "./SwarmGenericResource.generated.ts";
import * as SwarmInfo from "./SwarmInfo.generated.ts";
import * as SystemCommit from "./SystemCommit.generated.ts";
import * as SystemContainerdInfo from "./SystemContainerdInfo.generated.ts";
import * as SystemDeviceInfo from "./SystemDeviceInfo.generated.ts";
import * as SystemFirewallInfo from "./SystemFirewallInfo.generated.ts";
import * as SystemNetworkAddressPool from "./SystemNetworkAddressPool.generated.ts";
import * as SystemPluginsInfo from "./SystemPluginsInfo.generated.ts";
import * as SystemRuntimeWithStatus from "./SystemRuntimeWithStatus.generated.ts";
declare const SystemInfo_base: Schema.Class<SystemInfo, Schema.Struct<{
readonly ID: Schema.String;
readonly Containers: Schema.decodeTo<Schema.BigInt, Schema.String, never, never>;
readonly ContainersRunning: Schema.decodeTo<Schema.BigInt, Schema.String, never, never>;
readonly ContainersPaused: Schema.decodeTo<Schema.BigInt, Schema.String, never, never>;
readonly ContainersStopped: Schema.decodeTo<Schema.BigInt, Schema.String, never, never>;
readonly Images: Schema.decodeTo<Schema.BigInt, Schema.String, never, never>;
readonly Driver: Schema.String;
readonly DriverStatus: Schema.NullOr<Schema.$Array<Schema.$Array<Schema.String>>>;
readonly SystemStatus: Schema.optional<Schema.NullOr<Schema.$Array<Schema.$Array<Schema.String>>>>;
readonly Plugins: Schema.NullOr<typeof SystemPluginsInfo.SystemPluginsInfo>;
readonly MemoryLimit: Schema.Boolean;
readonly SwapLimit: Schema.Boolean;
readonly KernelMemory: Schema.optional<Schema.Boolean>;
readonly KernelMemoryTCP: Schema.optional<Schema.Boolean>;
readonly CpuCfsPeriod: Schema.Boolean;
readonly CpuCfsQuota: Schema.Boolean;
readonly CPUShares: Schema.Boolean;
readonly CPUSet: Schema.Boolean;
readonly PidsLimit: Schema.Boolean;
readonly IPv4Forwarding: Schema.Boolean;
readonly Debug: Schema.Boolean;
readonly NFd: Schema.decodeTo<Schema.BigInt, Schema.String, never, never>;
readonly OomKillDisable: Schema.Boolean;
readonly NGoroutines: Schema.decodeTo<Schema.BigInt, Schema.String, never, never>;
readonly SystemTime: Schema.String;
readonly LoggingDriver: Schema.String;
readonly CgroupDriver: Schema.String;
readonly CgroupVersion: Schema.optional<Schema.String>;
readonly NEventsListener: Schema.decodeTo<Schema.BigInt, Schema.String, never, never>;
readonly KernelVersion: Schema.String;
readonly OperatingSystem: Schema.String;
readonly OSVersion: Schema.String;
readonly OSType: Schema.String;
readonly Architecture: Schema.String;
readonly IndexServerAddress: Schema.String;
readonly RegistryConfig: Schema.NullOr<typeof RegistryServiceConfig.RegistryServiceConfig>;
readonly NCPU: Schema.decodeTo<Schema.BigInt, Schema.String, never, never>;
readonly MemTotal: Schema.decodeTo<Schema.BigInt, Schema.String, never, never>;
readonly GenericResources: Schema.NullOr<Schema.$Array<Schema.NullOr<typeof SwarmGenericResource.SwarmGenericResource>>>;
readonly DockerRootDir: Schema.String;
readonly HttpProxy: Schema.String;
readonly HttpsProxy: Schema.String;
readonly NoProxy: Schema.String;
readonly Name: Schema.String;
readonly Labels: Schema.NullOr<Schema.$Array<Schema.String>>;
readonly ExperimentalBuild: Schema.Boolean;
readonly ServerVersion: Schema.String;
readonly Runtimes: Schema.NullOr<Schema.$Record<Schema.String, Schema.NullOr<typeof SystemRuntimeWithStatus.SystemRuntimeWithStatus>>>;
readonly DefaultRuntime: Schema.String;
readonly Swarm: Schema.NullOr<typeof SwarmInfo.SwarmInfo>;
readonly LiveRestoreEnabled: Schema.Boolean;
readonly Isolation: Schema.Literals<readonly ["", "default", "process", "hyperv"]>;
readonly InitBinary: Schema.String;
readonly ContainerdCommit: Schema.NullOr<typeof SystemCommit.SystemCommit>;
readonly RuncCommit: Schema.NullOr<typeof SystemCommit.SystemCommit>;
readonly InitCommit: Schema.NullOr<typeof SystemCommit.SystemCommit>;
readonly SecurityOptions: Schema.NullOr<Schema.$Array<Schema.String>>;
readonly ProductLicense: Schema.optional<Schema.String>;
readonly DefaultAddressPools: Schema.optional<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof SystemNetworkAddressPool.SystemNetworkAddressPool>>>>;
readonly FirewallBackend: Schema.optional<Schema.NullOr<typeof SystemFirewallInfo.SystemFirewallInfo>>;
readonly CDISpecDirs: Schema.NullOr<Schema.$Array<Schema.String>>;
readonly DiscoveredDevices: Schema.optional<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof SystemDeviceInfo.SystemDeviceInfo>>>>;
readonly Containerd: Schema.optional<Schema.NullOr<typeof SystemContainerdInfo.SystemContainerdInfo>>;
readonly Warnings: Schema.NullOr<Schema.$Array<Schema.String>>;
}>, {}>;
export declare class SystemInfo extends SystemInfo_base {
}
export {};
//# sourceMappingURL=SystemInfo.generated.d.ts.map