bundler

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2021 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Name        string
	Version     string
	Copyright   string
	Author      string
	Description string
	Entrypoint  string
	Mounts      []string
	Store       string
	PocoVersion string
}

type Bundler

type Bundler struct {
	// contains filtered or unexported fields
}

func New

func New(o ...Option) *Bundler

func (*Bundler) Build

func (k *Bundler) Build(dst string, args ...string) error

func (*Bundler) DownloadImage

func (k *Bundler) DownloadImage(image, dst string, local bool) error

func (*Bundler) Render

func (k *Bundler) Render(dst string) error

type Option

type Option func(k *Bundler) error

func WithRenderData

func WithRenderData(image, commandprefix string, localbuild bool, a App) Option

func WithStateDir

func WithStateDir(s string) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL