certauthfakes

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeFactory

type FakeFactory struct {
	CreateStub func(string, string, map[string]interface{}) (certauth.Provider, error)
	// contains filtered or unexported fields
}

func (*FakeFactory) Create

func (fake *FakeFactory) Create(arg1 string, arg2 string, arg3 map[string]interface{}) (certauth.Provider, error)

func (*FakeFactory) CreateArgsForCall

func (fake *FakeFactory) CreateArgsForCall(i int) (string, string, map[string]interface{})

func (*FakeFactory) CreateCallCount

func (fake *FakeFactory) CreateCallCount() int

func (*FakeFactory) CreateCalls added in v0.19.0

func (fake *FakeFactory) CreateCalls(stub func(string, string, map[string]interface{}) (certauth.Provider, error))

func (*FakeFactory) CreateReturns

func (fake *FakeFactory) CreateReturns(result1 certauth.Provider, result2 error)

func (*FakeFactory) CreateReturnsOnCall added in v0.12.0

func (fake *FakeFactory) CreateReturnsOnCall(i int, result1 certauth.Provider, result2 error)

func (*FakeFactory) Invocations

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

type FakeManager

type FakeManager struct {
	AddStub func(certauth.Provider)

	GetStub func(string) (certauth.Provider, error)
	// contains filtered or unexported fields
}

func (*FakeManager) Add

func (fake *FakeManager) Add(arg1 certauth.Provider)

func (*FakeManager) AddArgsForCall

func (fake *FakeManager) AddArgsForCall(i int) certauth.Provider

func (*FakeManager) AddCallCount

func (fake *FakeManager) AddCallCount() int

func (*FakeManager) AddCalls added in v0.19.0

func (fake *FakeManager) AddCalls(stub func(certauth.Provider))

func (*FakeManager) Get

func (fake *FakeManager) Get(arg1 string) (certauth.Provider, error)

func (*FakeManager) GetArgsForCall

func (fake *FakeManager) GetArgsForCall(i int) string

func (*FakeManager) GetCallCount

func (fake *FakeManager) GetCallCount() int

func (*FakeManager) GetCalls added in v0.19.0

func (fake *FakeManager) GetCalls(stub func(string) (certauth.Provider, error))

func (*FakeManager) GetReturns

func (fake *FakeManager) GetReturns(result1 certauth.Provider, result2 error)

func (*FakeManager) GetReturnsOnCall added in v0.12.0

func (fake *FakeManager) GetReturnsOnCall(i int, result1 certauth.Provider, result2 error)

func (*FakeManager) Invocations

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

type FakeProvider

type FakeProvider struct {
	GetCertificateStub func() (*x509.Certificate, error)

	GetCertificatePEMStub func() (string, error)

	NameStub func() string

	SignCertificateStub func(*x509.Certificate, interface{}, logrus.Fields) ([]byte, error)

	SignSSHCertificateStub func(*ssh.Certificate, logrus.Fields) error
	// contains filtered or unexported fields
}

func (*FakeProvider) GetCertificate

func (fake *FakeProvider) GetCertificate() (*x509.Certificate, error)

func (*FakeProvider) GetCertificateCallCount

func (fake *FakeProvider) GetCertificateCallCount() int

func (*FakeProvider) GetCertificateCalls added in v0.19.0

func (fake *FakeProvider) GetCertificateCalls(stub func() (*x509.Certificate, error))

func (*FakeProvider) GetCertificatePEM

func (fake *FakeProvider) GetCertificatePEM() (string, error)

func (*FakeProvider) GetCertificatePEMCallCount

func (fake *FakeProvider) GetCertificatePEMCallCount() int

func (*FakeProvider) GetCertificatePEMCalls added in v0.19.0

func (fake *FakeProvider) GetCertificatePEMCalls(stub func() (string, error))

func (*FakeProvider) GetCertificatePEMReturns

func (fake *FakeProvider) GetCertificatePEMReturns(result1 string, result2 error)

func (*FakeProvider) GetCertificatePEMReturnsOnCall added in v0.12.0

func (fake *FakeProvider) GetCertificatePEMReturnsOnCall(i int, result1 string, result2 error)

func (*FakeProvider) GetCertificateReturns

