the-moby-effect
Version:
Moby/Docker API client built using effect-ts
16 lines (14 loc) • 500 B
text/typescript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
export class ThrottleDevice extends Schema.Class<ThrottleDevice>("ThrottleDevice")(
{
Path: Schema.String,
Rate: MobySchemas.UInt64,
},
{
identifier: "ThrottleDevice",
title: "blkiodev.ThrottleDevice",
documentation:
"https://github.com/moby/moby/blob/a21b1a2d12e2c01542cb191eb526d7bfad0641e3/api/types/blkiodev/blkio.go#L15-L19",
}
) {}