fakes

package
v2.167.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 FakeWindowsDiskManager

type FakeWindowsDiskManager struct {
	GetFormatterStub func() disk.WindowsDiskFormatter

	GetLinkerStub func() disk.WindowsDiskLinker

	GetPartitionerStub func() disk.WindowsDiskPartitioner

	GetProtectorStub func() disk.WindowsDiskProtector
	// contains filtered or unexported fields
}

func (*FakeWindowsDiskManager) GetFormatter

func (fake *FakeWindowsDiskManager) GetFormatter() disk.WindowsDiskFormatter

func (*FakeWindowsDiskManager) GetFormatterCallCount

func (fake *FakeWindowsDiskManager) GetFormatterCallCount() int

func (*FakeWindowsDiskManager) GetFormatterCalls

func (fake *FakeWindowsDiskManager) GetFormatterCalls(stub func() disk.WindowsDiskFormatter)

func (*FakeWindowsDiskManager) GetFormatterReturns

func (fake *FakeWindowsDiskManager) GetFormatterReturns(result1 disk.WindowsDiskFormatter)

func (*FakeWindowsDiskManager) GetFormatterReturnsOnCall

func (fake *FakeWindowsDiskManager) GetFormatterReturnsOnCall(i int, result1 disk.WindowsDiskFormatter)

func (*FakeWindowsDiskManager) GetLinker

func (fake *FakeWindowsDiskManager) GetLinker() disk.WindowsDiskLinker

func (*FakeWindowsDiskManager) GetLinkerCallCount

func (fake *FakeWindowsDiskManager) GetLinkerCallCount() int

func (*FakeWindowsDiskManager) GetLinkerCalls

func (fake *FakeWindowsDiskManager) GetLinkerCalls(stub func() disk.WindowsDiskLinker)

func (*FakeWindowsDiskManager) GetLinkerReturns

func (fake *FakeWindowsDiskManager) GetLinkerReturns(result1 disk.WindowsDiskLinker)

func (*FakeWindowsDiskManager) GetLinkerReturnsOnCall

func (fake *FakeWindowsDiskManager) GetLinkerReturnsOnCall(i int, result1 disk.WindowsDiskLinker)

func (*FakeWindowsDiskManager) GetPartitioner

func (fake *FakeWindowsDiskManager) GetPartitioner() disk.WindowsDiskPartitioner

func (*FakeWindowsDiskManager) GetPartitionerCallCount

func (fake *FakeWindowsDiskManager) GetPartitionerCallCount() int

func (*FakeWindowsDiskManager) GetPartitionerCalls

func (fake *FakeWindowsDiskManager) GetPartitionerCalls(stub func() disk.WindowsDiskPartitioner)

func (*FakeWindowsDiskManager) GetPartitionerReturns

func (fake *FakeWindowsDiskManager) GetPartitionerReturns(result1 disk.WindowsDiskPartitioner)

func (*FakeWindowsDiskManager) GetPartitionerReturnsOnCall

func (fake *FakeWindowsDiskManager) GetPartitionerReturnsOnCall(i int, result1 disk.WindowsDiskPartitioner)

func (*FakeWindowsDiskManager) GetProtector

func (fake *FakeWindowsDiskManager) GetProtector() disk.WindowsDiskProtector

func (*FakeWindowsDiskManager) GetProtectorCallCount

func (fake *FakeWindowsDiskManager) GetProtectorCallCount() int

func (*FakeWindowsDiskManager) GetProtectorCalls

func (fake *FakeWindowsDiskManager) GetProtectorCalls(stub func() disk.WindowsDiskProtector)

func (*FakeWindowsDiskManager) GetProtectorReturns

func (fake *FakeWindowsDiskManager) GetProtectorReturns(result1 disk.WindowsDiskProtector)

func (*FakeWindowsDiskManager) GetProtectorReturnsOnCall

func (fake *FakeWindowsDiskManager) GetProtectorReturnsOnCall(i int, result1 disk.WindowsDiskProtector)

func (*FakeWindowsDiskManager) Invocations

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

Jump to

Keyboard shortcuts

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