Documentation
¶
Overview ¶
Package build packs an Agentfile and its referenced contexts and bins into an OCI artifact that can be pushed to a registry or inspected as a standalone manifest. Inherited parents are resolved transparently.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build( ctx context.Context, af *spec.Agentfile, src billy.Filesystem, dst oras.Target, ) (*spec.ReferenceWithDigest, error)
Build creates an OCI artifact from a parsed Agentfile and pushes it into dst. Context and ADD files are read from src. The manifest is tagged with the agent name in dst. Returns the image reference with digest.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.