the-moby-effect
Version:
Moby/Docker API client built using effect-ts
19 lines • 1.36 kB
JavaScript
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.optional(/*#__PURE__*/Schema.NullOr(SwarmPlatform.SwarmPlatform)),
Resources: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(SwarmResources.SwarmResources)),
Engine: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(SwarmEngineDescription.SwarmEngineDescription)),
TLSInfo: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(SwarmTLSInfo.SwarmTLSInfo)),
CSIInfo: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(SwarmNodeCSIInfo.SwarmNodeCSIInfo))))
}, {
identifier: "SwarmNodeDescription",
title: "swarm.NodeDescription",
documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/swarm#NodeDescription"
}) {}
//# sourceMappingURL=SwarmNodeDescription.generated.js.map