controllerfakes

package
v0.0.0-...-89d5bac Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: AGPL-3.0, AGPL-3.0-or-later Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeController

type FakeController struct {
	ActivateStub func() error

	AttachStub func() error

	AwaitMessageStub func(string) controller.Message

	AwaitSignalStub func(syscall.Signal)

	CheckpointsStub func() []*state.State

	ClearMemRefsStub func() error

	ContinueStub func()

	ContinueTidStub func(int, syscall.Signal)

	ContinueWithStub func(syscall.Signal)

	DetachStub func() error

	EndStub func() error

	InitialCheckpointStub func() (*state.State, error)

	PauseAtSignalStub func(syscall.Signal)

	PidStub func() int

	RestoreStub func() error

	SendFunctionStub func(string) error

	SendMessageStub func(string, interface{}) error

	SendRequestStub func(interface{}) (interface{}, error)

	SendSignalStub func(syscall.Signal) error

	SendSignalContStub func(syscall.Signal) error

	SetPidStub func(int)

	SetRegsStub func(*state.State) error

	SetStreamsStub func(*io.PipeWriter, *io.PipeReader, *io.PipeReader)

	StateStub func() (*state.State, error)

	StopStub func() error

	StreamsStub func() (*io.PipeWriter, *io.PipeReader, *io.PipeReader)

	TakeCheckpointStub func() error

	WithSyscallTraceStub func(io.Writer)
	// contains filtered or unexported fields
}

func (*FakeController) Activate

func (fake *FakeController) Activate() error

func (*FakeController) ActivateCallCount

func (fake *FakeController) ActivateCallCount() int

func (*FakeController) ActivateCalls

func (fake *FakeController) ActivateCalls(stub func() error)

func (*FakeController) ActivateReturns

func (fake *FakeController) ActivateReturns(result1 error)

func (*FakeController) ActivateReturnsOnCall

func (fake *FakeController) ActivateReturnsOnCall(i int, result1 error)

func (*FakeController) Attach

func (fake *FakeController) Attach() error

func (*FakeController) AttachCallCount

func (fake *FakeController) AttachCallCount() int

func (*FakeController) AttachCalls

func (fake *FakeController) AttachCalls(stub func() error)

func (*FakeController) AttachReturns

func (fake *FakeController) AttachReturns(result1 error)

func (*FakeController) AttachReturnsOnCall

func (fake *FakeController) AttachReturnsOnCall(i int, result1 error)

func (*FakeController) AwaitMessage

func (fake *FakeController) AwaitMessage(arg1 string) controller.Message

func (*FakeController) AwaitMessageArgsForCall

func (fake *FakeController) AwaitMessageArgsForCall(i int) string

func (*FakeController) AwaitMessageCallCount

func (fake *FakeController) AwaitMessageCallCount() int

func (*FakeController) AwaitMessageCalls

func (fake *FakeController) AwaitMessageCalls(stub func(string) controller.Message)

func (*FakeController) AwaitMessageReturns

func (fake *FakeController) AwaitMessageReturns(result1 controller.Message)

func (*FakeController) AwaitMessageReturnsOnCall

func (fake *FakeController) AwaitMessageReturnsOnCall(i int, result1 controller.Message)

func (*FakeController) AwaitSignal

func (fake *FakeController) AwaitSignal(arg1 syscall.Signal)

func (*FakeController) AwaitSignalArgsForCall

func (fake *FakeController) AwaitSignalArgsForCall(i int) syscall.Signal

func (*FakeController) AwaitSignalCallCount

func (fake *FakeController) AwaitSignalCallCount() int

func (*FakeController) AwaitSignalCalls

func (fake *FakeController) AwaitSignalCalls(stub func(syscall.Signal))

func (*FakeController) Checkpoints

func (fake *FakeController) Checkpoints() []*state.State

func (*FakeController) CheckpointsCallCount

func (fake *FakeController) CheckpointsCallCount() int

func (*FakeController) CheckpointsCalls

func (fake *FakeController) CheckpointsCalls(stub func() []*state.State)

func (*FakeController) CheckpointsReturns

func (fake *FakeController) CheckpointsReturns(result1 []*state.State)

func (*FakeController) CheckpointsReturnsOnCall

func (fake *FakeController) CheckpointsReturnsOnCall(i int, result1 []*state.State)

func (*FakeController) ClearMemRefs

func (fake *FakeController) ClearMemRefs() error

func (*FakeController) ClearMemRefsCallCount

