the-moby-effect
Version:
Moby/Docker API client built using effect-ts
14 lines • 1 kB
JavaScript
import * as Schema from "effect/Schema";
import * as SwarmEndpointSpec from "./SwarmEndpointSpec.generated.js";
import * as SwarmEndpointVirtualIP from "./SwarmEndpointVirtualIP.generated.js";
import * as SwarmPortConfig from "./SwarmPortConfig.generated.js";
export class SwarmEndpoint extends /*#__PURE__*/Schema.Class("SwarmEndpoint")({
Spec: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(SwarmEndpointSpec.SwarmEndpointSpec)),
Ports: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(SwarmPortConfig.SwarmPortConfig)))),
VirtualIPs: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(SwarmEndpointVirtualIP.SwarmEndpointVirtualIP))))
}, {
identifier: "SwarmEndpoint",
title: "swarm.Endpoint",
documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/swarm#Endpoint"
}) {}
//# sourceMappingURL=SwarmEndpoint.generated.js.map