Documentation
¶
Overview ¶
Package regions is the dependency-free public view of the cloud regions disco's scanners support, per provider. The per-provider lists are the source of truth and live next to each provider's scanner (internal/providers/<p>/<p>regions); each of those SDK-free leaf packages self-registers its list here via init(), so this package links no cloud SDK and names no provider — external callers (e.g. the SaaS control plane) can validate scan regions without either.
Registration is triggered by importing the leaf packages: the disco binary gets it for free (each provider package imports its own <p>regions leaf, and cmd pulls the providers in via internal/providers/all). A standalone consumer that does not import the providers should blank-import codeberg.org/icearp/ disco/regions/all, the build-tag-gated aggregator that wires the leaf packages in (and honours the same `slim` tags as internal/providers/all).
Provider keys are the lower-case wire values "aws", "azure", and "gcp".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func For ¶
For returns the supported regions for provider in sorted order, or nil for an unknown provider. The returned slice is a copy the caller may retain or mutate.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package all is the single wiring point that registers every provider's supported-region list into the github.com/icearp/disco-cli/regions registry for standalone consumers (e.g.
|
Package all is the single wiring point that registers every provider's supported-region list into the github.com/icearp/disco-cli/regions registry for standalone consumers (e.g. |