UNPKG

the-moby-effect

Version:
18 lines 977 B
import * as Schema from "effect/Schema"; import * as MobyIdentifiers from "../schemas/id.js"; import * as MobyNumber from "../schemas/number.js"; import * as SwarmTopology from "./SwarmTopology.generated.js"; export class SwarmNodeCSIInfo extends /*#__PURE__*/Schema.Class("SwarmNodeCSIInfo")({ PluginName: /*#__PURE__*/Schema.optional(Schema.String), NodeID: /*#__PURE__*/Schema.optional(MobyIdentifiers.NodeIdentifier), MaxVolumesPerNode: /*#__PURE__*/Schema.optional(/*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({ minimum: -(2n ** 63n), maximum: 2n ** 63n - 1n }))), AccessibleTopology: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(SwarmTopology.SwarmTopology)) }, { identifier: "SwarmNodeCSIInfo", title: "swarm.NodeCSIInfo", documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/swarm#NodeCSIInfo" }) {} //# sourceMappingURL=SwarmNodeCSIInfo.generated.js.map