file

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0 Imports: 19 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSkipBuild = errors.New("skip build")
)

Functions

This section is empty.

Types

type Context

type Context map[string]string

func (Context) Cp

func (c Context) Cp() string

func (Context) Env

func (c Context) Env() []string

func (Context) HostSocket added in v0.3.3

func (c Context) HostSocket() string

func (Context) Mode

func (c Context) Mode(mode string) string

func (Context) Output

func (c Context) Output() []string

func (Context) RunArgs

func (c Context) RunArgs() []string

func (Context) Shell

func (c Context) Shell() string

func (Context) Socket

func (c Context) Socket() bool

func (Context) Source

func (c Context) Source() string

type Dapperfile

type Dapperfile struct {
	File string
	Mode string

	Socket bool
	NoOut  bool
	Args   []string
	From   string
	Quiet  bool

	Keep        bool
	NoContext   bool
	MountSuffix string
	Target      string
	// contains filtered or unexported fields
}

func Lookup

func Lookup(file string) (*Dapperfile, error)

func (*Dapperfile) Build added in v0.3.0

func (d *Dapperfile) Build(args []string) error

func (*Dapperfile) IsBind

func (d *Dapperfile) IsBind() bool

func (*Dapperfile) Run

func (d *Dapperfile) Run(commandArgs []string) error

func (*Dapperfile) Shell

func (d *Dapperfile) Shell(commandArgs []string) error

Jump to

Keyboard shortcuts

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