Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeKeyPair
- func (fake *FakeKeyPair) AuthorizedKey() string
- func (fake *FakeKeyPair) AuthorizedKeyCallCount() int
- func (fake *FakeKeyPair) AuthorizedKeyReturns(result1 string)
- func (fake *FakeKeyPair) Fingerprint() string
- func (fake *FakeKeyPair) FingerprintCallCount() int
- func (fake *FakeKeyPair) FingerprintReturns(result1 string)
- func (fake *FakeKeyPair) PEMEncodedPrivateKey() string
- func (fake *FakeKeyPair) PEMEncodedPrivateKeyCallCount() int
- func (fake *FakeKeyPair) PEMEncodedPrivateKeyReturns(result1 string)
- func (fake *FakeKeyPair) PrivateKey() ssh.Signer
- func (fake *FakeKeyPair) PrivateKeyCallCount() int
- func (fake *FakeKeyPair) PrivateKeyReturns(result1 ssh.Signer)
- func (fake *FakeKeyPair) PublicKey() ssh.PublicKey
- func (fake *FakeKeyPair) PublicKeyCallCount() int
- func (fake *FakeKeyPair) PublicKeyReturns(result1 ssh.PublicKey)
- type FakeSSHKeyFactory
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)
Click to show internal directories.
Click to hide internal directories.