Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAuditLogger
- type FakeAuditLoggerProvider
- func (p *FakeAuditLoggerProvider) GetDebugLogsAt(index int) string
- func (p *FakeAuditLoggerProvider) GetErrorLogsAt(index int) string
- func (p *FakeAuditLoggerProvider) ProvideDebugLogger() (*log.Logger, error)
- func (p *FakeAuditLoggerProvider) ProvideErrorLogger() (*log.Logger, error)
- func (p *FakeAuditLoggerProvider) SetDebugLoggerError(err error)
- func (p *FakeAuditLoggerProvider) SetErrorLoggerError(err error)
- type FakeWindowsDiskManager
- func (fake *FakeWindowsDiskManager) GetFormatter() disk.WindowsDiskFormatter
- func (fake *FakeWindowsDiskManager) GetFormatterCallCount() int
- func (fake *FakeWindowsDiskManager) GetFormatterCalls(stub func() disk.WindowsDiskFormatter)
- func (fake *FakeWindowsDiskManager) GetFormatterReturns(result1 disk.WindowsDiskFormatter)
- func (fake *FakeWindowsDiskManager) GetFormatterReturnsOnCall(i int, result1 disk.WindowsDiskFormatter)
- func (fake *FakeWindowsDiskManager) GetLinker() disk.WindowsDiskLinker
- func (fake *FakeWindowsDiskManager) GetLinkerCallCount() int
- func (fake *FakeWindowsDiskManager) GetLinkerCalls(stub func() disk.WindowsDiskLinker)
- func (fake *FakeWindowsDiskManager) GetLinkerReturns(result1 disk.WindowsDiskLinker)
- func (fake *FakeWindowsDiskManager) GetLinkerReturnsOnCall(i int, result1 disk.WindowsDiskLinker)
- func (fake *FakeWindowsDiskManager) GetPartitioner() disk.WindowsDiskPartitioner
- func (fake *FakeWindowsDiskManager) GetPartitionerCallCount() int
- func (fake *FakeWindowsDiskManager) GetPartitionerCalls(stub func() disk.WindowsDiskPartitioner)
- func (fake *FakeWindowsDiskManager) GetPartitionerReturns(result1 disk.WindowsDiskPartitioner)
- func (fake *FakeWindowsDiskManager) GetPartitionerReturnsOnCall(i int, result1 disk.WindowsDiskPartitioner)
- func (fake *FakeWindowsDiskManager) GetProtector() disk.WindowsDiskProtector
- func (fake *FakeWindowsDiskManager) GetProtectorCallCount() int
- func (fake *FakeWindowsDiskManager) GetProtectorCalls(stub func() disk.WindowsDiskProtector)
- func (fake *FakeWindowsDiskManager) GetProtectorReturns(result1 disk.WindowsDiskProtector)
- func (fake *FakeWindowsDiskManager) GetProtectorReturnsOnCall(i int, result1 disk.WindowsDiskProtector)
- func (fake *FakeWindowsDiskManager) Invocations() map[string][][]interface{}
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{}
Click to show internal directories.
Click to hide internal directories.