the-moby-effect
Version:
Moby/Docker API client built using effect-ts
14 lines (12 loc) • 467 B
text/typescript
import * as Schema from "effect/Schema";
export class SwarmDriver extends Schema.Class<SwarmDriver>("SwarmDriver")(
{
Name: Schema.optional(Schema.String),
Options: Schema.optional(Schema.NullOr(Schema.Record(Schema.String, Schema.String))),
},
{
identifier: "SwarmDriver",
title: "swarm.Driver",
documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/swarm#Driver",
}
) {}