fakes

package
v2.138.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2018 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

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 FakeAuditLogger

type FakeAuditLogger struct {
	DebugMsgs []string
	ErrMsgs   []string
	// contains filtered or unexported fields
}

func NewFakeAuditLogger

func NewFakeAuditLogger() *FakeAuditLogger

func (*FakeAuditLogger) Debug

func (f *FakeAuditLogger) Debug(msg string)

func (*FakeAuditLogger) Err

func (f *FakeAuditLogger) Err(msg string)

func (*FakeAuditLogger) GetDebugMsgs

func (f *FakeAuditLogger) GetDebugMsgs() []string

func (*FakeAuditLogger) GetErrMsgs

func (f *FakeAuditLogger) GetErrMsgs() []string

func (*FakeAuditLogger) StartLogging

func (f *FakeAuditLogger) StartLogging()

type FakeAuditLoggerProvider

type FakeAuditLoggerProvider struct {
	// contains filtered or unexported fields
}

func NewFakeAuditLoggerProvider

func NewFakeAuditLoggerProvider() *FakeAuditLoggerProvider

func (*FakeAuditLoggerProvider) GetDebugLogsAt

func (p *FakeAuditLoggerProvider) GetDebugLogsAt(index int) string

func (*FakeAuditLoggerProvider) GetErrorLogsAt

func (p *FakeAuditLoggerProvider) GetErrorLogsAt(index int) string

func (*FakeAuditLoggerProvider) ProvideDebugLogger

func (p *FakeAuditLoggerProvider) ProvideDebugLogger() (*log.Logger, error)

func (*FakeAuditLoggerProvider) ProvideErrorLogger

func (p *FakeAuditLoggerProvider) ProvideErrorLogger() (*log.Logger, error)

func (*FakeAuditLoggerProvider) SetDebugLoggerError

func (p *FakeAuditLoggerProvider) SetDebugLoggerError(err error)

func (*FakeAuditLoggerProvider) SetErrorLoggerError

func (p *FakeAuditLoggerProvider) SetErrorLoggerError(err error)

type FakeWindowsDiskFormatter

type FakeWindowsDiskFormatter struct {
	FormatStub func(diskNumber, partitionNumber string) error
	// contains filtered or unexported fields
}

func (*FakeWindowsDiskFormatter) Format

func (fake *FakeWindowsDiskFormatter) Format(diskNumber string, partitionNumber string) error

func (*FakeWindowsDiskFormatter) FormatArgsForCall

func (fake *FakeWindowsDiskFormatter) FormatArgsForCall(i int) (string, string)

func (*FakeWindowsDiskFormatter) FormatCallCount

func (fake *FakeWindowsDiskFormatter) FormatCallCount() int

func (*FakeWindowsDiskFormatter) FormatReturns

func (fake *FakeWindowsDiskFormatter) FormatReturns(result1 error)

func (*FakeWindowsDiskFormatter) FormatReturnsOnCall

func (fake *FakeWindowsDiskFormatter) FormatReturnsOnCall(i int, result1 error)

func (*FakeWindowsDiskFormatter) Invocations

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

type FakeWindowsDiskLinker

type FakeWindowsDiskLinker struct {
	LinkTargetStub func(location string) (target string, err error)
	// contains filtered or unexported fields
}

func (*FakeWindowsDiskLinker) Invocations

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

func (*FakeWindowsDiskLinker) LinkTarget

func (fake *FakeWindowsDiskLinker) LinkTarget(location string) (target string, err error)

func (*FakeWindowsDiskLinker) LinkTargetArgsForCall

func (fake *FakeWindowsDiskLinker) LinkTargetArgsForCall(i int) string

func (*FakeWindowsDiskLinker) LinkTargetCallCount

func (fake *FakeWindowsDiskLinker) LinkTargetCallCount() int

func (*FakeWindowsDiskLinker) LinkTargetReturns

func (fake *FakeWindowsDiskLinker) LinkTargetReturns(result1 string, result2 error)

func (*FakeWindowsDiskLinker) LinkTargetReturnsOnCall

func (fake *FakeWindowsDiskLinker) LinkTargetReturnsOnCall(i int, result1 string, result2 error)

Jump to

Keyboard shortcuts

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