Versions in this module Expand all Collapse all v0 v0.24.3 Jun 16, 2023 Changes in this version + const VERSION + var ErrInvalidBundle = errors.New("invalid bundle") + var ErrInvalidManifest = errors.New("invalid manifest") + func BuildBundle(p base.FileProducer, opts ...ManifestOption) (base.Bundle, error) + func ReadBundle(p base.FileProducer) (base.Bundle, error) + type Bundle struct + func (b *Bundle) BundleFormatVersion() string + func (b *Bundle) Document() map[string]interface{} + func (b *Bundle) Manifest() interface{} + func (b *Bundle) Modules() map[string]*ast.Module + func (b *Bundle) Provider() data.Provider + func (b *Bundle) SourceInfo() base.SourceInfo + func (b *Bundle) Validate() error + type Manifest struct + Name string + PolicyEngineVersion string + Revision string + VCS VCSMetadata + func (m *Manifest) Validate() error + type ManifestOption func(m *Manifest) + func WithRevision(r string) ManifestOption + func WithVCSType(t string) ManifestOption + func WithVCSURI(u string) ManifestOption + type VCSMetadata struct + Type string + URI string