typesfakes

package
v0.1.124 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

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 FakeCertsLoader

type FakeCertsLoader struct {
	LoadCertsStub func(string) (*x509.Certificate, *rsa.PrivateKey, error)
	// contains filtered or unexported fields
}

func (*FakeCertsLoader) Invocations

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

func (*FakeCertsLoader) LoadCerts

func (fake *FakeCertsLoader) LoadCerts(arg1 string) (*x509.Certificate, *rsa.PrivateKey, error)

func (*FakeCertsLoader) LoadCertsArgsForCall

func (fake *FakeCertsLoader) LoadCertsArgsForCall(i int) string

func (*FakeCertsLoader) LoadCertsCallCount

func (fake *FakeCertsLoader) LoadCertsCallCount() int

func (*FakeCertsLoader) LoadCertsReturns

func (fake *FakeCertsLoader) LoadCertsReturns(result1 *x509.Certificate, result2 *rsa.PrivateKey, result3 error)

type FakeValueGenerator

type FakeValueGenerator struct {
	GenerateStub func(interface{}) (interface{}, error)
	// contains filtered or unexported fields
}

func (*FakeValueGenerator) Generate

func (fake *FakeValueGenerator) Generate(arg1 interface{}) (interface{}, error)

func (*FakeValueGenerator) GenerateArgsForCall

func (fake *FakeValueGenerator) GenerateArgsForCall(i int) interface{}

func (*FakeValueGenerator) GenerateCallCount

func (fake *FakeValueGenerator) GenerateCallCount() int

func (*FakeValueGenerator) GenerateReturns

func (fake *FakeValueGenerator) GenerateReturns(result1 interface{}, result2 error)

func (*FakeValueGenerator) Invocations

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

type FakeValueGeneratorFactory

type FakeValueGeneratorFactory struct {
	GetGeneratorStub func(valueType string) (types.ValueGenerator, error)
	// contains filtered or unexported fields
}

func (*FakeValueGeneratorFactory) GetGenerator

func (fake *FakeValueGeneratorFactory) GetGenerator(valueType string) (types.ValueGenerator, error)

func (*FakeValueGeneratorFactory) GetGeneratorArgsForCall

func (fake *FakeValueGeneratorFactory) GetGeneratorArgsForCall(i int) string

func (*FakeValueGeneratorFactory) GetGeneratorCallCount

func (fake *FakeValueGeneratorFactory) GetGeneratorCallCount() int

func (*FakeValueGeneratorFactory) GetGeneratorReturns

func (fake *FakeValueGeneratorFactory) GetGeneratorReturns(result1 types.ValueGenerator, result2 error)

func (*FakeValueGeneratorFactory) Invocations

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

Jump to

Keyboard shortcuts

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