the-moby-effect
Version:
Moby/Docker API client built using effect-ts
29 lines • 1.4 kB
JavaScript
import * as Schema from "effect/Schema";
import * as BindOptions from "./BindOptions.generated.js";
import * as ClusterOptions from "./ClusterOptions.generated.js";
import * as TmpfsOptions from "./TmpfsOptions.generated.js";
import * as VolumeOptions from "./VolumeOptions.generated.js";
export class Mount extends /*#__PURE__*/Schema.Class("Mount")({
Type: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.Literal("bind", "volume", "tmpfs", "npipe", "cluster")),
Source: /*#__PURE__*/Schema.optional(Schema.String),
Target: /*#__PURE__*/Schema.optional(Schema.String),
ReadOnly: /*#__PURE__*/Schema.optional(Schema.Boolean),
Consistency: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.Literal("consistent", "cached", "delegated", "default")),
BindOptions: /*#__PURE__*/Schema.optionalWith(BindOptions.BindOptions, {
nullable: true
}),
VolumeOptions: /*#__PURE__*/Schema.optionalWith(VolumeOptions.VolumeOptions, {
nullable: true
}),
TmpfsOptions: /*#__PURE__*/Schema.optionalWith(TmpfsOptions.TmpfsOptions, {
nullable: true
}),
ClusterOptions: /*#__PURE__*/Schema.optionalWith(ClusterOptions.ClusterOptions, {
nullable: true
})
}, {
identifier: "Mount",
title: "mount.Mount",
documentation: "https://github.com/moby/moby/blob/733755d7cb18a4dbea7c290cc56e61d05502aca0/api/types/mount/mount.go#L24-L39"
}) {}
//# sourceMappingURL=Mount.generated.js.map