certauthfakes

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

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) CreateReturns

func (fake *FakeFactory) CreateReturns(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) 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) GetReturns

func (fake *FakeManager) GetReturns(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) GetCertificateReturns

func (fake *FakeProvider) GetCertificateReturns(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) 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) 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)

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) CreateReturns

func (fake *FakeProviderFactory) CreateReturns(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