UNPKG

the-moby-effect

Version:
29 lines 1.38 kB
import * as Schema from "effect/Schema"; import * as SwarmEngineDescription from "./SwarmEngineDescription.generated.js"; import * as SwarmNodeCSIInfo from "./SwarmNodeCSIInfo.generated.js"; import * as SwarmPlatform from "./SwarmPlatform.generated.js"; import * as SwarmResources from "./SwarmResources.generated.js"; import * as SwarmTLSInfo from "./SwarmTLSInfo.generated.js"; export class SwarmNodeDescription extends /*#__PURE__*/Schema.Class("SwarmNodeDescription")({ Hostname: /*#__PURE__*/Schema.optional(Schema.String), Platform: /*#__PURE__*/Schema.optionalWith(SwarmPlatform.SwarmPlatform, { nullable: true }), Resources: /*#__PURE__*/Schema.optionalWith(SwarmResources.SwarmResources, { nullable: true }), Engine: /*#__PURE__*/Schema.optionalWith(SwarmEngineDescription.SwarmEngineDescription, { nullable: true }), TLSInfo: /*#__PURE__*/Schema.optionalWith(SwarmTLSInfo.SwarmTLSInfo, { nullable: true }), CSIInfo: /*#__PURE__*/Schema.optionalWith(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(SwarmNodeCSIInfo.SwarmNodeCSIInfo)), { nullable: true }) }, { identifier: "SwarmNodeDescription", title: "swarm.NodeDescription", documentation: "https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/api/types/swarm/node.go#L49-L57" }) {} //# sourceMappingURL=SwarmNodeDescription.generated.js.map