Versions in this module Expand all Collapse all v0 v0.4.0 Sep 2, 2026 Changes in this version + const FormatVersion + type OCIVerifier func(context.Context, string, string) error + type Source struct + Content string + Path string + type SourceBundle struct + func New(spec Spec) (*SourceBundle, error) + func Parse(data []byte) (*SourceBundle, error) + func ParseOCI(data []byte) (*SourceBundle, error) + func PullOCI(ctx context.Context, imageReference string, verifier OCIVerifier) (*SourceBundle, error) + func (bundle *SourceBundle) Bytes() ([]byte, error) + func (bundle *SourceBundle) Digest() (string, error) + func (bundle *SourceBundle) Environment() ir.Environment + func (bundle *SourceBundle) Executors() map[string]invocation.Descriptor + func (bundle *SourceBundle) Metadata() map[string]string + func (bundle *SourceBundle) Name() string + func (bundle *SourceBundle) OCIBytes() ([]byte, error) + func (bundle *SourceBundle) PublishOCI(ctx context.Context, imageReference string) (string, error) + func (bundle *SourceBundle) PushOCI(ctx context.Context, imageReference string) error + func (bundle *SourceBundle) Sources() []Source + func (bundle *SourceBundle) Version() string + type Spec struct + Environment ir.Environment + Executors map[string]invocation.Descriptor + Metadata map[string]string + Name string + Sources []Source + Version string