Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeKeyPair
- func (fake *FakeKeyPair) AuthorizedKey() string
- func (fake *FakeKeyPair) AuthorizedKeyCallCount() int
- func (fake *FakeKeyPair) AuthorizedKeyCalls(stub func() string)
- func (fake *FakeKeyPair) AuthorizedKeyReturns(result1 string)
- func (fake *FakeKeyPair) AuthorizedKeyReturnsOnCall(i int, result1 string)
- func (fake *FakeKeyPair) Fingerprint() string
- func (fake *FakeKeyPair) FingerprintCallCount() int
- func (fake *FakeKeyPair) FingerprintCalls(stub func() string)
- func (fake *FakeKeyPair) FingerprintReturns(result1 string)
- func (fake *FakeKeyPair) FingerprintReturnsOnCall(i int, result1 string)
- func (fake *FakeKeyPair) Invocations() map[string][][]interface{}
- func (fake *FakeKeyPair) PEMEncodedPrivateKey() string
- func (fake *FakeKeyPair) PEMEncodedPrivateKeyCallCount() int
- func (fake *FakeKeyPair) PEMEncodedPrivateKeyCalls(stub func() string)
- func (fake *FakeKeyPair) PEMEncodedPrivateKeyReturns(result1 string)
- func (fake *FakeKeyPair) PEMEncodedPrivateKeyReturnsOnCall(i int, result1 string)
- func (fake *FakeKeyPair) PrivateKey() ssh.Signer
- func (fake *FakeKeyPair) PrivateKeyCallCount() int
- func (fake *FakeKeyPair) PrivateKeyCalls(stub func() ssh.Signer)
- func (fake *FakeKeyPair) PrivateKeyReturns(result1 ssh.Signer)
- func (fake *FakeKeyPair) PrivateKeyReturnsOnCall(i int, result1 ssh.Signer)
- func (fake *FakeKeyPair) PublicKey() ssh.PublicKey
- func (fake *FakeKeyPair) PublicKeyCallCount() int
- func (fake *FakeKeyPair) PublicKeyCalls(stub func() ssh.PublicKey)
- func (fake *FakeKeyPair) PublicKeyReturns(result1 ssh.PublicKey)
- func (fake *FakeKeyPair) PublicKeyReturnsOnCall(i int, result1 ssh.PublicKey)
- type FakeSSHKeyFactory
- func (fake *FakeSSHKeyFactory) Invocations() map[string][][]interface{}
- func (fake *FakeSSHKeyFactory) NewKeyPair(arg1 int) (keys.KeyPair, error)
- func (fake *FakeSSHKeyFactory) NewKeyPairArgsForCall(i int) int
- func (fake *FakeSSHKeyFactory) NewKeyPairCallCount() int
- func (fake *FakeSSHKeyFactory) NewKeyPairCalls(stub func(int) (keys.KeyPair, error))
- func (fake *FakeSSHKeyFactory) NewKeyPairReturns(result1 keys.KeyPair, result2 error)
- func (fake *FakeSSHKeyFactory) NewKeyPairReturnsOnCall(i int, result1 keys.KeyPair, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeKeyPair ¶
type FakeKeyPair struct { AuthorizedKeyStub func() string FingerprintStub func() string PEMEncodedPrivateKeyStub func() string PrivateKeyStub func() ssh.Signer PublicKeyStub func() ssh.PublicKey // contains filtered or unexported fields }
func (*FakeKeyPair) AuthorizedKey ¶
func (fake *FakeKeyPair) AuthorizedKey() string
func (*FakeKeyPair) AuthorizedKeyCallCount ¶
func (fake *FakeKeyPair) AuthorizedKeyCallCount() int
func (*FakeKeyPair) AuthorizedKeyCalls ¶
func (fake *FakeKeyPair) AuthorizedKeyCalls(stub func() string)
func (*FakeKeyPair) AuthorizedKeyReturns ¶
func (fake *FakeKeyPair) AuthorizedKeyReturns(result1 string)
func (*FakeKeyPair) AuthorizedKeyReturnsOnCall ¶
func (fake *FakeKeyPair) AuthorizedKeyReturnsOnCall(i int, result1 string)
func (*FakeKeyPair) Fingerprint ¶
func (fake *FakeKeyPair) Fingerprint() string
func (*FakeKeyPair) FingerprintCallCount ¶
func (fake *FakeKeyPair) FingerprintCallCount() int
func (*FakeKeyPair) FingerprintCalls ¶
func (fake *FakeKeyPair) FingerprintCalls(stub func() string)
func (*FakeKeyPair) FingerprintReturns ¶
func (fake *FakeKeyPair) FingerprintReturns(result1 string)
func (*FakeKeyPair) FingerprintReturnsOnCall ¶
func (fake *FakeKeyPair) FingerprintReturnsOnCall(i int, result1 string)
func (*FakeKeyPair) Invocations ¶
func (fake *FakeKeyPair) Invocations() map[string][][]interface{}
func (*FakeKeyPair) PEMEncodedPrivateKey ¶
func (fake *FakeKeyPair) PEMEncodedPrivateKey() string
func (*FakeKeyPair) PEMEncodedPrivateKeyCallCount ¶
func (fake *FakeKeyPair) PEMEncodedPrivateKeyCallCount() int
func (*FakeKeyPair) PEMEncodedPrivateKeyCalls ¶
func (fake *FakeKeyPair) PEMEncodedPrivateKeyCalls(stub func() string)
func (*FakeKeyPair) PEMEncodedPrivateKeyReturns ¶
func (fake *FakeKeyPair) PEMEncodedPrivateKeyReturns(result1 string)
func (*FakeKeyPair) PEMEncodedPrivateKeyReturnsOnCall ¶
func (fake *FakeKeyPair) PEMEncodedPrivateKeyReturnsOnCall(i int, result1 string)
func (*FakeKeyPair) PrivateKey ¶
func (fake *FakeKeyPair) PrivateKey() ssh.Signer
func (*FakeKeyPair) PrivateKeyCallCount ¶
func (fake *FakeKeyPair) PrivateKeyCallCount() int
func (*FakeKeyPair) PrivateKeyCalls ¶
func (fake *FakeKeyPair) PrivateKeyCalls(stub func() ssh.Signer)
func (*FakeKeyPair) PrivateKeyReturns ¶
func (fake *FakeKeyPair) PrivateKeyReturns(result1 ssh.Signer)
func (*FakeKeyPair) PrivateKeyReturnsOnCall ¶
func (fake *FakeKeyPair) PrivateKeyReturnsOnCall(i int, result1 ssh.Signer)
func (*FakeKeyPair) PublicKey ¶
func (fake *FakeKeyPair) PublicKey() ssh.PublicKey
func (*FakeKeyPair) PublicKeyCallCount ¶
func (fake *FakeKeyPair) PublicKeyCallCount() int
func (*FakeKeyPair) PublicKeyCalls ¶
func (fake *FakeKeyPair) PublicKeyCalls(stub func() ssh.PublicKey)
func (*FakeKeyPair) PublicKeyReturns ¶
func (fake *FakeKeyPair) PublicKeyReturns(result1 ssh.PublicKey)
func (*FakeKeyPair) PublicKeyReturnsOnCall ¶
func (fake *FakeKeyPair) PublicKeyReturnsOnCall(i int, result1 ssh.PublicKey)
type FakeSSHKeyFactory ¶
type FakeSSHKeyFactory struct { NewKeyPairStub func(int) (keys.KeyPair, error) // contains filtered or unexported fields }
func (*FakeSSHKeyFactory) Invocations ¶
func (fake *FakeSSHKeyFactory) Invocations() map[string][][]interface{}
func (*FakeSSHKeyFactory) NewKeyPair ¶
func (fake *FakeSSHKeyFactory) NewKeyPair(arg1 int) (keys.KeyPair, error)
func (*FakeSSHKeyFactory) NewKeyPairArgsForCall ¶
func (fake *FakeSSHKeyFactory) NewKeyPairArgsForCall(i int) int
func (*FakeSSHKeyFactory) NewKeyPairCallCount ¶
func (fake *FakeSSHKeyFactory) NewKeyPairCallCount() int
func (*FakeSSHKeyFactory) NewKeyPairCalls ¶
func (fake *FakeSSHKeyFactory) NewKeyPairCalls(stub func(int) (keys.KeyPair, error))
func (*FakeSSHKeyFactory) NewKeyPairReturns ¶
func (fake *FakeSSHKeyFactory) NewKeyPairReturns(result1 keys.KeyPair, result2 error)
func (*FakeSSHKeyFactory) NewKeyPairReturnsOnCall ¶
func (fake *FakeSSHKeyFactory) NewKeyPairReturnsOnCall(i int, result1 keys.KeyPair, result2 error)
Click to show internal directories.
Click to hide internal directories.