func (fake *FakeController) ClearMemRefsCallCount() int

func (*FakeController) ClearMemRefsCalls

func (fake *FakeController) ClearMemRefsCalls(stub func() error)

func (*FakeController) ClearMemRefsReturns

func (fake *FakeController) ClearMemRefsReturns(result1 error)

func (*FakeController) ClearMemRefsReturnsOnCall

func (fake *FakeController) ClearMemRefsReturnsOnCall(i int, result1 error)

func (*FakeController) Continue

func (fake *FakeController) Continue()

func (*FakeController) ContinueCallCount

func (fake *FakeController) ContinueCallCount() int

func (*FakeController) ContinueCalls

func (fake *FakeController) ContinueCalls(stub func())

func (*FakeController) ContinueTid

func (fake *FakeController) ContinueTid(arg1 int, arg2 syscall.Signal)

func (*FakeController) ContinueTidArgsForCall

func (fake *FakeController) ContinueTidArgsForCall(i int) (int, syscall.Signal)

func (*FakeController) ContinueTidCallCount

func (fake *FakeController) ContinueTidCallCount() int

func (*FakeController) ContinueTidCalls

func (fake *FakeController) ContinueTidCalls(stub func(int, syscall.Signal))

func (*FakeController) ContinueWith

func (fake *FakeController) ContinueWith(arg1 syscall.Signal)

func (*FakeController) ContinueWithArgsForCall

func (fake *FakeController) ContinueWithArgsForCall(i int) syscall.Signal

func (*FakeController) ContinueWithCallCount

func (fake *FakeController) ContinueWithCallCount() int

func (*FakeController) ContinueWithCalls

func (fake *FakeController) ContinueWithCalls(stub func(syscall.Signal))

func (*FakeController) Detach

func (fake *FakeController) Detach() error

func (*FakeController) DetachCallCount

func (fake *FakeController) DetachCallCount() int

func (*FakeController) DetachCalls

func (fake *FakeController) DetachCalls(stub func() error)

func (*FakeController) DetachReturns

func (fake *FakeController) DetachReturns(result1 error)

func (*FakeController) DetachReturnsOnCall

func (fake *FakeController) DetachReturnsOnCall(i int, result1 error)

func (*FakeController) End

func (fake *FakeController) End() error

func (*FakeController) EndCallCount

func (fake *FakeController) EndCallCount() int

func (*FakeController) EndCalls

func (fake *FakeController) EndCalls(stub func() error)

func (*FakeController) EndReturns

func (fake *FakeController) EndReturns(result1 error)

func (*FakeController) EndReturnsOnCall

func (fake *FakeController) EndReturnsOnCall(i int, result1 error)

func (*FakeController) InitialCheckpoint

func (fake *FakeController) InitialCheckpoint() (*state.State, error)

func (*FakeController) InitialCheckpointCallCount

func (fake *FakeController) InitialCheckpointCallCount() int

func (*FakeController) InitialCheckpointCalls

func (fake *FakeController) InitialCheckpointCalls(stub func() (*state.State, error))

func (*FakeController) InitialCheckpointReturns

func (fake *FakeController) InitialCheckpointReturns(result1 *state.State, result2 error)

func (*FakeController) InitialCheckpointReturnsOnCall

func (fake *FakeController) InitialCheckpointReturnsOnCall(i int, result1 *state.State, result2 error)

func (*FakeController) Invocations

func (fake *FakeController) Invocations() map[string][][]interface{}

func (*FakeController) PauseAtSignal

func (fake *FakeController) PauseAtSignal(arg1 syscall.Signal)

func (*FakeController) PauseAtSignalArgsForCall

func (fake *FakeController) PauseAtSignalArgsForCall(i int) syscall.Signal

func (*FakeController) PauseAtSignalCallCount

func (fake *FakeController) PauseAtSignalCallCount() int

func (*FakeController) PauseAtSignalCalls

func (fake *FakeController) PauseAtSignalCalls(stub func(syscall.Signal))

func (*FakeController) Pid

func (fake *FakeController) Pid() int

func (*FakeController) PidCallCount

func (fake *FakeController) PidCallCount() int

func (*FakeController) PidCalls

func (fake *FakeController) PidCalls(stub func() int)

func (*FakeController) PidReturns

func (fake *FakeController) PidReturns(result1 int)

func (*FakeController) PidReturnsOnCall

func (fake *FakeController) PidReturnsOnCall(i int, result1 int)

