the-moby-effect
Version:
Moby/Docker API client built using effect-ts
17 lines • 1.12 kB
JavaScript
import * as Schema from "effect/Schema";
import * as RegistryIndexInfo from "./RegistryIndexInfo.generated.js";
export class RegistryServiceConfig extends /*#__PURE__*/Schema.Class("RegistryServiceConfig")({
AllowNondistributableArtifactsCIDRs: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(Schema.String))),
AllowNondistributableArtifactsHostnames: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(Schema.String)),
InsecureRegistryCIDRs: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(Schema.String))),
IndexConfigs: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Record({
key: Schema.String,
value: /*#__PURE__*/Schema.NullOr(RegistryIndexInfo.RegistryIndexInfo)
})),
Mirrors: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(Schema.String))
}, {
identifier: "RegistryServiceConfig",
title: "registry.ServiceConfig",
documentation: "https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/api/types/registry/registry.go#L10-L17"
}) {}
//# sourceMappingURL=RegistryServiceConfig.generated.js.map