fake_process_tracker

package
v0.333.2-candidate Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeProcessTracker

type FakeProcessTracker struct {
	RunStub func(processID string, cmd *exec.Cmd, io garden.ProcessIO, tty *garden.TTYSpec, signaller process_tracker.Signaller) (garden.Process, error)

	AttachStub func(processID string, io garden.ProcessIO) (garden.Process, error)

	RestoreStub func(processID string, signaller process_tracker.Signaller)

	ActiveProcessesStub func() []garden.Process
	// contains filtered or unexported fields
}

func (*FakeProcessTracker) ActiveProcesses

func (fake *FakeProcessTracker) ActiveProcesses() []garden.Process

func (*FakeProcessTracker) ActiveProcessesCallCount

func (fake *FakeProcessTracker) ActiveProcessesCallCount() int

func (*FakeProcessTracker) ActiveProcessesReturns

func (fake *FakeProcessTracker) ActiveProcessesReturns(result1 []garden.Process)

func (*FakeProcessTracker) Attach

func (fake *FakeProcessTracker) Attach(processID string, io garden.ProcessIO) (garden.Process, error)

func (*FakeProcessTracker) AttachArgsForCall

func (fake *FakeProcessTracker) AttachArgsForCall(i int) (string, garden.ProcessIO)

func (*FakeProcessTracker) AttachCallCount

func (fake *FakeProcessTracker) AttachCallCount() int

func (*FakeProcessTracker) AttachReturns

func (fake *FakeProcessTracker) AttachReturns(result1 garden.Process, result2 error)

func (*FakeProcessTracker) Restore

func (fake *FakeProcessTracker) Restore(processID string, signaller process_tracker.Signaller)

func (*FakeProcessTracker) RestoreArgsForCall

func (fake *FakeProcessTracker) RestoreArgsForCall(i int) (string, process_tracker.Signaller)

func (*FakeProcessTracker) RestoreCallCount

func (fake *FakeProcessTracker) RestoreCallCount() int

func (*FakeProcessTracker) Run

func (fake *FakeProcessTracker) Run(processID string, cmd *exec.Cmd, io garden.ProcessIO, tty *garden.TTYSpec, signaller process_tracker.Signaller) (garden.Process, error)

func (*FakeProcessTracker) RunArgsForCall

func (*FakeProcessTracker) RunCallCount

func (fake *FakeProcessTracker) RunCallCount() int

func (*FakeProcessTracker) RunReturns

func (fake *FakeProcessTracker) RunReturns(result1 garden.Process, result2 error)

Jump to

Keyboard shortcuts

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