taskcluster-worker: github.com/taskcluster/taskcluster-worker/engines/mock Index | Files | Directories

package mockengine

import "github.com/taskcluster/taskcluster-worker/engines/mock"

Package mockengine implements a MockEngine that doesn't really do anything, but allows us to test plugins without having to run a real engine.


Package Files

doc.go mockdisplay.go mockengine.go mocksandbox.go mockshell.go mockvolume.go payloadschema.go

func New Uses

func New(options engines.EngineOptions) engines.Engine

New creates a new MockEngine


mocknetPackage mocknet implements a net.Listener interface that can reached with mocknet.Dial() and establishes connections using net.Pipe()

Package mockengine imports 21 packages (graph) and is imported by 2 packages. Updated 2017-12-31. Refresh now. Tools for package owners.