fake_keys

package
v0.0.0-...-f465a65 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

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)

Jump to

Keyboard shortcuts

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