fakes

package
v0.0.689-g824a7d4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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 FakeGenerator

type FakeGenerator struct {
	GenerateCertificateStub func(string, credsgen.CertificateGenerationRequest) (credsgen.Certificate, error)

	GenerateCertificateSigningRequestStub func(credsgen.CertificateGenerationRequest) ([]byte, []byte, error)

	GeneratePasswordStub func(string, credsgen.PasswordGenerationRequest) string

	GenerateRSAKeyStub func(string) (credsgen.RSAKey, error)

	GenerateSSHKeyStub func(string) (credsgen.SSHKey, error)
	// contains filtered or unexported fields
}

func (*FakeGenerator) GenerateCertificate

func (fake *FakeGenerator) GenerateCertificate(arg1 string, arg2 credsgen.CertificateGenerationRequest) (credsgen.Certificate, error)

func (*FakeGenerator) GenerateCertificateArgsForCall

func (fake *FakeGenerator) GenerateCertificateArgsForCall(i int) (string, credsgen.CertificateGenerationRequest)

func (*FakeGenerator) GenerateCertificateCallCount

func (fake *FakeGenerator) GenerateCertificateCallCount() int

func (*FakeGenerator) GenerateCertificateCalls

func (fake *FakeGenerator) GenerateCertificateCalls(stub func(string, credsgen.CertificateGenerationRequest) (credsgen.Certificate, error))

func (*FakeGenerator) GenerateCertificateReturns

func (fake *FakeGenerator) GenerateCertificateReturns(result1 credsgen.Certificate, result2 error)

func (*FakeGenerator) GenerateCertificateReturnsOnCall

func (fake *FakeGenerator) GenerateCertificateReturnsOnCall(i int, result1 credsgen.Certificate, result2 error)

func (*FakeGenerator) GenerateCertificateSigningRequest

func (fake *FakeGenerator) GenerateCertificateSigningRequest(arg1 credsgen.CertificateGenerationRequest) ([]byte, []byte, error)

func (*FakeGenerator) GenerateCertificateSigningRequestArgsForCall

func (fake *FakeGenerator) GenerateCertificateSigningRequestArgsForCall(i int) credsgen.CertificateGenerationRequest

func (*FakeGenerator) GenerateCertificateSigningRequestCallCount

func (fake *FakeGenerator) GenerateCertificateSigningRequestCallCount() int

func (*FakeGenerator) GenerateCertificateSigningRequestCalls

func (fake *FakeGenerator) GenerateCertificateSigningRequestCalls(stub func(credsgen.CertificateGenerationRequest) ([]byte, []byte, error))

func (*FakeGenerator) GenerateCertificateSigningRequestReturns

func (fake *FakeGenerator) GenerateCertificateSigningRequestReturns(result1 []byte, result2 []byte, result3 error)

func (*FakeGenerator) GenerateCertificateSigningRequestReturnsOnCall

func (fake *FakeGenerator) GenerateCertificateSigningRequestReturnsOnCall(i int, result1 []byte, result2 []byte, result3 error)

func (*FakeGenerator) GeneratePassword

func (fake *FakeGenerator) GeneratePassword(arg1 string, arg2 credsgen.PasswordGenerationRequest) string

func (*FakeGenerator) GeneratePasswordArgsForCall

func (fake *FakeGenerator) GeneratePasswordArgsForCall(i int) (string, credsgen.PasswordGenerationRequest)

func (*FakeGenerator) GeneratePasswordCallCount

func (fake *FakeGenerator) GeneratePasswordCallCount() int

func (*FakeGenerator) GeneratePasswordCalls

func (fake *FakeGenerator) GeneratePasswordCalls(stub func(string, credsgen.PasswordGenerationRequest) string)

func (*FakeGenerator) GeneratePasswordReturns

func (fake *FakeGenerator) GeneratePasswordReturns(result1 string)

func (*FakeGenerator) GeneratePasswordReturnsOnCall

func (fake *FakeGenerator) GeneratePasswordReturnsOnCall(i int, result1 string)

func (*FakeGenerator) GenerateRSAKey

func (fake *FakeGenerator) GenerateRSAKey(arg1 string) (credsgen.RSAKey, error)

func (*FakeGenerator) GenerateRSAKeyArgsForCall

func (fake *FakeGenerator) GenerateRSAKeyArgsForCall(i int) string

func (*FakeGenerator) GenerateRSAKeyCallCount

func (fake *FakeGenerator) GenerateRSAKeyCallCount() int

func (*FakeGenerator) GenerateRSAKeyCalls

func (fake *FakeGenerator) GenerateRSAKeyCalls(stub func(string) (credsgen.RSAKey, error))

func (*FakeGenerator) GenerateRSAKeyReturns

func (fake *FakeGenerator) GenerateRSAKeyReturns(result1 credsgen.RSAKey, result2 error)

func (*FakeGenerator) GenerateRSAKeyReturnsOnCall

func (fake *FakeGenerator) GenerateRSAKeyReturnsOnCall(i int, result1 credsgen.RSAKey, result2 error)

func (*FakeGenerator) GenerateSSHKey

func (fake *FakeGenerator) GenerateSSHKey(arg1 string) (credsgen.SSHKey, error)

func (*FakeGenerator) GenerateSSHKeyArgsForCall

func (fake *FakeGenerator) GenerateSSHKeyArgsForCall(i int) string

func (*FakeGenerator) GenerateSSHKeyCallCount

func (fake *FakeGenerator) GenerateSSHKeyCallCount() int

func (*FakeGenerator) GenerateSSHKeyCalls

func (fake *FakeGenerator) GenerateSSHKeyCalls(stub func(string) (credsgen.SSHKey, error))

func (*FakeGenerator) GenerateSSHKeyReturns

func (fake *FakeGenerator) GenerateSSHKeyReturns(result1 credsgen.SSHKey, result2 error)

func (*FakeGenerator) GenerateSSHKeyReturnsOnCall

func (fake *FakeGenerator) GenerateSSHKeyReturnsOnCall(i int, result1 credsgen.SSHKey, result2 error)

func (*FakeGenerator) Invocations

func (fake *FakeGenerator) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

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