the-moby-effect
Version:
Moby/Docker API client built using effect-ts
42 lines • 3.17 kB
TypeScript
import * as Schema from "effect/Schema";
import * as MountMount from "./MountMount.generated.ts";
import * as SwarmConfigReference from "./SwarmConfigReference.generated.ts";
import * as SwarmDNSConfig from "./SwarmDNSConfig.generated.ts";
import * as SwarmPrivileges from "./SwarmPrivileges.generated.ts";
import * as SwarmSecretReference from "./SwarmSecretReference.generated.ts";
import * as UnitsUlimit from "./UnitsUlimit.generated.ts";
import * as V1HealthcheckConfig from "./V1HealthcheckConfig.generated.ts";
declare const SwarmContainerSpec_base: Schema.Class<SwarmContainerSpec, Schema.Struct<{
readonly Image: Schema.optional<Schema.String>;
readonly Labels: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>>;
readonly Command: Schema.optional<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly Args: Schema.optional<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly Hostname: Schema.optional<Schema.String>;
readonly Env: Schema.optional<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly Dir: Schema.optional<Schema.String>;
readonly User: Schema.optional<Schema.String>;
readonly Groups: Schema.optional<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly Privileges: Schema.optional<Schema.NullOr<typeof SwarmPrivileges.SwarmPrivileges>>;
readonly Init: Schema.optional<Schema.NullOr<Schema.Boolean>>;
readonly StopSignal: Schema.optional<Schema.String>;
readonly TTY: Schema.optional<Schema.Boolean>;
readonly OpenStdin: Schema.optional<Schema.Boolean>;
readonly ReadOnly: Schema.optional<Schema.Boolean>;
readonly Mounts: Schema.optional<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof MountMount.MountMount>>>>;
readonly StopGracePeriod: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>>;
readonly Healthcheck: Schema.optional<Schema.NullOr<typeof V1HealthcheckConfig.V1HealthcheckConfig>>;
readonly Hosts: Schema.optional<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly DNSConfig: Schema.optional<Schema.NullOr<typeof SwarmDNSConfig.SwarmDNSConfig>>;
readonly Secrets: Schema.optional<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof SwarmSecretReference.SwarmSecretReference>>>>;
readonly Configs: Schema.optional<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof SwarmConfigReference.SwarmConfigReference>>>>;
readonly Isolation: Schema.optional<Schema.Literals<readonly ["", "default", "process", "hyperv"]>>;
readonly Sysctls: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>>;
readonly CapabilityAdd: Schema.optional<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly CapabilityDrop: Schema.optional<Schema.NullOr<Schema.$Array<Schema.String>>>;
readonly Ulimits: Schema.optional<Schema.NullOr<Schema.$Array<Schema.NullOr<typeof UnitsUlimit.UnitsUlimit>>>>;
readonly OomScoreAdj: Schema.optional<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>;
}>, {}>;
export declare class SwarmContainerSpec extends SwarmContainerSpec_base {
}
export {};
//# sourceMappingURL=SwarmContainerSpec.generated.d.ts.map