the-moby-effect
Version:
Moby/Docker API client built using effect-ts
15 lines • 761 B
JavaScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
export class SwarmPortConfig extends /*#__PURE__*/Schema.Class("SwarmPortConfig")({
// FIXME: use better types
Name: /*#__PURE__*/Schema.optional(Schema.String),
Protocol: /*#__PURE__*/Schema.optional(Schema.String),
TargetPort: /*#__PURE__*/Schema.optional(MobySchemas.UInt32),
PublishedPort: /*#__PURE__*/Schema.optional(MobySchemas.UInt32),
PublishMode: /*#__PURE__*/Schema.optional(Schema.String)
}, {
identifier: "SwarmPortConfig",
title: "swarm.PortConfig",
documentation: "https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/api/types/swarm/network.go#L30-L40"
}) {}
//# sourceMappingURL=SwarmPortConfig.generated.js.map