inertia: github.com/ubclaunchpad/inertia/client/runner/mocks Index | Files

package mocks

import "github.com/ubclaunchpad/inertia/client/runner/mocks"

Package mocks provides mocked implmentations of interfaces in client/runner

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

doc.go session.go

type FakeSSHSession Uses

type FakeSSHSession struct {
    CopyFileStub func(io.Reader, string, string) error

    RunStub func(string) (*bytes.Buffer, *bytes.Buffer, error)

    RunSessionStub func(...string) error

    RunStreamStub func(string, bool) error
    // contains filtered or unexported fields
}

func (*FakeSSHSession) CopyFile Uses

func (fake *FakeSSHSession) CopyFile(arg1 io.Reader, arg2 string, arg3 string) error

func (*FakeSSHSession) CopyFileArgsForCall Uses

func (fake *FakeSSHSession) CopyFileArgsForCall(i int) (io.Reader, string, string)

func (*FakeSSHSession) CopyFileCallCount Uses

func (fake *FakeSSHSession) CopyFileCallCount() int

func (*FakeSSHSession) CopyFileCalls Uses

func (fake *FakeSSHSession) CopyFileCalls(stub func(io.Reader, string, string) error)

func (*FakeSSHSession) CopyFileReturns Uses

func (fake *FakeSSHSession) CopyFileReturns(result1 error)

func (*FakeSSHSession) CopyFileReturnsOnCall Uses

func (fake *FakeSSHSession) CopyFileReturnsOnCall(i int, result1 error)

func (*FakeSSHSession) Invocations Uses

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

func (*FakeSSHSession) Run Uses

func (fake *FakeSSHSession) Run(arg1 string) (*bytes.Buffer, *bytes.Buffer, error)

func (*FakeSSHSession) RunArgsForCall Uses

func (fake *FakeSSHSession) RunArgsForCall(i int) string

func (*FakeSSHSession) RunCallCount Uses

func (fake *FakeSSHSession) RunCallCount() int

func (*FakeSSHSession) RunCalls Uses

func (fake *FakeSSHSession) RunCalls(stub func(string) (*bytes.Buffer, *bytes.Buffer, error))

func (*FakeSSHSession) RunReturns Uses

func (fake *FakeSSHSession) RunReturns(result1 *bytes.Buffer, result2 *bytes.Buffer, result3 error)

func (*FakeSSHSession) RunReturnsOnCall Uses

func (fake *FakeSSHSession) RunReturnsOnCall(i int, result1 *bytes.Buffer, result2 *bytes.Buffer, result3 error)

func (*FakeSSHSession) RunSession Uses

func (fake *FakeSSHSession) RunSession(arg1 ...string) error

func (*FakeSSHSession) RunSessionArgsForCall Uses

func (fake *FakeSSHSession) RunSessionArgsForCall(i int) []string

func (*FakeSSHSession) RunSessionCallCount Uses

func (fake *FakeSSHSession) RunSessionCallCount() int

func (*FakeSSHSession) RunSessionCalls Uses

func (fake *FakeSSHSession) RunSessionCalls(stub func(...string) error)

func (*FakeSSHSession) RunSessionReturns Uses

func (fake *FakeSSHSession) RunSessionReturns(result1 error)

func (*FakeSSHSession) RunSessionReturnsOnCall Uses

func (fake *FakeSSHSession) RunSessionReturnsOnCall(i int, result1 error)

func (*FakeSSHSession) RunStream Uses

func (fake *FakeSSHSession) RunStream(arg1 string, arg2 bool) error

func (*FakeSSHSession) RunStreamArgsForCall Uses

func (fake *FakeSSHSession) RunStreamArgsForCall(i int) (string, bool)

func (*FakeSSHSession) RunStreamCallCount Uses

func (fake *FakeSSHSession) RunStreamCallCount() int

func (*FakeSSHSession) RunStreamCalls Uses

func (fake *FakeSSHSession) RunStreamCalls(stub func(string, bool) error)

func (*FakeSSHSession) RunStreamReturns Uses

func (fake *FakeSSHSession) RunStreamReturns(result1 error)

func (*FakeSSHSession) RunStreamReturnsOnCall Uses

func (fake *FakeSSHSession) RunStreamReturnsOnCall(i int, result1 error)

Package mocks imports 4 packages (graph). Updated 2021-01-28. Refresh now. Tools for package owners.