Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeChannel
- func (fake *FakeChannel) Close() error
- func (fake *FakeChannel) CloseCallCount() int
- func (fake *FakeChannel) CloseReturns(result1 error)
- func (fake *FakeChannel) CloseWrite() error
- func (fake *FakeChannel) CloseWriteCallCount() int
- func (fake *FakeChannel) CloseWriteReturns(result1 error)
- func (fake *FakeChannel) Read(data []byte) (int, error)
- func (fake *FakeChannel) ReadArgsForCall(i int) []byte
- func (fake *FakeChannel) ReadCallCount() int
- func (fake *FakeChannel) ReadReturns(result1 int, result2 error)
- func (fake *FakeChannel) SendRequest(name string, wantReply bool, payload []byte) (bool, error)
- func (fake *FakeChannel) SendRequestArgsForCall(i int) (string, bool, []byte)
- func (fake *FakeChannel) SendRequestCallCount() int
- func (fake *FakeChannel) SendRequestReturns(result1 bool, result2 error)
- func (fake *FakeChannel) Stderr() io.ReadWriter
- func (fake *FakeChannel) StderrCallCount() int
- func (fake *FakeChannel) StderrReturns(result1 io.ReadWriter)
- func (fake *FakeChannel) Write(data []byte) (int, error)
- func (fake *FakeChannel) WriteArgsForCall(i int) []byte
- func (fake *FakeChannel) WriteCallCount() int
- func (fake *FakeChannel) WriteReturns(result1 int, result2 error)
- type FakeConn
- func (fake *FakeConn) ClientVersion() []byte
- func (fake *FakeConn) ClientVersionCallCount() int
- func (fake *FakeConn) ClientVersionReturns(result1 []byte)
- func (fake *FakeConn) Close() error
- func (fake *FakeConn) CloseCallCount() int
- func (fake *FakeConn) CloseReturns(result1 error)
- func (fake *FakeConn) LocalAddr() net.Addr
- func (fake *FakeConn) LocalAddrCallCount() int
- func (fake *FakeConn) LocalAddrReturns(result1 net.Addr)
- func (fake *FakeConn) OpenChannel(name string, data []byte) (ssh.Channel, <-chan *ssh.Request, error)
- func (fake *FakeConn) OpenChannelArgsForCall(i int) (string, []byte)
- func (fake *FakeConn) OpenChannelCallCount() int
- func (fake *FakeConn) OpenChannelReturns(result1 ssh.Channel, result2 <-chan *ssh.Request, result3 error)
- func (fake *FakeConn) RemoteAddr() net.Addr
- func (fake *FakeConn) RemoteAddrCallCount() int
- func (fake *FakeConn) RemoteAddrReturns(result1 net.Addr)
- func (fake *FakeConn) SendRequest(name string, wantReply bool, payload []byte) (bool, []byte, error)
- func (fake *FakeConn) SendRequestArgsForCall(i int) (string, bool, []byte)
- func (fake *FakeConn) SendRequestCallCount() int
- func (fake *FakeConn) SendRequestReturns(result1 bool, result2 []byte, result3 error)
- func (fake *FakeConn) ServerVersion() []byte
- func (fake *FakeConn) ServerVersionCallCount() int
- func (fake *FakeConn) ServerVersionReturns(result1 []byte)
- func (fake *FakeConn) SessionID() []byte
- func (fake *FakeConn) SessionIDCallCount() int
- func (fake *FakeConn) SessionIDReturns(result1 []byte)
- func (fake *FakeConn) User() string
- func (fake *FakeConn) UserCallCount() int
- func (fake *FakeConn) UserReturns(result1 string)
- func (fake *FakeConn) Wait() error
- func (fake *FakeConn) WaitCallCount() int
- func (fake *FakeConn) WaitReturns(result1 error)
- type FakeConnMetadata
- func (fake *FakeConnMetadata) ClientVersion() []byte
- func (fake *FakeConnMetadata) ClientVersionCallCount() int
- func (fake *FakeConnMetadata) ClientVersionReturns(result1 []byte)
- func (fake *FakeConnMetadata) LocalAddr() net.Addr
- func (fake *FakeConnMetadata) LocalAddrCallCount() int
- func (fake *FakeConnMetadata) LocalAddrReturns(result1 net.Addr)
- func (fake *FakeConnMetadata) RemoteAddr() net.Addr
- func (fake *FakeConnMetadata) RemoteAddrCallCount() int
- func (fake *FakeConnMetadata) RemoteAddrReturns(result1 net.Addr)
- func (fake *FakeConnMetadata) ServerVersion() []byte
- func (fake *FakeConnMetadata) ServerVersionCallCount() int
- func (fake *FakeConnMetadata) ServerVersionReturns(result1 []byte)
- func (fake *FakeConnMetadata) SessionID() []byte
- func (fake *FakeConnMetadata) SessionIDCallCount() int
- func (fake *FakeConnMetadata) SessionIDReturns(result1 []byte)
- func (fake *FakeConnMetadata) User() string
- func (fake *FakeConnMetadata) UserCallCount() int
- func (fake *FakeConnMetadata) UserReturns(result1 string)
- type FakeNewChannel
- func (fake *FakeNewChannel) Accept() (ssh.Channel, <-chan *ssh.Request, error)
- func (fake *FakeNewChannel) AcceptCallCount() int
- func (fake *FakeNewChannel) AcceptReturns(result1 ssh.Channel, result2 <-chan *ssh.Request, result3 error)
- func (fake *FakeNewChannel) ChannelType() string
- func (fake *FakeNewChannel) ChannelTypeCallCount() int
- func (fake *FakeNewChannel) ChannelTypeReturns(result1 string)
- func (fake *FakeNewChannel) ExtraData() []byte
- func (fake *FakeNewChannel) ExtraDataCallCount() int
- func (fake *FakeNewChannel) ExtraDataReturns(result1 []byte)
- func (fake *FakeNewChannel) Reject(reason ssh.RejectionReason, message string) error
- func (fake *FakeNewChannel) RejectArgsForCall(i int) (ssh.RejectionReason, string)
- func (fake *FakeNewChannel) RejectCallCount() int
- func (fake *FakeNewChannel) RejectReturns(result1 error)
- type FakePublicKey
- func (fake *FakePublicKey) Marshal() []byte
- func (fake *FakePublicKey) MarshalCallCount() int
- func (fake *FakePublicKey) MarshalReturns(result1 []byte)
- func (fake *FakePublicKey) Type() string
- func (fake *FakePublicKey) TypeCallCount() int
- func (fake *FakePublicKey) TypeReturns(result1 string)
- func (fake *FakePublicKey) Verify(data []byte, sig *ssh.Signature) error
- func (fake *FakePublicKey) VerifyArgsForCall(i int) ([]byte, *ssh.Signature)
- func (fake *FakePublicKey) VerifyCallCount() int
- func (fake *FakePublicKey) VerifyReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeChannel ¶
type FakeChannel struct { ReadStub func(data []byte) (int, error) WriteStub func(data []byte) (int, error) CloseStub func() error CloseWriteStub func() error SendRequestStub func(name string, wantReply bool, payload []byte) (bool, error) StderrStub func() io.ReadWriter // contains filtered or unexported fields }
func (*FakeChannel) Close ¶
func (fake *FakeChannel) Close() error
func (*FakeChannel) CloseCallCount ¶
func (fake *FakeChannel) CloseCallCount() int
func (*FakeChannel) CloseReturns ¶
func (fake *FakeChannel) CloseReturns(result1 error)
func (*FakeChannel) CloseWrite ¶
func (fake *FakeChannel) CloseWrite() error
func (*FakeChannel) CloseWriteCallCount ¶
func (fake *FakeChannel) CloseWriteCallCount() int
func (*FakeChannel) CloseWriteReturns ¶
func (fake *FakeChannel) CloseWriteReturns(result1 error)
func (*FakeChannel) ReadArgsForCall ¶
func (fake *FakeChannel) ReadArgsForCall(i int) []byte
func (*FakeChannel) ReadCallCount ¶
func (fake *FakeChannel) ReadCallCount() int
func (*FakeChannel) ReadReturns ¶
func (fake *FakeChannel) ReadReturns(result1 int, result2 error)
func (*FakeChannel) SendRequest ¶
func (*FakeChannel) SendRequestArgsForCall ¶
func (fake *FakeChannel) SendRequestArgsForCall(i int) (string, bool, []byte)
func (*FakeChannel) SendRequestCallCount ¶
func (fake *FakeChannel) SendRequestCallCount() int
func (*FakeChannel) SendRequestReturns ¶
func (fake *FakeChannel) SendRequestReturns(result1 bool, result2 error)
func (*FakeChannel) Stderr ¶
func (fake *FakeChannel) Stderr() io.ReadWriter
func (*FakeChannel) StderrCallCount ¶
func (fake *FakeChannel) StderrCallCount() int
func (*FakeChannel) StderrReturns ¶
func (fake *FakeChannel) StderrReturns(result1 io.ReadWriter)
func (*FakeChannel) WriteArgsForCall ¶
func (fake *FakeChannel) WriteArgsForCall(i int) []byte
func (*FakeChannel) WriteCallCount ¶
func (fake *FakeChannel) WriteCallCount() int
func (*FakeChannel) WriteReturns ¶
func (fake *FakeChannel) WriteReturns(result1 int, result2 error)
type FakeConn ¶
type FakeConn struct { UserStub func() string SessionIDStub func() []byte ClientVersionStub func() []byte ServerVersionStub func() []byte RemoteAddrStub func() net.Addr LocalAddrStub func() net.Addr SendRequestStub func(name string, wantReply bool, payload []byte) (bool, []byte, error) OpenChannelStub func(name string, data []byte) (ssh.Channel, <-chan *ssh.Request, error) CloseStub func() error WaitStub func() error // contains filtered or unexported fields }
func (*FakeConn) ClientVersion ¶
func (*FakeConn) ClientVersionCallCount ¶
func (*FakeConn) ClientVersionReturns ¶
func (*FakeConn) CloseCallCount ¶
func (*FakeConn) CloseReturns ¶
func (*FakeConn) LocalAddrCallCount ¶
func (*FakeConn) LocalAddrReturns ¶
func (*FakeConn) OpenChannel ¶
func (*FakeConn) OpenChannelArgsForCall ¶
func (*FakeConn) OpenChannelCallCount ¶
func (*FakeConn) OpenChannelReturns ¶
func (*FakeConn) RemoteAddr ¶
func (*FakeConn) RemoteAddrCallCount ¶
func (*FakeConn) RemoteAddrReturns ¶
func (*FakeConn) SendRequest ¶
func (*FakeConn) SendRequestArgsForCall ¶
func (*FakeConn) SendRequestCallCount ¶
func (*FakeConn) SendRequestReturns ¶
func (*FakeConn) ServerVersion ¶
func (*FakeConn) ServerVersionCallCount ¶
func (*FakeConn) ServerVersionReturns ¶
func (*FakeConn) SessionIDCallCount ¶
func (*FakeConn) SessionIDReturns ¶
func (*FakeConn) UserCallCount ¶
func (*FakeConn) UserReturns ¶
func (*FakeConn) WaitCallCount ¶
func (*FakeConn) WaitReturns ¶
type FakeConnMetadata ¶
type FakeConnMetadata struct { UserStub func() string SessionIDStub func() []byte ClientVersionStub func() []byte ServerVersionStub func() []byte RemoteAddrStub func() net.Addr LocalAddrStub func() net.Addr // contains filtered or unexported fields }
func (*FakeConnMetadata) ClientVersion ¶
func (fake *FakeConnMetadata) ClientVersion() []byte
func (*FakeConnMetadata) ClientVersionCallCount ¶
func (fake *FakeConnMetadata) ClientVersionCallCount() int
func (*FakeConnMetadata) ClientVersionReturns ¶
func (fake *FakeConnMetadata) ClientVersionReturns(result1 []byte)
func (*FakeConnMetadata) LocalAddr ¶
func (fake *FakeConnMetadata) LocalAddr() net.Addr
func (*FakeConnMetadata) LocalAddrCallCount ¶
func (fake *FakeConnMetadata) LocalAddrCallCount() int
func (*FakeConnMetadata) LocalAddrReturns ¶
func (fake *FakeConnMetadata) LocalAddrReturns(result1 net.Addr)
func (*FakeConnMetadata) RemoteAddr ¶
func (fake *FakeConnMetadata) RemoteAddr() net.Addr
func (*FakeConnMetadata) RemoteAddrCallCount ¶
func (fake *FakeConnMetadata) RemoteAddrCallCount() int
func (*FakeConnMetadata) RemoteAddrReturns ¶
func (fake *FakeConnMetadata) RemoteAddrReturns(result1 net.Addr)
func (*FakeConnMetadata) ServerVersion ¶
func (fake *FakeConnMetadata) ServerVersion() []byte
func (*FakeConnMetadata) ServerVersionCallCount ¶
func (fake *FakeConnMetadata) ServerVersionCallCount() int
func (*FakeConnMetadata) ServerVersionReturns ¶
func (fake *FakeConnMetadata) ServerVersionReturns(result1 []byte)
func (*FakeConnMetadata) SessionID ¶
func (fake *FakeConnMetadata) SessionID() []byte
func (*FakeConnMetadata) SessionIDCallCount ¶
func (fake *FakeConnMetadata) SessionIDCallCount() int
func (*FakeConnMetadata) SessionIDReturns ¶
func (fake *FakeConnMetadata) SessionIDReturns(result1 []byte)
func (*FakeConnMetadata) User ¶
func (fake *FakeConnMetadata) User() string
func (*FakeConnMetadata) UserCallCount ¶
func (fake *FakeConnMetadata) UserCallCount() int
func (*FakeConnMetadata) UserReturns ¶
func (fake *FakeConnMetadata) UserReturns(result1 string)
type FakeNewChannel ¶
type FakeNewChannel struct { AcceptStub func() (ssh.Channel, <-chan *ssh.Request, error) RejectStub func(reason ssh.RejectionReason, message string) error ChannelTypeStub func() string ExtraDataStub func() []byte // contains filtered or unexported fields }
func (*FakeNewChannel) AcceptCallCount ¶
func (fake *FakeNewChannel) AcceptCallCount() int
func (*FakeNewChannel) AcceptReturns ¶
func (*FakeNewChannel) ChannelType ¶
func (fake *FakeNewChannel) ChannelType() string
func (*FakeNewChannel) ChannelTypeCallCount ¶
func (fake *FakeNewChannel) ChannelTypeCallCount() int
func (*FakeNewChannel) ChannelTypeReturns ¶
func (fake *FakeNewChannel) ChannelTypeReturns(result1 string)
func (*FakeNewChannel) ExtraData ¶
func (fake *FakeNewChannel) ExtraData() []byte
func (*FakeNewChannel) ExtraDataCallCount ¶
func (fake *FakeNewChannel) ExtraDataCallCount() int
func (*FakeNewChannel) ExtraDataReturns ¶
func (fake *FakeNewChannel) ExtraDataReturns(result1 []byte)
func (*FakeNewChannel) Reject ¶
func (fake *FakeNewChannel) Reject(reason ssh.RejectionReason, message string) error
func (*FakeNewChannel) RejectArgsForCall ¶
func (fake *FakeNewChannel) RejectArgsForCall(i int) (ssh.RejectionReason, string)
func (*FakeNewChannel) RejectCallCount ¶
func (fake *FakeNewChannel) RejectCallCount() int
func (*FakeNewChannel) RejectReturns ¶
func (fake *FakeNewChannel) RejectReturns(result1 error)
type FakePublicKey ¶
type FakePublicKey struct { TypeStub func() string MarshalStub func() []byte VerifyStub func(data []byte, sig *ssh.Signature) error // contains filtered or unexported fields }
func (*FakePublicKey) Marshal ¶
func (fake *FakePublicKey) Marshal() []byte
func (*FakePublicKey) MarshalCallCount ¶
func (fake *FakePublicKey) MarshalCallCount() int
func (*FakePublicKey) MarshalReturns ¶
func (fake *FakePublicKey) MarshalReturns(result1 []byte)
func (*FakePublicKey) Type ¶
func (fake *FakePublicKey) Type() string
func (*FakePublicKey) TypeCallCount ¶
func (fake *FakePublicKey) TypeCallCount() int
func (*FakePublicKey) TypeReturns ¶
func (fake *FakePublicKey) TypeReturns(result1 string)
func (*FakePublicKey) Verify ¶
func (fake *FakePublicKey) Verify(data []byte, sig *ssh.Signature) error
func (*FakePublicKey) VerifyArgsForCall ¶
func (fake *FakePublicKey) VerifyArgsForCall(i int) ([]byte, *ssh.Signature)
func (*FakePublicKey) VerifyCallCount ¶
func (fake *FakePublicKey) VerifyCallCount() int
func (*FakePublicKey) VerifyReturns ¶
func (fake *FakePublicKey) VerifyReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.