fake_authenticators

package
v0.0.0-...-9bf9460 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

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)

Jump to

Keyboard shortcuts

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