Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakePasswordAuthenticator
- func (fake *FakePasswordAuthenticator) Authenticate(metadata ssh.ConnMetadata, password []byte) (*ssh.Permissions, error)
- func (fake *FakePasswordAuthenticator) AuthenticateArgsForCall(i int) (ssh.ConnMetadata, []byte)
- func (fake *FakePasswordAuthenticator) AuthenticateCallCount() int
- func (fake *FakePasswordAuthenticator) AuthenticateReturns(result1 *ssh.Permissions, result2 error)
- func (fake *FakePasswordAuthenticator) Realm() string
- func (fake *FakePasswordAuthenticator) RealmCallCount() int
- func (fake *FakePasswordAuthenticator) RealmReturns(result1 string)
- type FakePublicKeyAuthenticator
- func (fake *FakePublicKeyAuthenticator) Authenticate(metadata ssh.ConnMetadata, publicKey ssh.PublicKey) (*ssh.Permissions, error)
- func (fake *FakePublicKeyAuthenticator) AuthenticateArgsForCall(i int) (ssh.ConnMetadata, ssh.PublicKey)
- func (fake *FakePublicKeyAuthenticator) AuthenticateCallCount() int
- func (fake *FakePublicKeyAuthenticator) AuthenticateReturns(result1 *ssh.Permissions, result2 error)
- func (fake *FakePublicKeyAuthenticator) PublicKey() ssh.PublicKey
- func (fake *FakePublicKeyAuthenticator) PublicKeyCallCount() int
- func (fake *FakePublicKeyAuthenticator) PublicKeyReturns(result1 ssh.PublicKey)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePasswordAuthenticator ¶
type FakePasswordAuthenticator struct { AuthenticateStub func(metadata ssh.ConnMetadata, password []byte) (*ssh.Permissions, error) RealmStub func() string // contains filtered or unexported fields }
func (*FakePasswordAuthenticator) Authenticate ¶
func (fake *FakePasswordAuthenticator) Authenticate(metadata ssh.ConnMetadata, password []byte) (*ssh.Permissions, error)
func (*FakePasswordAuthenticator) AuthenticateArgsForCall ¶
func (fake *FakePasswordAuthenticator) AuthenticateArgsForCall(i int) (ssh.ConnMetadata, []byte)
func (*FakePasswordAuthenticator) AuthenticateCallCount ¶
func (fake *FakePasswordAuthenticator) AuthenticateCallCount() int
func (*FakePasswordAuthenticator) AuthenticateReturns ¶
func (fake *FakePasswordAuthenticator) AuthenticateReturns(result1 *ssh.Permissions, result2 error)
func (*FakePasswordAuthenticator) Realm ¶
func (fake *FakePasswordAuthenticator) Realm() string
func (*FakePasswordAuthenticator) RealmCallCount ¶
func (fake *FakePasswordAuthenticator) RealmCallCount() int
func (*FakePasswordAuthenticator) RealmReturns ¶
func (fake *FakePasswordAuthenticator) RealmReturns(result1 string)
type FakePublicKeyAuthenticator ¶
type FakePublicKeyAuthenticator struct { AuthenticateStub func(metadata ssh.ConnMetadata, publicKey ssh.PublicKey) (*ssh.Permissions, error) PublicKeyStub func() ssh.PublicKey // contains filtered or unexported fields }
func (*FakePublicKeyAuthenticator) Authenticate ¶
func (fake *FakePublicKeyAuthenticator) Authenticate(metadata ssh.ConnMetadata, publicKey ssh.PublicKey) (*ssh.Permissions, error)
func (*FakePublicKeyAuthenticator) AuthenticateArgsForCall ¶
func (fake *FakePublicKeyAuthenticator) AuthenticateArgsForCall(i int) (ssh.ConnMetadata, ssh.PublicKey)
func (*FakePublicKeyAuthenticator) AuthenticateCallCount ¶
func (fake *FakePublicKeyAuthenticator) AuthenticateCallCount() int
func (*FakePublicKeyAuthenticator) AuthenticateReturns ¶
func (fake *FakePublicKeyAuthenticator) AuthenticateReturns(result1 *ssh.Permissions, result2 error)
func (*FakePublicKeyAuthenticator) PublicKey ¶
func (fake *FakePublicKeyAuthenticator) PublicKey() ssh.PublicKey
func (*FakePublicKeyAuthenticator) PublicKeyCallCount ¶
func (fake *FakePublicKeyAuthenticator) PublicKeyCallCount() int
func (*FakePublicKeyAuthenticator) PublicKeyReturns ¶
func (fake *FakePublicKeyAuthenticator) PublicKeyReturns(result1 ssh.PublicKey)
Click to show internal directories.
Click to hide internal directories.