yarn

package
v0.0.0-...-f0c9fbb Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CopyOptions = &llb.CopyInfo{
		FollowSymlinks:      true,
		CopyDirContentsOnly: true,
		AttemptUnpack:       false,
		CreateDestPath:      true,
		AllowWildcard:       true,
		AllowEmptyWildcard:  true,
	}
)

Functions

func Install

func Install(ctx context.Context, c client.Client) (*client.Result, error)

func NewState

func NewState(ctx context.Context, c client.Client) (*llb.State, error)

func WorkspacePatterns

func WorkspacePatterns(ctx context.Context, c client.Client, src llb.State) ([]string, error)

Types

type ConstraintsOptFunc

type ConstraintsOptFunc func(c *llb.Constraints)

ConstraintsOptFunc is a copy of llb.constrainsOptFunc but that is private so we reimplement here. There interface should probably be public public

func ControlCache

func ControlCache(client client.Client) ConstraintsOptFunc

ControlCache will force the cache to be ignored id the `--no-cache` option is specified via buildctl

func (ConstraintsOptFunc) SetConstraintsOption

func (fn ConstraintsOptFunc) SetConstraintsOption(c *llb.Constraints)

func (ConstraintsOptFunc) SetGitOption

func (fn ConstraintsOptFunc) SetGitOption(gi *llb.GitInfo)

func (ConstraintsOptFunc) SetHTTPOption

func (fn ConstraintsOptFunc) SetHTTPOption(hi *llb.HTTPInfo)

func (ConstraintsOptFunc) SetImageOption

func (fn ConstraintsOptFunc) SetImageOption(ii *llb.ImageInfo)

func (ConstraintsOptFunc) SetLocalOption

func (fn ConstraintsOptFunc) SetLocalOption(li *llb.LocalInfo)

func (ConstraintsOptFunc) SetRunOption

func (fn ConstraintsOptFunc) SetRunOption(ei *llb.ExecInfo)

Jump to

Keyboard shortcuts

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