Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
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 FakeWindowsDiskFormatter
- func (fake *FakeWindowsDiskFormatter) Format(diskNumber string, partitionNumber string) error
- func (fake *FakeWindowsDiskFormatter) FormatArgsForCall(i int) (string, string)
- func (fake *FakeWindowsDiskFormatter) FormatCallCount() int
- func (fake *FakeWindowsDiskFormatter) FormatReturns(result1 error)
- func (fake *FakeWindowsDiskFormatter) Invocations() map[string][][]interface{}
- type FakeWindowsDiskLinker
- func (fake *FakeWindowsDiskLinker) Invocations() map[string][][]interface{}
- func (fake *FakeWindowsDiskLinker) IsLinked(location string) (target string, err error)
- func (fake *FakeWindowsDiskLinker) IsLinkedArgsForCall(i int) string
- func (fake *FakeWindowsDiskLinker) IsLinkedCallCount() int
- func (fake *FakeWindowsDiskLinker) IsLinkedReturns(result1 string, result2 error)
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)
Click to show internal directories.
Click to hide internal directories.