ops

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 49 Imported by: 127

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheMountsLocker added in v0.6.0

func CacheMountsLocker() sync.Locker

func ClearActiveCacheMounts added in v0.6.0

func ClearActiveCacheMounts()

ClearActiveCacheMounts clears shared cache mounts currently in use. Caller needs to hold CacheMountsLocker before calling

func NewExecOp

func NewExecOp(v solver.Vertex, op *pb.Op_Exec, platform *pb.Platform, cm cache.Manager, sm *session.Manager, md *metadata.Store, exec executor.Executor, w worker.Worker) (solver.Op, error)

func NewFileOp added in v0.5.0

func NewFileOp(v solver.Vertex, op *pb.Op_File, cm cache.Manager, md *metadata.Store, w worker.Worker) (solver.Op, error)

func NewSourceOp

func NewSourceOp(_ solver.Vertex, op *pb.Op_Source, platform *pb.Platform, sm *source.Manager, sessM *session.Manager, w worker.Worker) (solver.Op, error)

Types

type FileOpSolver added in v0.5.0

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

func NewFileOpSolver added in v0.5.0

func NewFileOpSolver(b fileoptypes.Backend, r fileoptypes.RefManager) *FileOpSolver

func (*FileOpSolver) Solve added in v0.5.0

func (s *FileOpSolver) Solve(ctx context.Context, inputs []fileoptypes.Ref, actions []*pb.FileAction) ([]fileoptypes.Ref, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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