UNPKG

the-moby-effect

Version:
23 lines 1.17 kB
import * as Schema from "effect/Schema"; export class BindOptions extends /*#__PURE__*/Schema.Class("BindOptions")({ // https://github.com/moby/moby/blob/a21b1a2d12e2c01542cb191eb526d7bfad0641e3/api/types/mount/mount.go#L44-L57 Propagation: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.Literal("rprivate", "private", "rshared", "shared", "rslave", "slave")), NonRecursive: /*#__PURE__*/Schema.optional(Schema.Boolean), CreateMountpoint: /*#__PURE__*/Schema.optional(Schema.Boolean), /** * ReadOnlyNonRecursive makes the mount non-recursively read-only, but * still leaves the mount recursive unless NonRecursive is set to true * in conjunction. */ ReadOnlyNonRecursive: /*#__PURE__*/Schema.optional(Schema.Boolean), /** * ReadOnlyForceRecursive raises an error if the mount cannot be made * recursively read-only. */ ReadOnlyForceRecursive: /*#__PURE__*/Schema.optional(Schema.Boolean) }, { identifier: "BindOptions", title: "mount.BindOptions", documentation: "https://github.com/moby/moby/blob/a21b1a2d12e2c01542cb191eb526d7bfad0641e3/api/types/mount/mount.go#L84-L93" }) {} //# sourceMappingURL=BindOptions.generated.js.map