the-moby-effect
Version:
Moby/Docker API client built using effect-ts
65 lines • 2.63 kB
TypeScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
declare const ContainerHealthConfig_base: Schema.Class<ContainerHealthConfig, {
Test: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
nullable: true;
}>;
/** Interval is the time to wait between checks. */
Interval: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
/**
* Timeout is the time to wait before considering the check to have
* hung.
*/
Timeout: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
/**
* The start period for the container to initialize before the retries
* starts to count down.
*/
StartPeriod: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
/** The interval to attempt health checks at during the start period */
StartInterval: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
/**
* Retries is the number of consecutive failures needed to consider a
* container as unhealthy.
*/
Retries: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
}, Schema.Struct.Encoded<{
Test: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
nullable: true;
}>;
/** Interval is the time to wait between checks. */
Interval: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
/**
* Timeout is the time to wait before considering the check to have
* hung.
*/
Timeout: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
/**
* The start period for the container to initialize before the retries
* starts to count down.
*/
StartPeriod: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
/** The interval to attempt health checks at during the start period */
StartInterval: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
/**
* Retries is the number of consecutive failures needed to consider a
* container as unhealthy.
*/
Retries: Schema.optional<MobySchemas.Int64Schemas.$Int64>;
}>, never, {
readonly Test?: readonly string[] | undefined;
} & {
readonly Interval?: MobySchemas.Int64Schemas.Int64Brand | undefined;
} & {
readonly Timeout?: MobySchemas.Int64Schemas.Int64Brand | undefined;
} & {
readonly StartPeriod?: MobySchemas.Int64Schemas.Int64Brand | undefined;
} & {
readonly StartInterval?: MobySchemas.Int64Schemas.Int64Brand | undefined;
} & {
readonly Retries?: MobySchemas.Int64Schemas.Int64Brand | undefined;
}, {}, {}>;
export declare class ContainerHealthConfig extends ContainerHealthConfig_base {
}
export {};
//# sourceMappingURL=ContainerHealthConfig.generated.d.ts.map