| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.Cargo.Request
Description
Sparse index paths and native request credentials over the shared sealed transport.
Synopsis
- cargoArtifactHosts :: [Text]
- cargoIndexPath :: PackageName -> Text
- cargoPrefix :: Text -> Text
- cargoIndexRequest :: BaseRequest -> Maybe ClientCredential -> PackageName -> Either UrlFormationError Request
- cargoConfigRequest :: BaseRequest -> Maybe ClientCredential -> Either UrlFormationError Request
- cargoArtifactRequest :: Maybe ClientCredential -> Text -> Either UrlFormationError Request
Documentation
cargoArtifactHosts :: [Text] Source #
Public archive hosts are declared independently of discovery responses.
cargoIndexPath :: PackageName -> Text Source #
Derive a sparse lookup path, folding ASCII case alone.
cargoPrefix :: Text -> Text Source #
Prefix spelling follows Cargo's length rule and preserves its input's case.
cargoIndexRequest :: BaseRequest -> Maybe ClientCredential -> PackageName -> Either UrlFormationError Request Source #
Fetch one native index file under the selected origin's credential posture.
cargoConfigRequest :: BaseRequest -> Maybe ClientCredential -> Either UrlFormationError Request Source #
Fetch discovery only after the origin and its credentials exist.
cargoArtifactRequest :: Maybe ClientCredential -> Text -> Either UrlFormationError Request Source #
Fetch the metadata-bound archive URL without deriving identity from its terminal component.