the-moby-effect
Version:
Moby/Docker API client built using effect-ts
59 lines • 2.25 kB
TypeScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
import * as SwarmClusterInfo from "./SwarmClusterInfo.generated.js";
import * as SwarmPeer from "./SwarmPeer.generated.js";
declare const SwarmInfo_base: Schema.Class<SwarmInfo, {
NodeID: typeof Schema.String;
NodeAddr: typeof Schema.String;
LocalNodeState: typeof Schema.String;
ControlAvailable: typeof Schema.Boolean;
Error: typeof Schema.String;
RemoteManagers: Schema.NullOr<Schema.Array$<Schema.NullOr<typeof SwarmPeer.SwarmPeer>>>;
Nodes: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
Managers: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
Cluster: Schema.optionalWith<typeof SwarmClusterInfo.SwarmClusterInfo, {
nullable: true;
}>;
Warnings: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
nullable: true;
}>;
}, Schema.Struct.Encoded<{
NodeID: typeof Schema.String;
NodeAddr: typeof Schema.String;
LocalNodeState: typeof Schema.String;
ControlAvailable: typeof Schema.Boolean;
Error: typeof Schema.String;
RemoteManagers: Schema.NullOr<Schema.Array$<Schema.NullOr<typeof SwarmPeer.SwarmPeer>>>;
Nodes: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
Managers: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
Cluster: Schema.optionalWith<typeof SwarmClusterInfo.SwarmClusterInfo, {
nullable: true;
}>;
Warnings: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
nullable: true;
}>;
}>, never, {
readonly NodeID: string;
} & {
readonly Warnings?: readonly string[] | undefined;
} & {
readonly Error: string;
} & {
readonly NodeAddr: string;
} & {
readonly LocalNodeState: string;
} & {
readonly ControlAvailable: boolean;
} & {
readonly RemoteManagers: readonly (SwarmPeer.SwarmPeer | null)[] | null;
} & {
readonly Nodes?: MobySchemas.Int64Schemas.Int64Brand | undefined;
} & {
readonly Managers?: MobySchemas.Int64Schemas.Int64Brand | undefined;
} & {
readonly Cluster?: SwarmClusterInfo.SwarmClusterInfo | undefined;
}, {}, {}>;
export declare class SwarmInfo extends SwarmInfo_base {
}
export {};
//# sourceMappingURL=SwarmInfo.generated.d.ts.map