Documentation
¶
Index ¶
- func AtomicWrite(path string, data []byte, mode os.FileMode) error
- func CatalogDestination(raw, source string) error
- func CatalogTransport(source string) *http.Transport
- func Fetch(ctx context.Context, raw string, limit int64) ([]byte, error)
- func NewRequestID() string
- func RemoteURL(raw string) error
- func SetProxy(raw, noProxy string) error
- func SetRequestID(req *http.Request)
- func Transport() *http.Transport
- func ValidateProxy(raw string) error
- func WithRequestID(ctx context.Context, id string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtomicWrite ¶
AtomicWrite publishes only complete files, on the same filesystem.
func CatalogDestination ¶
func CatalogTransport ¶
Catalog-directed connections are direct and dial only verified IP addresses. This provenance survives config sync, preventing cached catalogs from silently becoming trusted local destinations or secret bindings.
func NewRequestID ¶
func NewRequestID() string
Request IDs are generated locally; remote arbitrary strings are never reflected.
func SetRequestID ¶
func ValidateProxy ¶
Types ¶
This section is empty.