Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeICmdRunner
- func (fake *FakeICmdRunner) Invocations() map[string][][]interface{}
- func (fake *FakeICmdRunner) RunCmd(arg1 context.Context, arg2 string) error
- func (fake *FakeICmdRunner) RunCmdArgsForCall(i int) (context.Context, string)
- func (fake *FakeICmdRunner) RunCmdCallCount() int
- func (fake *FakeICmdRunner) RunCmdCalls(stub func(context.Context, string) error)
- func (fake *FakeICmdRunner) RunCmdReturns(result1 error)
- func (fake *FakeICmdRunner) RunCmdReturnsOnCall(i int, result1 error)
- type FakeIFileWriter
- func (fake *FakeIFileWriter) Invocations() map[string][][]interface{}
- func (fake *FakeIFileWriter) MkdirIfNotExists(arg1 string) error
- func (fake *FakeIFileWriter) MkdirIfNotExistsArgsForCall(i int) string
- func (fake *FakeIFileWriter) MkdirIfNotExistsCallCount() int
- func (fake *FakeIFileWriter) MkdirIfNotExistsCalls(stub func(string) error)
- func (fake *FakeIFileWriter) MkdirIfNotExistsReturns(result1 error)
- func (fake *FakeIFileWriter) MkdirIfNotExistsReturnsOnCall(i int, result1 error)
- func (fake *FakeIFileWriter) WriteToFile(arg1 *cloudinit.Files) error
- func (fake *FakeIFileWriter) WriteToFileArgsForCall(i int) *cloudinit.Files
- func (fake *FakeIFileWriter) WriteToFileCallCount() int
- func (fake *FakeIFileWriter) WriteToFileCalls(stub func(*cloudinit.Files) error)
- func (fake *FakeIFileWriter) WriteToFileReturns(result1 error)
- func (fake *FakeIFileWriter) WriteToFileReturnsOnCall(i int, result1 error)
- type FakeITemplateParser
- func (fake *FakeITemplateParser) Invocations() map[string][][]interface{}
- func (fake *FakeITemplateParser) ParseTemplate(arg1 string) (string, error)
- func (fake *FakeITemplateParser) ParseTemplateArgsForCall(i int) string
- func (fake *FakeITemplateParser) ParseTemplateCallCount() int
- func (fake *FakeITemplateParser) ParseTemplateCalls(stub func(string) (string, error))
- func (fake *FakeITemplateParser) ParseTemplateReturns(result1 string, result2 error)
- func (fake *FakeITemplateParser) ParseTemplateReturnsOnCall(i int, result1 string, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeICmdRunner ¶
type FakeICmdRunner struct { RunCmdStub func(context.Context, string) error // contains filtered or unexported fields }
func (*FakeICmdRunner) Invocations ¶
func (fake *FakeICmdRunner) Invocations() map[string][][]interface{}
func (*FakeICmdRunner) RunCmd ¶
func (fake *FakeICmdRunner) RunCmd(arg1 context.Context, arg2 string) error
func (*FakeICmdRunner) RunCmdArgsForCall ¶
func (fake *FakeICmdRunner) RunCmdArgsForCall(i int) (context.Context, string)
func (*FakeICmdRunner) RunCmdCallCount ¶
func (fake *FakeICmdRunner) RunCmdCallCount() int
func (*FakeICmdRunner) RunCmdCalls ¶
func (fake *FakeICmdRunner) RunCmdCalls(stub func(context.Context, string) error)
func (*FakeICmdRunner) RunCmdReturns ¶
func (fake *FakeICmdRunner) RunCmdReturns(result1 error)
func (*FakeICmdRunner) RunCmdReturnsOnCall ¶
func (fake *FakeICmdRunner) RunCmdReturnsOnCall(i int, result1 error)
type FakeIFileWriter ¶
type FakeIFileWriter struct { MkdirIfNotExistsStub func(string) error WriteToFileStub func(*cloudinit.Files) error // contains filtered or unexported fields }
func (*FakeIFileWriter) Invocations ¶
func (fake *FakeIFileWriter) Invocations() map[string][][]interface{}
func (*FakeIFileWriter) MkdirIfNotExists ¶
func (fake *FakeIFileWriter) MkdirIfNotExists(arg1 string) error
func (*FakeIFileWriter) MkdirIfNotExistsArgsForCall ¶
func (fake *FakeIFileWriter) MkdirIfNotExistsArgsForCall(i int) string
func (*FakeIFileWriter) MkdirIfNotExistsCallCount ¶
func (fake *FakeIFileWriter) MkdirIfNotExistsCallCount() int
func (*FakeIFileWriter) MkdirIfNotExistsCalls ¶
func (fake *FakeIFileWriter) MkdirIfNotExistsCalls(stub func(string) error)
func (*FakeIFileWriter) MkdirIfNotExistsReturns ¶
func (fake *FakeIFileWriter) MkdirIfNotExistsReturns(result1 error)
func (*FakeIFileWriter) MkdirIfNotExistsReturnsOnCall ¶
func (fake *FakeIFileWriter) MkdirIfNotExistsReturnsOnCall(i int, result1 error)
func (*FakeIFileWriter) WriteToFile ¶
func (fake *FakeIFileWriter) WriteToFile(arg1 *cloudinit.Files) error
func (*FakeIFileWriter) WriteToFileArgsForCall ¶
func (fake *FakeIFileWriter) WriteToFileArgsForCall(i int) *cloudinit.Files
func (*FakeIFileWriter) WriteToFileCallCount ¶
func (fake *FakeIFileWriter) WriteToFileCallCount() int
func (*FakeIFileWriter) WriteToFileCalls ¶
func (fake *FakeIFileWriter) WriteToFileCalls(stub func(*cloudinit.Files) error)
func (*FakeIFileWriter) WriteToFileReturns ¶
func (fake *FakeIFileWriter) WriteToFileReturns(result1 error)
func (*FakeIFileWriter) WriteToFileReturnsOnCall ¶
func (fake *FakeIFileWriter) WriteToFileReturnsOnCall(i int, result1 error)
type FakeITemplateParser ¶
type FakeITemplateParser struct { ParseTemplateStub func(string) (string, error) // contains filtered or unexported fields }
func (*FakeITemplateParser) Invocations ¶
func (fake *FakeITemplateParser) Invocations() map[string][][]interface{}
func (*FakeITemplateParser) ParseTemplate ¶
func (fake *FakeITemplateParser) ParseTemplate(arg1 string) (string, error)
func (*FakeITemplateParser) ParseTemplateArgsForCall ¶
func (fake *FakeITemplateParser) ParseTemplateArgsForCall(i int) string
func (*FakeITemplateParser) ParseTemplateCallCount ¶
func (fake *FakeITemplateParser) ParseTemplateCallCount() int
func (*FakeITemplateParser) ParseTemplateCalls ¶
func (fake *FakeITemplateParser) ParseTemplateCalls(stub func(string) (string, error))
func (*FakeITemplateParser) ParseTemplateReturns ¶
func (fake *FakeITemplateParser) ParseTemplateReturns(result1 string, result2 error)
func (*FakeITemplateParser) ParseTemplateReturnsOnCall ¶
func (fake *FakeITemplateParser) ParseTemplateReturnsOnCall(i int, result1 string, result2 error)
Click to show internal directories.
Click to hide internal directories.