the-moby-effect
Version:
Moby/Docker API client built using effect-ts
132 lines • 5.07 kB
TypeScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
import * as ContainerConfig from "./ContainerConfig.generated.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";
import * as MountPoint from "./MountPoint.generated.js";
import * as NetworkSettings from "./NetworkSettings.generated.js";
declare const ContainerInspectResponse_base: Schema.Class<ContainerInspectResponse, {
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;
}>;
Mounts: Schema.NullOr<Schema.Array$<Schema.NullOr<typeof MountPoint.MountPoint>>>;
Config: Schema.NullOr<typeof ContainerConfig.ContainerConfig>;
NetworkSettings: Schema.NullOr<typeof NetworkSettings.NetworkSettings>;
}, 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;
}>;
Mounts: Schema.NullOr<Schema.Array$<Schema.NullOr<typeof MountPoint.MountPoint>>>;
Config: Schema.NullOr<typeof ContainerConfig.ContainerConfig>;
NetworkSettings: Schema.NullOr<typeof NetworkSettings.NetworkSettings>;
}>, never, {
readonly State: ContainerState.ContainerState | null;
} & {
readonly Name: string;
} & {
readonly Path: string;
} & {
readonly Image: string;
} & {
readonly Driver: string;
} & {
readonly Config: ContainerConfig.ContainerConfig | null;
} & {
readonly HostConfig: ContainerHostConfig.ContainerHostConfig | null;
} & {
readonly Mounts: readonly (MountPoint.MountPoint | null)[] | null;
} & {
readonly Id: string;
} & {
readonly NetworkSettings: NetworkSettings.NetworkSettings | null;
} & {
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 ContainerInspectResponse extends ContainerInspectResponse_base {
}
export {};
//# sourceMappingURL=ContainerInspectResponse.generated.d.ts.map