the-moby-effect
Version:
Moby/Docker API client built using effect-ts
17 lines • 906 B
JavaScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
import * as SwarmExternalCA from "./SwarmExternalCA.generated.js";
export class SwarmCAConfig extends /*#__PURE__*/Schema.Class("SwarmCAConfig")({
NodeCertExpiry: /*#__PURE__*/Schema.optional(MobySchemas.Int64),
ExternalCAs: /*#__PURE__*/Schema.optionalWith(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(SwarmExternalCA.SwarmExternalCA)), {
nullable: true
}),
SigningCACert: /*#__PURE__*/Schema.optional(Schema.String),
SigningCAKey: /*#__PURE__*/Schema.optional(Schema.String),
ForceRotate: /*#__PURE__*/Schema.optional(MobySchemas.UInt64)
}, {
identifier: "SwarmCAConfig",
title: "swarm.CAConfig",
documentation: "https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/api/types/swarm/swarm.go#L109-L127"
}) {}
//# sourceMappingURL=SwarmCAConfig.generated.js.map