tsafakes

package
v6.7.3-0...-1f455d7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 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 FakeConn

type FakeConn struct {
	ClientVersionStub func() []byte

	CloseStub func() error

	LocalAddrStub func() net.Addr

	OpenChannelStub func(string, []byte) (ssh.Channel, <-chan *ssh.Request, error)

	RemoteAddrStub func() net.Addr

	SendRequestStub func(string, bool, []byte) (bool, []byte, error)

	ServerVersionStub func() []byte

	SessionIDStub func() []byte

	UserStub func() string

	WaitStub func() error
	// contains filtered or unexported fields
}

func (*FakeConn) ClientVersion

func (fake *FakeConn) ClientVersion() []byte

func (*FakeConn) ClientVersionCallCount

func (fake *FakeConn) ClientVersionCallCount() int

func (*FakeConn) ClientVersionCalls

func (fake *FakeConn) ClientVersionCalls(stub func() []byte)

func (*FakeConn) ClientVersionReturns

func (fake *FakeConn) ClientVersionReturns(result1 []byte)

func (*FakeConn) ClientVersionReturnsOnCall

func (fake *FakeConn) ClientVersionReturnsOnCall(i int, result1 []byte)

func (*FakeConn) Close

func (fake *FakeConn) Close() error

func (*FakeConn) CloseCallCount

func (fake *FakeConn) CloseCallCount() int

func (*FakeConn) CloseCalls

func (fake *FakeConn) CloseCalls(stub func() error)

func (*FakeConn) CloseReturns

func (fake *FakeConn) CloseReturns(result1 error)

func (*FakeConn) CloseReturnsOnCall

func (fake *FakeConn) CloseReturnsOnCall(i int, result1 error)

func (*FakeConn) Invocations

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

func (*FakeConn) LocalAddr

func (fake *FakeConn) LocalAddr() net.Addr

func (*FakeConn) LocalAddrCallCount

func (fake *FakeConn) LocalAddrCallCount() int

func (*FakeConn) LocalAddrCalls

func (fake *FakeConn) LocalAddrCalls(stub func() net.Addr)

func (*FakeConn) LocalAddrReturns

func (fake *FakeConn) LocalAddrReturns(result1 net.Addr)

func (*FakeConn) LocalAddrReturnsOnCall

func (fake *FakeConn) LocalAddrReturnsOnCall(i int, result1 net.Addr)

func (*FakeConn) OpenChannel

func (fake *FakeConn) OpenChannel(arg1 string, arg2 []byte) (ssh.Channel, <-chan *ssh.Request, error)

func (*FakeConn) OpenChannelArgsForCall

func (fake *FakeConn) OpenChannelArgsForCall(i int) (string, []byte)

func (*FakeConn) OpenChannelCallCount

func (fake *FakeConn) OpenChannelCallCount() int

func (*FakeConn) OpenChannelCalls

func (fake *FakeConn) OpenChannelCalls(stub func(string, []byte) (ssh.Channel, <-chan *ssh.Request, error))

func (*FakeConn) OpenChannelReturns

func (fake *FakeConn) OpenChannelReturns(result1 ssh.Channel, result2 <-chan *ssh.Request, result3 error)

func (*FakeConn) OpenChannelReturnsOnCall

func (fake *FakeConn) OpenChannelReturnsOnCall(i int, result1 ssh.Channel, result2 <-chan *ssh.Request, result3 error)

func (*FakeConn) RemoteAddr

func (fake *FakeConn) RemoteAddr() net.Addr

func (*FakeConn) RemoteAddrCallCount

func (fake *FakeConn) RemoteAddrCallCount() int

func (*FakeConn) RemoteAddrCalls

func (fake *FakeConn) RemoteAddrCalls(stub func() net.Addr)

func (*FakeConn) RemoteAddrReturns

func (fake *FakeConn) RemoteAddrReturns(result1 net.Addr)

func (*FakeConn) RemoteAddrReturnsOnCall

func (fake *FakeConn) RemoteAddrReturnsOnCall(i int, result1 net.Addr)

