Documentation
¶
Overview ¶
Pull downloads an agent artifact from a registry using oras, then loads and dumps the Agentfile as JSON. For advanced usage (custom auth, retries, middleware), create your own oras.Target and use oras.Copy directly.
Usage:
go run ./examples/pull/ <registry-ref> go run ./examples/pull/ -plain-http <registry-ref>
Example:
go run ./examples/pull/ ghcr.io/openotters/agents/meteo:1.0.0 go run ./examples/pull/ -plain-http localhost:5000/agents/meteo:1.0.0
Click to show internal directories.
Click to hide internal directories.