func (*FakeController) Restore

func (fake *FakeController) Restore() error

func (*FakeController) RestoreCallCount

func (fake *FakeController) RestoreCallCount() int

func (*FakeController) RestoreCalls

func (fake *FakeController) RestoreCalls(stub func() error)

func (*FakeController) RestoreReturns

func (fake *FakeController) RestoreReturns(result1 error)

func (*FakeController) RestoreReturnsOnCall

func (fake *FakeController) RestoreReturnsOnCall(i int, result1 error)

func (*FakeController) SendFunction

func (fake *FakeController) SendFunction(arg1 string) error

func (*FakeController) SendFunctionArgsForCall

func (fake *FakeController) SendFunctionArgsForCall(i int) string

func (*FakeController) SendFunctionCallCount

func (fake *FakeController) SendFunctionCallCount() int

func (*FakeController) SendFunctionCalls

func (fake *FakeController) SendFunctionCalls(stub func(string) error)

func (*FakeController) SendFunctionReturns

func (fake *FakeController) SendFunctionReturns(result1 error)

func (*FakeController) SendFunctionReturnsOnCall

func (fake *FakeController) SendFunctionReturnsOnCall(i int, result1 error)

func (*FakeController) SendMessage

func (fake *FakeController) SendMessage(arg1 string, arg2 interface{}) error

func (*FakeController) SendMessageArgsForCall

func (fake *FakeController) SendMessageArgsForCall(i int) (string, interface{})

func (*FakeController) SendMessageCallCount

func (fake *FakeController) SendMessageCallCount() int

func (*FakeController) SendMessageCalls

func (fake *FakeController) SendMessageCalls(stub func(string, interface{}) error)

func (*FakeController) SendMessageReturns

func (fake *FakeController) SendMessageReturns(result1 error)

func (*FakeController) SendMessageReturnsOnCall

func (fake *FakeController) SendMessageReturnsOnCall(i int, result1 error)

func (*FakeController) SendRequest

func (fake *FakeController) SendRequest(arg1 interface{}) (interface{}, error)

func (*FakeController) SendRequestArgsForCall

func (fake *FakeController) SendRequestArgsForCall(i int) interface{}

func (*FakeController) SendRequestCallCount

func (fake *FakeController) SendRequestCallCount() int

func (*FakeController) SendRequestCalls

func (fake *FakeController) SendRequestCalls(stub func(interface{}) (interface{}, error))

func (*FakeController) SendRequestReturns

func (fake *FakeController) SendRequestReturns(result1 interface{}, result2 error)

func (*FakeController) SendRequestReturnsOnCall

func (fake *FakeController) SendRequestReturnsOnCall(i int, result1 interface{}, result2 error)

func (*FakeController) SendSignal

func (fake *FakeController) SendSignal(arg1 syscall.Signal) error

func (*FakeController) SendSignalArgsForCall

func (fake *FakeController) SendSignalArgsForCall(i int) syscall.Signal

func (*FakeController) SendSignalCallCount

func (fake *FakeController) SendSignalCallCount() int

func (*FakeController) SendSignalCalls

func (fake *FakeController) SendSignalCalls(stub func(syscall.Signal) error)

func (*FakeController) SendSignalCont

func (fake *FakeController) SendSignalCont(arg1 syscall.Signal) error

func (*FakeController) SendSignalContArgsForCall

func (fake *FakeController) SendSignalContArgsForCall(i int) syscall.Signal

func (*FakeController) SendSignalContCallCount

func (fake *FakeController) SendSignalContCallCount() int

func (*FakeController) SendSignalContCalls

func (fake *FakeController) SendSignalContCalls(stub func(syscall.Signal) error)

func (*FakeController) SendSignalContReturns

func (fake *FakeController) SendSignalContReturns(result1 error)

func (*FakeController) SendSignalContReturnsOnCall

func (fake *FakeController) SendSignalContReturnsOnCall(i int, result1 error)

func (*FakeController) SendSignalReturns

func (fake *FakeController) SendSignalReturns(result1 error)

func (*FakeController) SendSignalReturnsOnCall

func (fake *FakeController) SendSignalReturnsOnCall(i int, result1 error)

func (*FakeController) SetPid

func (fake *FakeController) SetPid(arg1 int)

func (*FakeController) SetPidArgsForCall

func (fake *FakeController) SetPidArgsForCall(i int) int

func (*FakeController) SetPidCallCount

func (fake *FakeController) SetPidCallCount() int

