the-moby-effect
Version:
Moby/Docker API client built using effect-ts
19 lines • 775 B
JavaScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
export class SwarmRestartPolicy extends /*#__PURE__*/Schema.Class("SwarmRestartPolicy")({
Condition: /*#__PURE__*/Schema.optional(Schema.String),
Delay: /*#__PURE__*/Schema.optionalWith(MobySchemas.Int64, {
nullable: true
}),
MaxAttempts: /*#__PURE__*/Schema.optionalWith(MobySchemas.UInt64, {
nullable: true
}),
Window: /*#__PURE__*/Schema.optionalWith(MobySchemas.Int64, {
nullable: true
})
}, {
identifier: "SwarmRestartPolicy",
title: "swarm.RestartPolicy",
documentation: "https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/api/types/swarm/task.go#L170-L176"
}) {}
//# sourceMappingURL=SwarmRestartPolicy.generated.js.map