the-moby-effect
Version:
Moby/Docker API client built using effect-ts
15 lines (13 loc) • 554 B
text/typescript
import * as Schema from "effect/Schema";
export class SwarmTLSInfo extends Schema.Class<SwarmTLSInfo>("SwarmTLSInfo")(
{
TrustRoot: Schema.optional(Schema.String),
CertIssuerSubject: Schema.optional(Schema.NullOr(Schema.StringFromBase64)),
CertIssuerPublicKey: Schema.optional(Schema.NullOr(Schema.StringFromBase64)),
},
{
identifier: "SwarmTLSInfo",
title: "swarm.TLSInfo",
documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/swarm#TLSInfo",
}
) {}