UNPKG

the-moby-effect

Version:
21 lines 1.57 kB
import * as Schema from "effect/Schema"; import * as SwarmAnnotations from "./SwarmAnnotations.generated.js"; import * as SwarmEndpointSpec from "./SwarmEndpointSpec.generated.js"; import * as SwarmNetworkAttachmentConfig from "./SwarmNetworkAttachmentConfig.generated.js"; import * as SwarmServiceMode from "./SwarmServiceMode.generated.js"; import * as SwarmTaskSpec from "./SwarmTaskSpec.generated.js"; import * as SwarmUpdateConfig from "./SwarmUpdateConfig.generated.js"; export class SwarmServiceSpec extends /*#__PURE__*/Schema.Class("SwarmServiceSpec")({ ...SwarmAnnotations.SwarmAnnotations.fields, TaskTemplate: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(SwarmTaskSpec.SwarmTaskSpec)), Mode: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(SwarmServiceMode.SwarmServiceMode)), UpdateConfig: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(SwarmUpdateConfig.SwarmUpdateConfig)), RollbackConfig: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(SwarmUpdateConfig.SwarmUpdateConfig)), Networks: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(SwarmNetworkAttachmentConfig.SwarmNetworkAttachmentConfig)))), EndpointSpec: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(SwarmEndpointSpec.SwarmEndpointSpec)) }, { identifier: "SwarmServiceSpec", title: "swarm.ServiceSpec", documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/swarm#ServiceSpec" }) {} //# sourceMappingURL=SwarmServiceSpec.generated.js.map