func (*FakeConn) SendRequest

func (fake *FakeConn) SendRequest(arg1 string, arg2 bool, arg3 []byte) (bool, []byte, error)

func (*FakeConn) SendRequestArgsForCall

func (fake *FakeConn) SendRequestArgsForCall(i int) (string, bool, []byte)

func (*FakeConn) SendRequestCallCount

func (fake *FakeConn) SendRequestCallCount() int

func (*FakeConn) SendRequestCalls

func (fake *FakeConn) SendRequestCalls(stub func(string, bool, []byte) (bool, []byte, error))

func (*FakeConn) SendRequestReturns

func (fake *FakeConn) SendRequestReturns(result1 bool, result2 []byte, result3 error)

func (*FakeConn) SendRequestReturnsOnCall

func (fake *FakeConn) SendRequestReturnsOnCall(i int, result1 bool, result2 []byte, result3 error)

func (*FakeConn) ServerVersion

func (fake *FakeConn) ServerVersion() []byte

func (*FakeConn) ServerVersionCallCount

func (fake *FakeConn) ServerVersionCallCount() int

func (*FakeConn) ServerVersionCalls

func (fake *FakeConn) ServerVersionCalls(stub func() []byte)

func (*FakeConn) ServerVersionReturns

func (fake *FakeConn) ServerVersionReturns(result1 []byte)

func (*FakeConn) ServerVersionReturnsOnCall

func (fake *FakeConn) ServerVersionReturnsOnCall(i int, result1 []byte)

func (*FakeConn) SessionID

func (fake *FakeConn) SessionID() []byte

func (*FakeConn) SessionIDCallCount

func (fake *FakeConn) SessionIDCallCount() int

func (*FakeConn) SessionIDCalls

func (fake *FakeConn) SessionIDCalls(stub func() []byte)

func (*FakeConn) SessionIDReturns

func (fake *FakeConn) SessionIDReturns(result1 []byte)

func (*FakeConn) SessionIDReturnsOnCall

func (fake *FakeConn) SessionIDReturnsOnCall(i int, result1 []byte)

func (*FakeConn) User

func (fake *FakeConn) User() string

func (*FakeConn) UserCallCount

func (fake *FakeConn) UserCallCount() int

func (*FakeConn) UserCalls

func (fake *FakeConn) UserCalls(stub func() string)

func (*FakeConn) UserReturns

func (fake *FakeConn) UserReturns(result1 string)

func (*FakeConn) UserReturnsOnCall

func (fake *FakeConn) UserReturnsOnCall(i int, result1 string)

func (*FakeConn) Wait

func (fake *FakeConn) Wait() error

func (*FakeConn) WaitCallCount

func (fake *FakeConn) WaitCallCount() int

func (*FakeConn) WaitCalls

func (fake *FakeConn) WaitCalls(stub func() error)

func (*FakeConn) WaitReturns

func (fake *FakeConn) WaitReturns(result1 error)

func (*FakeConn) WaitReturnsOnCall

func (fake *FakeConn) WaitReturnsOnCall(i int, result1 error)

type FakeEndpointPicker

type FakeEndpointPicker struct {
	PickStub func() *rata.RequestGenerator
	// contains filtered or unexported fields
}

func (*FakeEndpointPicker) Invocations

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

func (*FakeEndpointPicker) Pick

func (*FakeEndpointPicker) PickCallCount

func (fake *FakeEndpointPicker) PickCallCount() int

func (*FakeEndpointPicker) PickCalls

func (fake *FakeEndpointPicker) PickCalls(stub func() *rata.RequestGenerator)

func (*FakeEndpointPicker) PickReturns

func (fake *FakeEndpointPicker) PickReturns(result1 *rata.RequestGenerator)

func (*FakeEndpointPicker) PickReturnsOnCall

func (fake *FakeEndpointPicker) PickReturnsOnCall(i int, result1 *rata.RequestGenerator)

Jump to

Keyboard shortcuts

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