the-moby-effect
Version:
Moby/Docker API client built using effect-ts
18 lines • 771 B
JavaScript
import * as Schema from "effect/Schema";
export class SwarmNetworkAttachmentConfig extends /*#__PURE__*/Schema.Class("SwarmNetworkAttachmentConfig")({
Target: /*#__PURE__*/Schema.optional(Schema.String),
Aliases: /*#__PURE__*/Schema.optionalWith(/*#__PURE__*/Schema.Array(Schema.String), {
nullable: true
}),
DriverOpts: /*#__PURE__*/Schema.optionalWith(/*#__PURE__*/Schema.Record({
key: Schema.String,
value: Schema.String
}), {
nullable: true
})
}, {
identifier: "SwarmNetworkAttachmentConfig",
title: "swarm.NetworkAttachmentConfig",
documentation: "https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/api/types/swarm/network.go#L97-L102"
}) {}
//# sourceMappingURL=SwarmNetworkAttachmentConfig.generated.js.map