the-moby-effect
Version:
Moby/Docker API client built using effect-ts
27 lines • 1.44 kB
JavaScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
import * as NetworkEndpointIPAMConfig from "./NetworkEndpointIPAMConfig.generated.js";
export class NetworkEndpointSettings extends /*#__PURE__*/Schema.Class("NetworkEndpointSettings")({
IPAMConfig: /*#__PURE__*/Schema.NullOr(NetworkEndpointIPAMConfig.NetworkEndpointIPAMConfig),
Links: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(Schema.String)),
Aliases: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(Schema.String)),
MacAddress: /*#__PURE__*/Schema.Union(/*#__PURE__*/Schema.Literal(""), MobySchemas.MacAddress),
DriverOpts: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Record({
key: Schema.String,
value: Schema.String
})),
NetworkID: Schema.String,
EndpointID: Schema.String,
Gateway: Schema.String,
IPAddress: /*#__PURE__*/Schema.Union(/*#__PURE__*/Schema.Literal(""), MobySchemas.Address),
IPPrefixLen: MobySchemas.Int64,
IPv6Gateway: Schema.String,
GlobalIPv6Address: Schema.String,
GlobalIPv6PrefixLen: MobySchemas.Int64,
DNSNames: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(Schema.String))
}, {
identifier: "NetworkEndpointSettings",
title: "network.EndpointSettings",
documentation: "https://github.com/moby/moby/blob/733755d7cb18a4dbea7c290cc56e61d05502aca0/api/types/network/endpoint.go#L11-L34"
}) {}
//# sourceMappingURL=NetworkEndpointSettings.generated.js.map