ops

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheMountsLocker added in v0.6.4

func CacheMountsLocker() sync.Locker

func ClearActiveCacheMounts added in v0.6.4

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.6.4

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.6.4

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

func NewFileOpSolver added in v0.6.4

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

func (*FileOpSolver) Solve added in v0.6.4

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