UNPKG

the-moby-effect

Version:
26 lines 1.01 kB
import * as Schema from "effect/Schema"; import * as ClusterVolumeSpec from "./ClusterVolumeSpec.generated.js"; export class VolumeCreateOptions extends /*#__PURE__*/Schema.Class("VolumeCreateOptions")({ ClusterVolumeSpec: /*#__PURE__*/Schema.optionalWith(ClusterVolumeSpec.ClusterVolumeSpec, { nullable: true }), Driver: /*#__PURE__*/Schema.optional(Schema.String), DriverOpts: /*#__PURE__*/Schema.optionalWith(/*#__PURE__*/Schema.Record({ key: Schema.String, value: Schema.String }), { nullable: true }), Labels: /*#__PURE__*/Schema.optionalWith(/*#__PURE__*/Schema.Record({ key: Schema.String, value: Schema.String }), { nullable: true }), Name: /*#__PURE__*/Schema.optional(Schema.String) }, { identifier: "VolumeCreateOptions", title: "volume.CreateOptions", documentation: "https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/api/types/volume/create_options.go#L6-L29" }) {} //# sourceMappingURL=VolumeCreateOptions.generated.js.map