Documentation ¶
Index ¶
- Variables
- func Install(ctx context.Context, c client.Client) (*client.Result, error)
- func NewState(ctx context.Context, c client.Client) (*llb.State, error)
- func WorkspacePatterns(ctx context.Context, c client.Client, src llb.State) ([]string, error)
- type ConstraintsOptFunc
- func (fn ConstraintsOptFunc) SetConstraintsOption(c *llb.Constraints)
- func (fn ConstraintsOptFunc) SetGitOption(gi *llb.GitInfo)
- func (fn ConstraintsOptFunc) SetHTTPOption(hi *llb.HTTPInfo)
- func (fn ConstraintsOptFunc) SetImageOption(ii *llb.ImageInfo)
- func (fn ConstraintsOptFunc) SetLocalOption(li *llb.LocalInfo)
- func (fn ConstraintsOptFunc) SetRunOption(ei *llb.ExecInfo)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
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)
Click to show internal directories.
Click to hide internal directories.