the-moby-effect
Version:
Moby/Docker API client built using effect-ts
15 lines • 1.24 kB
JavaScript
import * as Schema from "effect/Schema";
import * as EffectSchemas from "effect-schemas";
import * as RegistryIndexInfo from "./RegistryIndexInfo.generated.js";
export class RegistryServiceConfig extends /*#__PURE__*/Schema.Class("RegistryServiceConfig")({
AllowNondistributableArtifactsCIDRs: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(EffectSchemas.Internet.CidrBlockFromString)))),
AllowNondistributableArtifactsHostnames: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(Schema.String))),
InsecureRegistryCIDRs: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(EffectSchemas.Internet.CidrBlockFromString))),
IndexConfigs: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Record(Schema.String, /*#__PURE__*/Schema.NullOr(RegistryIndexInfo.RegistryIndexInfo))),
Mirrors: /*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(Schema.String))
}, {
identifier: "RegistryServiceConfig",
title: "registry.ServiceConfig",
documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/registry#ServiceConfig"
}) {}
//# sourceMappingURL=RegistryServiceConfig.generated.js.map