the-moby-effect
Version:
Moby/Docker API client built using effect-ts
18 lines • 875 B
JavaScript
import * as Schema from "effect/Schema";
import * as PluginPrivilege from "./PluginPrivilege.generated.js";
export class PluginSpec extends /*#__PURE__*/Schema.Class("PluginSpec")({
name: /*#__PURE__*/Schema.optional(Schema.String),
remote: /*#__PURE__*/Schema.optional(Schema.String),
privileges: /*#__PURE__*/Schema.optionalWith(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(PluginPrivilege.PluginPrivilege)), {
nullable: true
}),
disabled: /*#__PURE__*/Schema.optional(Schema.Boolean),
env: /*#__PURE__*/Schema.optionalWith(/*#__PURE__*/Schema.Array(Schema.String), {
nullable: true
})
}, {
identifier: "PluginSpec",
title: "runtime.PluginSpec",
documentation: "https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/api/types/swarm/runtime/plugin.pb.go#L25-L33"
}) {}
//# sourceMappingURL=PluginSpec.generated.js.map