fake_keys

package
v6.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 18, 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 FakeKeyPair

type FakeKeyPair struct {
	PrivateKeyStub func() ssh.Signer

	PEMEncodedPrivateKeyStub func() string

	PublicKeyStub func() ssh.PublicKey

	FingerprintStub func() string

	AuthorizedKeyStub func() string
	// contains filtered or unexported fields
}

func (*FakeKeyPair) AuthorizedKey

func (fake *FakeKeyPair) AuthorizedKey() string

func (*FakeKeyPair) AuthorizedKeyCallCount

func (fake *FakeKeyPair) AuthorizedKeyCallCount() int

func (*FakeKeyPair) AuthorizedKeyReturns

func (fake *FakeKeyPair) AuthorizedKeyReturns(result1 string)

func (*FakeKeyPair) Fingerprint

func (fake *FakeKeyPair) Fingerprint() string

func (*FakeKeyPair) FingerprintCallCount

func (fake *FakeKeyPair) FingerprintCallCount() int

func (*FakeKeyPair) FingerprintReturns

func (fake *FakeKeyPair) FingerprintReturns(result1 string)

func (*FakeKeyPair) PEMEncodedPrivateKey

func (fake *FakeKeyPair) PEMEncodedPrivateKey() string

func (*FakeKeyPair) PEMEncodedPrivateKeyCallCount

func (fake *FakeKeyPair) PEMEncodedPrivateKeyCallCount() int

func (*FakeKeyPair) PEMEncodedPrivateKeyReturns

func (fake *FakeKeyPair) PEMEncodedPrivateKeyReturns(result1 string)

func (*FakeKeyPair) PrivateKey

func (fake *FakeKeyPair) PrivateKey() ssh.Signer

func (*FakeKeyPair) PrivateKeyCallCount

func (fake *FakeKeyPair) PrivateKeyCallCount() int

func (*FakeKeyPair) PrivateKeyReturns

func (fake *FakeKeyPair) PrivateKeyReturns(result1 ssh.Signer)

func (*FakeKeyPair) PublicKey

func (fake *FakeKeyPair) PublicKey() ssh.PublicKey

func (*FakeKeyPair) PublicKeyCallCount

func (fake *FakeKeyPair) PublicKeyCallCount() int

func (*FakeKeyPair) PublicKeyReturns

func (fake *FakeKeyPair) PublicKeyReturns(result1 ssh.PublicKey)

type FakeSSHKeyFactory

type FakeSSHKeyFactory struct {
	NewKeyPairStub func(bits int) (keys.KeyPair, error)
	// contains filtered or unexported fields
}

func (*FakeSSHKeyFactory) NewKeyPair

func (fake *FakeSSHKeyFactory) NewKeyPair(bits int) (keys.KeyPair, error)

func (*FakeSSHKeyFactory) NewKeyPairArgsForCall

func (fake *FakeSSHKeyFactory) NewKeyPairArgsForCall(i int) int

func (*FakeSSHKeyFactory) NewKeyPairCallCount

func (fake *FakeSSHKeyFactory) NewKeyPairCallCount() int

func (*FakeSSHKeyFactory) NewKeyPairReturns

func (fake *FakeSSHKeyFactory) NewKeyPairReturns(result1 keys.KeyPair, result2 error)

Jump to

Keyboard shortcuts

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