func (fake *FakeProvider) GetCertificateReturns(result1 *x509.Certificate, result2 error)

func (*FakeProvider) GetCertificateReturnsOnCall added in v0.12.0

func (fake *FakeProvider) GetCertificateReturnsOnCall(i int, result1 *x509.Certificate, result2 error)

func (*FakeProvider) Invocations

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

func (*FakeProvider) Name

func (fake *FakeProvider) Name() string

func (*FakeProvider) NameCallCount

func (fake *FakeProvider) NameCallCount() int

func (*FakeProvider) NameCalls added in v0.19.0

func (fake *FakeProvider) NameCalls(stub func() string)

func (*FakeProvider) NameReturns

func (fake *FakeProvider) NameReturns(result1 string)

func (*FakeProvider) NameReturnsOnCall added in v0.12.0

func (fake *FakeProvider) NameReturnsOnCall(i int, result1 string)

func (*FakeProvider) SignCertificate

func (fake *FakeProvider) SignCertificate(arg1 *x509.Certificate, arg2 interface{}, arg3 logrus.Fields) ([]byte, error)

func (*FakeProvider) SignCertificateArgsForCall

func (fake *FakeProvider) SignCertificateArgsForCall(i int) (*x509.Certificate, interface{}, logrus.Fields)

func (*FakeProvider) SignCertificateCallCount

func (fake *FakeProvider) SignCertificateCallCount() int

func (*FakeProvider) SignCertificateCalls added in v0.19.0

func (fake *FakeProvider) SignCertificateCalls(stub func(*x509.Certificate, interface{}, logrus.Fields) ([]byte, error))

func (*FakeProvider) SignCertificateReturns

func (fake *FakeProvider) SignCertificateReturns(result1 []byte, result2 error)

func (*FakeProvider) SignCertificateReturnsOnCall added in v0.12.0

func (fake *FakeProvider) SignCertificateReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeProvider) SignSSHCertificate

func (fake *FakeProvider) SignSSHCertificate(arg1 *ssh.Certificate, arg2 logrus.Fields) error

func (*FakeProvider) SignSSHCertificateArgsForCall

func (fake *FakeProvider) SignSSHCertificateArgsForCall(i int) (*ssh.Certificate, logrus.Fields)

func (*FakeProvider) SignSSHCertificateCallCount

func (fake *FakeProvider) SignSSHCertificateCallCount() int

func (*FakeProvider) SignSSHCertificateCalls added in v0.19.0

func (fake *FakeProvider) SignSSHCertificateCalls(stub func(*ssh.Certificate, logrus.Fields) error)

func (*FakeProvider) SignSSHCertificateReturns

func (fake *FakeProvider) SignSSHCertificateReturns(result1 error)

func (*FakeProvider) SignSSHCertificateReturnsOnCall added in v0.12.0

func (fake *FakeProvider) SignSSHCertificateReturnsOnCall(i int, result1 error)

type FakeProviderFactory

type FakeProviderFactory struct {
	CreateStub func(string, map[string]interface{}) (certauth.Provider, error)
	// contains filtered or unexported fields
}

func (*FakeProviderFactory) Create

func (fake *FakeProviderFactory) Create(arg1 string, arg2 map[string]interface{}) (certauth.Provider, error)

func (*FakeProviderFactory) CreateArgsForCall

func (fake *FakeProviderFactory) CreateArgsForCall(i int) (string, map[string]interface{})

func (*FakeProviderFactory) CreateCallCount

func (fake *FakeProviderFactory) CreateCallCount() int

func (*FakeProviderFactory) CreateCalls added in v0.19.0

func (fake *FakeProviderFactory) CreateCalls(stub func(string, map[string]interface{}) (certauth.Provider, error))

func (*FakeProviderFactory) CreateReturns

func (fake *FakeProviderFactory) CreateReturns(result1 certauth.Provider, result2 error)

func (*FakeProviderFactory) CreateReturnsOnCall added in v0.12.0

func (fake *FakeProviderFactory) CreateReturnsOnCall(i int, result1 certauth.Provider, result2 error)

func (*FakeProviderFactory) Invocations

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

Jump to

Keyboard shortcuts

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