func (*FakeController) SetPidCalls

func (fake *FakeController) SetPidCalls(stub func(int))

func (*FakeController) SetRegs

func (fake *FakeController) SetRegs(arg1 *state.State) error

func (*FakeController) SetRegsArgsForCall

func (fake *FakeController) SetRegsArgsForCall(i int) *state.State

func (*FakeController) SetRegsCallCount

func (fake *FakeController) SetRegsCallCount() int

func (*FakeController) SetRegsCalls

func (fake *FakeController) SetRegsCalls(stub func(*state.State) error)

func (*FakeController) SetRegsReturns

func (fake *FakeController) SetRegsReturns(result1 error)

func (*FakeController) SetRegsReturnsOnCall

func (fake *FakeController) SetRegsReturnsOnCall(i int, result1 error)

func (*FakeController) SetStreams

func (fake *FakeController) SetStreams(arg1 *io.PipeWriter, arg2 *io.PipeReader, arg3 *io.PipeReader)

func (*FakeController) SetStreamsArgsForCall

func (fake *FakeController) SetStreamsArgsForCall(i int) (*io.PipeWriter, *io.PipeReader, *io.PipeReader)

func (*FakeController) SetStreamsCallCount

func (fake *FakeController) SetStreamsCallCount() int

func (*FakeController) SetStreamsCalls

func (fake *FakeController) SetStreamsCalls(stub func(*io.PipeWriter, *io.PipeReader, *io.PipeReader))

func (*FakeController) State

func (fake *FakeController) State() (*state.State, error)

func (*FakeController) StateCallCount

func (fake *FakeController) StateCallCount() int

func (*FakeController) StateCalls

func (fake *FakeController) StateCalls(stub func() (*state.State, error))

func (*FakeController) StateReturns

func (fake *FakeController) StateReturns(result1 *state.State, result2 error)

func (*FakeController) StateReturnsOnCall

func (fake *FakeController) StateReturnsOnCall(i int, result1 *state.State, result2 error)

func (*FakeController) Stop

func (fake *FakeController) Stop() error

func (*FakeController) StopCallCount

func (fake *FakeController) StopCallCount() int

func (*FakeController) StopCalls

func (fake *FakeController) StopCalls(stub func() error)

func (*FakeController) StopReturns

func (fake *FakeController) StopReturns(result1 error)

func (*FakeController) StopReturnsOnCall

func (fake *FakeController) StopReturnsOnCall(i int, result1 error)

func (*FakeController) Streams

func (fake *FakeController) Streams() (*io.PipeWriter, *io.PipeReader, *io.PipeReader)

func (*FakeController) StreamsCallCount

func (fake *FakeController) StreamsCallCount() int

func (*FakeController) StreamsCalls

func (fake *FakeController) StreamsCalls(stub func() (*io.PipeWriter, *io.PipeReader, *io.PipeReader))

func (*FakeController) StreamsReturns

func (fake *FakeController) StreamsReturns(result1 *io.PipeWriter, result2 *io.PipeReader, result3 *io.PipeReader)

func (*FakeController) StreamsReturnsOnCall

func (fake *FakeController) StreamsReturnsOnCall(i int, result1 *io.PipeWriter, result2 *io.PipeReader, result3 *io.PipeReader)

func (*FakeController) TakeCheckpoint

func (fake *FakeController) TakeCheckpoint() error

func (*FakeController) TakeCheckpointCallCount

func (fake *FakeController) TakeCheckpointCallCount() int

func (*FakeController) TakeCheckpointCalls

func (fake *FakeController) TakeCheckpointCalls(stub func() error)

func (*FakeController) TakeCheckpointReturns

func (fake *FakeController) TakeCheckpointReturns(result1 error)

func (*FakeController) TakeCheckpointReturnsOnCall

func (fake *FakeController) TakeCheckpointReturnsOnCall(i int, result1 error)

func (*FakeController) WithSyscallTrace

func (fake *FakeController) WithSyscallTrace(arg1 io.Writer)

func (*FakeController) WithSyscallTraceArgsForCall

func (fake *FakeController) WithSyscallTraceArgsForCall(i int) io.Writer

func (*FakeController) WithSyscallTraceCallCount

func (fake *FakeController) WithSyscallTraceCallCount() int

func (*FakeController) WithSyscallTraceCalls

func (fake *FakeController) WithSyscallTraceCalls(stub func(io.Writer))

Jump to

Keyboard shortcuts

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