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 ¶
- type FakeFactory
- func (fake *FakeFactory) Create(arg1 string, arg2 string, arg3 map[string]interface{}) (certauth.Provider, error)
- func (fake *FakeFactory) CreateArgsForCall(i int) (string, string, map[string]interface{})
- func (fake *FakeFactory) CreateCallCount() int
- func (fake *FakeFactory) CreateReturns(result1 certauth.Provider, result2 error)
- func (fake *FakeFactory) CreateReturnsOnCall(i int, result1 certauth.Provider, result2 error)
- func (fake *FakeFactory) Invocations() map[string][][]interface{}
- type FakeManager
- func (fake *FakeManager) Add(arg1 certauth.Provider)
- func (fake *FakeManager) AddArgsForCall(i int) certauth.Provider
- func (fake *FakeManager) AddCallCount() int
- func (fake *FakeManager) Get(arg1 string) (certauth.Provider, error)
- func (fake *FakeManager) GetArgsForCall(i int) string
- func (fake *FakeManager) GetCallCount() int
- func (fake *FakeManager) GetReturns(result1 certauth.Provider, result2 error)
- func (fake *FakeManager) GetReturnsOnCall(i int, result1 certauth.Provider, result2 error)
- func (fake *FakeManager) Invocations() map[string][][]interface{}
- type FakeProvider
- func (fake *FakeProvider) GetCertificate() (*x509.Certificate, error)
- func (fake *FakeProvider) GetCertificateCallCount() int
- func (fake *FakeProvider) GetCertificatePEM() (string, error)
- func (fake *FakeProvider) GetCertificatePEMCallCount() int
- func (fake *FakeProvider) GetCertificatePEMReturns(result1 string, result2 error)
- func (fake *FakeProvider) GetCertificatePEMReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeProvider) GetCertificateReturns(result1 *x509.Certificate, result2 error)
- func (fake *FakeProvider) GetCertificateReturnsOnCall(i int, result1 *x509.Certificate, result2 error)
- func (fake *FakeProvider) Invocations() map[string][][]interface{}
- func (fake *FakeProvider) Name() string
- func (fake *FakeProvider) NameCallCount() int
- func (fake *FakeProvider) NameReturns(result1 string)
- func (fake *FakeProvider) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeProvider) SignCertificate(arg1 *x509.Certificate, arg2 interface{}, arg3 logrus.Fields) ([]byte, error)
- func (fake *FakeProvider) SignCertificateArgsForCall(i int) (*x509.Certificate, interface{}, logrus.Fields)
- func (fake *FakeProvider) SignCertificateCallCount() int
- func (fake *FakeProvider) SignCertificateReturns(result1 []byte, result2 error)
- func (fake *FakeProvider) SignCertificateReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeProvider) SignSSHCertificate(arg1 *ssh.Certificate, arg2 logrus.Fields) error
- func (fake *FakeProvider) SignSSHCertificateArgsForCall(i int) (*ssh.Certificate, logrus.Fields)
- func (fake *FakeProvider) SignSSHCertificateCallCount() int
- func (fake *FakeProvider) SignSSHCertificateReturns(result1 error)
- func (fake *FakeProvider) SignSSHCertificateReturnsOnCall(i int, result1 error)
- type FakeProviderFactory
- func (fake *FakeProviderFactory) Create(arg1 string, arg2 map[string]interface{}) (certauth.Provider, error)
- func (fake *FakeProviderFactory) CreateArgsForCall(i int) (string, map[string]interface{})
- func (fake *FakeProviderFactory) CreateCallCount() int
- func (fake *FakeProviderFactory) CreateReturns(result1 certauth.Provider, result2 error)
- func (fake *FakeProviderFactory) CreateReturnsOnCall(i int, result1 certauth.Provider, result2 error)
- func (fake *FakeProviderFactory) Invocations() map[string][][]interface{}
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) CreateArgsForCall ¶
func (fake *FakeFactory) CreateArgsForCall(i int) (string, string, map[string]interface{})
func (*FakeFactory) CreateCallCount ¶
func (fake *FakeFactory) CreateCallCount() int
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) GetArgsForCall ¶
func (fake *FakeManager) GetArgsForCall(i int) string
func (*FakeManager) GetCallCount ¶
func (fake *FakeManager) GetCallCount() int
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 { NameStub func() string GetCertificateStub func() (*x509.Certificate, error) GetCertificatePEMStub func() (string, error) 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) GetCertificatePEM ¶
func (fake *FakeProvider) GetCertificatePEM() (string, error)
func (*FakeProvider) GetCertificatePEMCallCount ¶
func (fake *FakeProvider) GetCertificatePEMCallCount() int
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) 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) 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) 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) CreateArgsForCall ¶
func (fake *FakeProviderFactory) CreateArgsForCall(i int) (string, map[string]interface{})
func (*FakeProviderFactory) CreateCallCount ¶
func (fake *FakeProviderFactory) CreateCallCount() int
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{}
Click to show internal directories.
Click to hide internal directories.