Documentation ¶
Overview ¶
Package build implements tools and function to build mindpaks. The main builder is build.Packer that writes the bundles to archives.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitOptions ¶
InitOptions are used when initializing a new bundle directory.
func (*InitOptions) Validate ¶
func (opts *InitOptions) Validate() error
Validate checks the initializer options
type Packer ¶
type Packer struct{}
Packer handles writing the bundles to archives on disk.
func NewPacker ¶
func NewPacker() *Packer
NewPacker returns a new packer object with the default options
func (*Packer) InitBundle ¶
func (_ *Packer) InitBundle(opts *InitOptions) (*mindpak.Bundle, error)
InitBundle creates a new bundle manifest in a directory with minder data in the expected structure.
Click to show internal directories.
Click to hide internal directories.