Documentation
¶
Index ¶
- func Execute(name string, arg ...string) error
- type Context
- func (bc *Context) BuildImage() error
- func (bc *Context) BuildLayer() (string, error)
- func (bc *Context) BuildTarball() (string, error)
- func (bc *Context) CreateSupervisionDirectory(name string) (string, error)
- func (bc *Context) FixateApkWorld() error
- func (bc *Context) InitApkDB() error
- func (bc *Context) InitApkKeyring() (err error)
- func (bc *Context) InitApkRepositories() error
- func (bc *Context) InitApkWorld() error
- func (bc *Context) Summarize()
- func (bc *Context) WriteSupervisionServiceSimple(name string, command string) error
- func (bc *Context) WriteSupervisionTemplate(svcdir string, command string) error
- func (bc *Context) WriteSupervisionTree() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context struct { ImageConfiguration types.ImageConfiguration WorkDir string TarballPath string }
func (*Context) BuildImage ¶
Builds the image in Context.WorkDir.
func (*Context) BuildLayer ¶
func (*Context) BuildTarball ¶
func (*Context) CreateSupervisionDirectory ¶
func (*Context) FixateApkWorld ¶
Force apk's resolver to re-resolve the requested dependencies in /etc/apk/world.
func (*Context) InitApkDB ¶
Initialize the APK database for a given build context. It is assumed that the build context itself is properly set up, and that `bc.WorkDir` is set to the path of a working directory.
func (*Context) InitApkKeyring ¶
Installs the specified keys into the APK keyring inside the build context.
func (*Context) InitApkRepositories ¶
Generates a specified /etc/apk/repositories file in the build context.
func (*Context) InitApkWorld ¶
Generates a specified /etc/apk/world file in the build context.
func (*Context) WriteSupervisionServiceSimple ¶
func (*Context) WriteSupervisionTemplate ¶
func (*Context) WriteSupervisionTree ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.