UNPKG

the-moby-effect

Version:
24 lines 1.1 kB
import * as Schema from "effect/Schema"; import * as MobyNumber from "../schemas/number.js"; export class SwarmUpdateConfig extends /*#__PURE__*/Schema.Class("SwarmUpdateConfig")({ Parallelism: /*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({ minimum: 0n, maximum: 2n ** 64n - 1n })), Delay: /*#__PURE__*/Schema.optional(/*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({ minimum: -(2n ** 63n), maximum: 2n ** 63n - 1n }))), FailureAction: /*#__PURE__*/Schema.optional(Schema.String), Monitor: /*#__PURE__*/Schema.optional(/*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({ minimum: -(2n ** 63n), maximum: 2n ** 63n - 1n }))), MaxFailureRatio: MobyNumber.NumberFromWireString, Order: Schema.String }, { identifier: "SwarmUpdateConfig", title: "swarm.UpdateConfig", documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/swarm#UpdateConfig" }) {} //# sourceMappingURL=SwarmUpdateConfig.generated.js.map