UNPKG

the-moby-effect

Version:
41 lines 1.9 kB
import * as Schema from "effect/Schema"; import * as MobySchemas from "../schemas/index.js"; declare const ContainerDeviceRequest_base: Schema.Class<ContainerDeviceRequest, { /** Name of device driver */ Driver: typeof Schema.String; /** Number of devices to request (-1 = All) */ Count: MobySchemas.Int64Schemas.$Int64; /** List of device IDs as recognizable by the device driver */ DeviceIDs: Schema.NullOr<Schema.Array$<typeof Schema.String>>; /** An OR list of AND lists of device capabilities (e.g. "gpu") */ Capabilities: Schema.NullOr<Schema.Array$<Schema.NullOr<Schema.Array$<typeof Schema.String>>>>; /** Options to pass onto the device driver */ Options: Schema.NullOr<Schema.Record$<typeof Schema.String, typeof Schema.String>>; }, Schema.Struct.Encoded<{ /** Name of device driver */ Driver: typeof Schema.String; /** Number of devices to request (-1 = All) */ Count: MobySchemas.Int64Schemas.$Int64; /** List of device IDs as recognizable by the device driver */ DeviceIDs: Schema.NullOr<Schema.Array$<typeof Schema.String>>; /** An OR list of AND lists of device capabilities (e.g. "gpu") */ Capabilities: Schema.NullOr<Schema.Array$<Schema.NullOr<Schema.Array$<typeof Schema.String>>>>; /** Options to pass onto the device driver */ Options: Schema.NullOr<Schema.Record$<typeof Schema.String, typeof Schema.String>>; }>, never, { readonly Driver: string; } & { readonly Count: MobySchemas.Int64Schemas.Int64Brand; } & { readonly DeviceIDs: readonly string[] | null; } & { readonly Capabilities: readonly (readonly string[] | null)[] | null; } & { readonly Options: { readonly [x: string]: string; } | null; }, {}, {}>; export declare class ContainerDeviceRequest extends ContainerDeviceRequest_base { } export {}; //# sourceMappingURL=ContainerDeviceRequest.generated.d.ts.map