fakes

package
v2.134.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

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

type FakeWindowsDiskLinker

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

func (*FakeWindowsDiskLinker) Invocations

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

func (*FakeWindowsDiskLinker) IsLinked

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

func (*FakeWindowsDiskLinker) IsLinkedArgsForCall

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

func (*FakeWindowsDiskLinker) IsLinkedCallCount

func (fake *FakeWindowsDiskLinker) IsLinkedCallCount() int

func (*FakeWindowsDiskLinker) IsLinkedReturns

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

Jump to

Keyboard shortcuts

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