the-moby-effect
Version:
Moby/Docker API client built using effect-ts
117 lines • 4.16 kB
TypeScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
import * as ContainerHostConfig from "./ContainerHostConfig.generated.js";
import * as ContainerNode from "./ContainerNode.generated.js";
import * as ContainerState from "./ContainerState.generated.js";
import * as GraphDriverData from "./GraphDriverData.generated.js";
declare const ContainerJSONBase_base: Schema.Class<ContainerJSONBase, {
Id: typeof Schema.String;
Created: typeof Schema.String;
Path: typeof Schema.String;
Args: Schema.NullOr<Schema.Array$<typeof Schema.String>>;
State: Schema.NullOr<typeof ContainerState.ContainerState>;
Image: typeof Schema.String;
ResolvConfPath: typeof Schema.String;
HostnamePath: typeof Schema.String;
HostsPath: typeof Schema.String;
LogPath: typeof Schema.String;
Node: Schema.optionalWith<typeof ContainerNode.ContainerNode, {
nullable: true;
}>;
Name: typeof Schema.String;
RestartCount: MobySchemas.Int64Schemas.$Int64;
Driver: typeof Schema.String;
Platform: typeof Schema.String;
MountLabel: typeof Schema.String;
ProcessLabel: typeof Schema.String;
AppArmorProfile: typeof Schema.String;
ExecIDs: Schema.NullOr<Schema.Array$<typeof Schema.String>>;
HostConfig: Schema.NullOr<typeof ContainerHostConfig.ContainerHostConfig>;
GraphDriver: Schema.NullOr<typeof GraphDriverData.GraphDriverData>;
SizeRw: Schema.optionalWith<MobySchemas.Int64Schemas.$Int64, {
nullable: true;
}>;
SizeRootFs: Schema.optionalWith<MobySchemas.Int64Schemas.$Int64, {
nullable: true;
}>;
}, Schema.Struct.Encoded<{
Id: typeof Schema.String;
Created: typeof Schema.String;
Path: typeof Schema.String;
Args: Schema.NullOr<Schema.Array$<typeof Schema.String>>;
State: Schema.NullOr<typeof ContainerState.ContainerState>;
Image: typeof Schema.String;
ResolvConfPath: typeof Schema.String;
HostnamePath: typeof Schema.String;
HostsPath: typeof Schema.String;
LogPath: typeof Schema.String;
Node: Schema.optionalWith<typeof ContainerNode.ContainerNode, {
nullable: true;
}>;
Name: typeof Schema.String;
RestartCount: MobySchemas.Int64Schemas.$Int64;
Driver: typeof Schema.String;
Platform: typeof Schema.String;
MountLabel: typeof Schema.String;
ProcessLabel: typeof Schema.String;
AppArmorProfile: typeof Schema.String;
ExecIDs: Schema.NullOr<Schema.Array$<typeof Schema.String>>;
HostConfig: Schema.NullOr<typeof ContainerHostConfig.ContainerHostConfig>;
GraphDriver: Schema.NullOr<typeof GraphDriverData.GraphDriverData>;
SizeRw: Schema.optionalWith<MobySchemas.Int64Schemas.$Int64, {
nullable: true;
}>;
SizeRootFs: Schema.optionalWith<MobySchemas.Int64Schemas.$Int64, {
nullable: true;
}>;
}>, never, {
readonly State: ContainerState.ContainerState | null;
} & {
readonly Name: string;
} & {
readonly Path: string;
} & {
readonly Image: string;
} & {
readonly Driver: string;
} & {
readonly HostConfig: ContainerHostConfig.ContainerHostConfig | null;
} & {
readonly Id: string;
} & {
readonly Created: string;
} & {
readonly ResolvConfPath: string;
} & {
readonly HostnamePath: string;
} & {
readonly HostsPath: string;
} & {
readonly LogPath: string;
} & {
readonly RestartCount: MobySchemas.Int64Schemas.Int64Brand;
} & {
readonly Platform: string;
} & {
readonly MountLabel: string;
} & {
readonly ProcessLabel: string;
} & {
readonly AppArmorProfile: string;
} & {
readonly Args: readonly string[] | null;
} & {
readonly Node?: ContainerNode.ContainerNode | undefined;
} & {
readonly ExecIDs: readonly string[] | null;
} & {
readonly GraphDriver: GraphDriverData.GraphDriverData | null;
} & {
readonly SizeRw?: MobySchemas.Int64Schemas.Int64Brand | undefined;
} & {
readonly SizeRootFs?: MobySchemas.Int64Schemas.Int64Brand | undefined;
}, {}, {}>;
export declare class ContainerJSONBase extends ContainerJSONBase_base {
}
export {};
//# sourceMappingURL=ContainerJSONBase.generated.d.ts.map