Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAppCommandRunner
- func (fake *FakeAppCommandRunner) Invocations() map[string][][]interface{}
- func (fake *FakeAppCommandRunner) Run(arg1 *context.Context, arg2 string, arg3 string) error
- func (fake *FakeAppCommandRunner) RunArgsForCall(i int) (*context.Context, string, string)
- func (fake *FakeAppCommandRunner) RunCallCount() int
- func (fake *FakeAppCommandRunner) RunCalls(stub func(*context.Context, string, string) error)
- func (fake *FakeAppCommandRunner) RunReturns(result1 error)
- func (fake *FakeAppCommandRunner) RunReturnsOnCall(i int, result1 error)
- func (fake *FakeAppCommandRunner) SetAppName(arg1 string)
- func (fake *FakeAppCommandRunner) SetAppNameArgsForCall(i int) string
- func (fake *FakeAppCommandRunner) SetAppNameCallCount() int
- func (fake *FakeAppCommandRunner) SetAppNameCalls(stub func(string))
- type FakeAppImportRunner
- func (fake *FakeAppImportRunner) Invocations() map[string][][]interface{}
- func (fake *FakeAppImportRunner) Run(arg1 *context.Context) error
- func (fake *FakeAppImportRunner) RunArgsForCall(i int) *context.Context
- func (fake *FakeAppImportRunner) RunCallCount() int
- func (fake *FakeAppImportRunner) RunCalls(stub func(*context.Context) error)
- func (fake *FakeAppImportRunner) RunReturns(result1 error)
- func (fake *FakeAppImportRunner) RunReturnsOnCall(i int, result1 error)
- func (fake *FakeAppImportRunner) SetAppName(arg1 string)
- func (fake *FakeAppImportRunner) SetAppNameArgsForCall(i int) string
- func (fake *FakeAppImportRunner) SetAppNameCallCount() int
- func (fake *FakeAppImportRunner) SetAppNameCalls(stub func(string))
- func (fake *FakeAppImportRunner) SetOrgName(arg1 string)
- func (fake *FakeAppImportRunner) SetOrgNameArgsForCall(i int) string
- func (fake *FakeAppImportRunner) SetOrgNameCallCount() int
- func (fake *FakeAppImportRunner) SetOrgNameCalls(stub func(string))
- func (fake *FakeAppImportRunner) SetSpaceName(arg1 string)
- func (fake *FakeAppImportRunner) SetSpaceNameArgsForCall(i int) string
- func (fake *FakeAppImportRunner) SetSpaceNameCallCount() int
- func (fake *FakeAppImportRunner) SetSpaceNameCalls(stub func(string))
- type FakeAutoScalerExporter
- func (fake *FakeAutoScalerExporter) ExportAutoScalerInstances(arg1 *context.Context, arg2 cfclient.Org, arg3 cfclient.Space, ...) error
- func (fake *FakeAutoScalerExporter) ExportAutoScalerInstancesArgsForCall(i int) (*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string)
- func (fake *FakeAutoScalerExporter) ExportAutoScalerInstancesCallCount() int
- func (fake *FakeAutoScalerExporter) ExportAutoScalerInstancesCalls(...)
- func (fake *FakeAutoScalerExporter) ExportAutoScalerInstancesReturns(result1 error)
- func (fake *FakeAutoScalerExporter) ExportAutoScalerInstancesReturnsOnCall(i int, result1 error)
- func (fake *FakeAutoScalerExporter) ExportAutoScalerRules(arg1 *context.Context, arg2 cfclient.Org, arg3 cfclient.Space, ...) error
- func (fake *FakeAutoScalerExporter) ExportAutoScalerRulesArgsForCall(i int) (*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string)
- func (fake *FakeAutoScalerExporter) ExportAutoScalerRulesCallCount() int
- func (fake *FakeAutoScalerExporter) ExportAutoScalerRulesCalls(...)
- func (fake *FakeAutoScalerExporter) ExportAutoScalerRulesReturns(result1 error)
- func (fake *FakeAutoScalerExporter) ExportAutoScalerRulesReturnsOnCall(i int, result1 error)
- func (fake *FakeAutoScalerExporter) ExportAutoScalerSchedules(arg1 *context.Context, arg2 cfclient.Org, arg3 cfclient.Space, ...) error
- func (fake *FakeAutoScalerExporter) ExportAutoScalerSchedulesArgsForCall(i int) (*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string)
- func (fake *FakeAutoScalerExporter) ExportAutoScalerSchedulesCallCount() int
- func (fake *FakeAutoScalerExporter) ExportAutoScalerSchedulesCalls(...)
- func (fake *FakeAutoScalerExporter) ExportAutoScalerSchedulesReturns(result1 error)
- func (fake *FakeAutoScalerExporter) ExportAutoScalerSchedulesReturnsOnCall(i int, result1 error)
- func (fake *FakeAutoScalerExporter) Invocations() map[string][][]interface{}
- type FakeCommandRunner
- func (fake *FakeCommandRunner) Invocations() map[string][][]interface{}
- func (fake *FakeCommandRunner) Run(arg1 *context.Context) error
- func (fake *FakeCommandRunner) RunArgsForCall(i int) *context.Context
- func (fake *FakeCommandRunner) RunCallCount() int
- func (fake *FakeCommandRunner) RunCalls(stub func(*context.Context) error)
- func (fake *FakeCommandRunner) RunReturns(result1 error)
- func (fake *FakeCommandRunner) RunReturnsOnCall(i int, result1 error)
- type FakeDirWriter
- func (fake *FakeDirWriter) Invocations() map[string][][]interface{}
- func (fake *FakeDirWriter) IsEmpty(arg1 string) (bool, error)
- func (fake *FakeDirWriter) IsEmptyArgsForCall(i int) string
- func (fake *FakeDirWriter) IsEmptyCallCount() int
- func (fake *FakeDirWriter) IsEmptyCalls(stub func(string) (bool, error))
- func (fake *FakeDirWriter) IsEmptyReturns(result1 bool, result2 error)
- func (fake *FakeDirWriter) IsEmptyReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeDirWriter) Mkdir(arg1 string) error
- func (fake *FakeDirWriter) MkdirAll(arg1 string, arg2 fs.FileMode) error
- func (fake *FakeDirWriter) MkdirAllArgsForCall(i int) (string, fs.FileMode)
- func (fake *FakeDirWriter) MkdirAllCallCount() int
- func (fake *FakeDirWriter) MkdirAllCalls(stub func(string, fs.FileMode) error)
- func (fake *FakeDirWriter) MkdirAllReturns(result1 error)
- func (fake *FakeDirWriter) MkdirAllReturnsOnCall(i int, result1 error)
- func (fake *FakeDirWriter) MkdirArgsForCall(i int) string
- func (fake *FakeDirWriter) MkdirCallCount() int
- func (fake *FakeDirWriter) MkdirCalls(stub func(string) error)
- func (fake *FakeDirWriter) MkdirReturns(result1 error)
- func (fake *FakeDirWriter) MkdirReturnsOnCall(i int, result1 error)
- type FakeDropletExporter
- func (fake *FakeDropletExporter) DownloadDroplet(arg1 *context.Context, arg2 cfclient.Org, arg3 cfclient.Space, ...) error
- func (fake *FakeDropletExporter) DownloadDropletArgsForCall(i int) (*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string)
- func (fake *FakeDropletExporter) DownloadDropletCallCount() int
- func (fake *FakeDropletExporter) DownloadDropletCalls(...)
- func (fake *FakeDropletExporter) DownloadDropletReturns(result1 error)
- func (fake *FakeDropletExporter) DownloadDropletReturnsOnCall(i int, result1 error)
- func (fake *FakeDropletExporter) DownloadPackages(arg1 *context.Context, arg2 cfclient.Org, arg3 cfclient.Space, ...) error
- func (fake *FakeDropletExporter) DownloadPackagesArgsForCall(i int) (*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string)
- func (fake *FakeDropletExporter) DownloadPackagesCallCount() int
- func (fake *FakeDropletExporter) DownloadPackagesCalls(...)
- func (fake *FakeDropletExporter) DownloadPackagesReturns(result1 error)
- func (fake *FakeDropletExporter) DownloadPackagesReturnsOnCall(i int, result1 error)
- func (fake *FakeDropletExporter) Invocations() map[string][][]interface{}
- func (fake *FakeDropletExporter) NumberOfPackages(arg1 *context.Context, arg2 cfclient.App) (float64, error)
- func (fake *FakeDropletExporter) NumberOfPackagesArgsForCall(i int) (*context.Context, cfclient.App)
- func (fake *FakeDropletExporter) NumberOfPackagesCallCount() int
- func (fake *FakeDropletExporter) NumberOfPackagesCalls(stub func(*context.Context, cfclient.App) (float64, error))
- func (fake *FakeDropletExporter) NumberOfPackagesReturns(result1 float64, result2 error)
- func (fake *FakeDropletExporter) NumberOfPackagesReturnsOnCall(i int, result1 float64, result2 error)
- type FakeManifestExporter
- func (fake *FakeManifestExporter) ExportAppManifest(arg1 *context.Context, arg2 cfclient.Org, arg3 cfclient.Space, ...) error
- func (fake *FakeManifestExporter) ExportAppManifestArgsForCall(i int) (*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string)
- func (fake *FakeManifestExporter) ExportAppManifestCallCount() int
- func (fake *FakeManifestExporter) ExportAppManifestCalls(...)
- func (fake *FakeManifestExporter) ExportAppManifestReturns(result1 error)
- func (fake *FakeManifestExporter) ExportAppManifestReturnsOnCall(i int, result1 error)
- func (fake *FakeManifestExporter) Invocations() map[string][][]interface{}
- type FakeOrgCommandRunner
- func (fake *FakeOrgCommandRunner) Invocations() map[string][][]interface{}
- func (fake *FakeOrgCommandRunner) Run(arg1 *context.Context, arg2 string) error
- func (fake *FakeOrgCommandRunner) RunArgsForCall(i int) (*context.Context, string)
- func (fake *FakeOrgCommandRunner) RunCallCount() int
- func (fake *FakeOrgCommandRunner) RunCalls(stub func(*context.Context, string) error)
- func (fake *FakeOrgCommandRunner) RunReturns(result1 error)
- func (fake *FakeOrgCommandRunner) RunReturnsOnCall(i int, result1 error)
- type FakeQueryResultsCollector
- func (fake *FakeQueryResultsCollector) AddResult(arg1 context.QueryResult)
- func (fake *FakeQueryResultsCollector) AddResultArgsForCall(i int) context.QueryResult
- func (fake *FakeQueryResultsCollector) AddResultCallCount() int
- func (fake *FakeQueryResultsCollector) AddResultCalls(stub func(context.QueryResult))
- func (fake *FakeQueryResultsCollector) Close()
- func (fake *FakeQueryResultsCollector) CloseCallCount() int
- func (fake *FakeQueryResultsCollector) CloseCalls(stub func())
- func (fake *FakeQueryResultsCollector) GetResults() <-chan context.QueryResult
- func (fake *FakeQueryResultsCollector) GetResultsCallCount() int
- func (fake *FakeQueryResultsCollector) GetResultsCalls(stub func() <-chan context.QueryResult)
- func (fake *FakeQueryResultsCollector) GetResultsReturns(result1 <-chan context.QueryResult)
- func (fake *FakeQueryResultsCollector) GetResultsReturnsOnCall(i int, result1 <-chan context.QueryResult)
- func (fake *FakeQueryResultsCollector) Invocations() map[string][][]interface{}
- func (fake *FakeQueryResultsCollector) ResultCount() int
- func (fake *FakeQueryResultsCollector) ResultCountCallCount() int
- func (fake *FakeQueryResultsCollector) ResultCountCalls(stub func() int)
- func (fake *FakeQueryResultsCollector) ResultCountReturns(result1 int)
- func (fake *FakeQueryResultsCollector) ResultCountReturnsOnCall(i int, result1 int)
- func (fake *FakeQueryResultsCollector) ResultsPerPage() int
- func (fake *FakeQueryResultsCollector) ResultsPerPageCallCount() int
- func (fake *FakeQueryResultsCollector) ResultsPerPageCalls(stub func() int)
- func (fake *FakeQueryResultsCollector) ResultsPerPageReturns(result1 int)
- func (fake *FakeQueryResultsCollector) ResultsPerPageReturnsOnCall(i int, result1 int)
- type FakeQueryResultsProcessor
- func (fake *FakeQueryResultsProcessor) ExecutePageQuery(arg1 *context.Context, arg2 context.QueryResultsCollector, ...) (<-chan context.ProcessResult, error)
- func (fake *FakeQueryResultsProcessor) ExecutePageQueryArgsForCall(i int) (*context.Context, context.QueryResultsCollector, ...)
- func (fake *FakeQueryResultsProcessor) ExecutePageQueryCallCount() int
- func (fake *FakeQueryResultsProcessor) ExecutePageQueryCalls(...)
- func (fake *FakeQueryResultsProcessor) ExecutePageQueryReturns(result1 <-chan context.ProcessResult, result2 error)
- func (fake *FakeQueryResultsProcessor) ExecutePageQueryReturnsOnCall(i int, result1 <-chan context.ProcessResult, result2 error)
- func (fake *FakeQueryResultsProcessor) ExecuteQuery(arg1 *context.Context, arg2 context.QueryResultsCollector, ...) (<-chan context.ProcessResult, error)
- func (fake *FakeQueryResultsProcessor) ExecuteQueryArgsForCall(i int) (*context.Context, context.QueryResultsCollector, ...)
- func (fake *FakeQueryResultsProcessor) ExecuteQueryCallCount() int
- func (fake *FakeQueryResultsProcessor) ExecuteQueryCalls(...)
- func (fake *FakeQueryResultsProcessor) ExecuteQueryReturns(result1 <-chan context.ProcessResult, result2 error)
- func (fake *FakeQueryResultsProcessor) ExecuteQueryReturnsOnCall(i int, result1 <-chan context.ProcessResult, result2 error)
- func (fake *FakeQueryResultsProcessor) Invocations() map[string][][]interface{}
- type FakeSpaceCommandRunner
- func (fake *FakeSpaceCommandRunner) Invocations() map[string][][]interface{}
- func (fake *FakeSpaceCommandRunner) Run(arg1 *context.Context, arg2 string, arg3 string) error
- func (fake *FakeSpaceCommandRunner) RunArgsForCall(i int) (*context.Context, string, string)
- func (fake *FakeSpaceCommandRunner) RunCallCount() int
- func (fake *FakeSpaceCommandRunner) RunCalls(stub func(*context.Context, string, string) error)
- func (fake *FakeSpaceCommandRunner) RunReturns(result1 error)
- func (fake *FakeSpaceCommandRunner) RunReturnsOnCall(i int, result1 error)
- type FakeSpaceExporter
- func (fake *FakeSpaceExporter) ExportSpace(arg1 *context.Context, arg2 cfclient.Space, arg3 context.ProcessFunc) (<-chan context.ProcessResult, error)
- func (fake *FakeSpaceExporter) ExportSpaceArgsForCall(i int) (*context.Context, cfclient.Space, context.ProcessFunc)
- func (fake *FakeSpaceExporter) ExportSpaceCallCount() int
- func (fake *FakeSpaceExporter) ExportSpaceCalls(...)
- func (fake *FakeSpaceExporter) ExportSpaceReturns(result1 <-chan context.ProcessResult, result2 error)
- func (fake *FakeSpaceExporter) ExportSpaceReturnsOnCall(i int, result1 <-chan context.ProcessResult, result2 error)
- func (fake *FakeSpaceExporter) Invocations() map[string][][]interface{}
- type FakeSpaceImporter
- func (fake *FakeSpaceImporter) ImportSpace(arg1 *context.Context, arg2 context.ProcessFunc, arg3 []string) (<-chan context.ProcessResult, error)
- func (fake *FakeSpaceImporter) ImportSpaceArgsForCall(i int) (*context.Context, context.ProcessFunc, []string)
- func (fake *FakeSpaceImporter) ImportSpaceCallCount() int
- func (fake *FakeSpaceImporter) ImportSpaceCalls(...)
- func (fake *FakeSpaceImporter) ImportSpaceReturns(result1 <-chan context.ProcessResult, result2 error)
- func (fake *FakeSpaceImporter) ImportSpaceReturnsOnCall(i int, result1 <-chan context.ProcessResult, result2 error)
- func (fake *FakeSpaceImporter) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppCommandRunner ¶
type FakeAppCommandRunner struct { RunStub func(*context.Context, string, string) error SetAppNameStub func(string) // contains filtered or unexported fields }
func (*FakeAppCommandRunner) Invocations ¶
func (fake *FakeAppCommandRunner) Invocations() map[string][][]interface{}
func (*FakeAppCommandRunner) RunArgsForCall ¶
func (*FakeAppCommandRunner) RunCallCount ¶
func (fake *FakeAppCommandRunner) RunCallCount() int
func (*FakeAppCommandRunner) RunReturns ¶
func (fake *FakeAppCommandRunner) RunReturns(result1 error)
func (*FakeAppCommandRunner) RunReturnsOnCall ¶
func (fake *FakeAppCommandRunner) RunReturnsOnCall(i int, result1 error)
func (*FakeAppCommandRunner) SetAppName ¶
func (fake *FakeAppCommandRunner) SetAppName(arg1 string)
func (*FakeAppCommandRunner) SetAppNameArgsForCall ¶
func (fake *FakeAppCommandRunner) SetAppNameArgsForCall(i int) string
func (*FakeAppCommandRunner) SetAppNameCallCount ¶
func (fake *FakeAppCommandRunner) SetAppNameCallCount() int
func (*FakeAppCommandRunner) SetAppNameCalls ¶
func (fake *FakeAppCommandRunner) SetAppNameCalls(stub func(string))
type FakeAppImportRunner ¶
type FakeAppImportRunner struct { RunStub func(*context.Context) error SetAppNameStub func(string) SetOrgNameStub func(string) SetSpaceNameStub func(string) // contains filtered or unexported fields }
func (*FakeAppImportRunner) Invocations ¶
func (fake *FakeAppImportRunner) Invocations() map[string][][]interface{}
func (*FakeAppImportRunner) RunArgsForCall ¶
func (fake *FakeAppImportRunner) RunArgsForCall(i int) *context.Context
func (*FakeAppImportRunner) RunCallCount ¶
func (fake *FakeAppImportRunner) RunCallCount() int
func (*FakeAppImportRunner) RunCalls ¶
func (fake *FakeAppImportRunner) RunCalls(stub func(*context.Context) error)
func (*FakeAppImportRunner) RunReturns ¶
func (fake *FakeAppImportRunner) RunReturns(result1 error)
func (*FakeAppImportRunner) RunReturnsOnCall ¶
func (fake *FakeAppImportRunner) RunReturnsOnCall(i int, result1 error)
func (*FakeAppImportRunner) SetAppName ¶
func (fake *FakeAppImportRunner) SetAppName(arg1 string)
func (*FakeAppImportRunner) SetAppNameArgsForCall ¶
func (fake *FakeAppImportRunner) SetAppNameArgsForCall(i int) string
func (*FakeAppImportRunner) SetAppNameCallCount ¶
func (fake *FakeAppImportRunner) SetAppNameCallCount() int
func (*FakeAppImportRunner) SetAppNameCalls ¶
func (fake *FakeAppImportRunner) SetAppNameCalls(stub func(string))
func (*FakeAppImportRunner) SetOrgName ¶
func (fake *FakeAppImportRunner) SetOrgName(arg1 string)
func (*FakeAppImportRunner) SetOrgNameArgsForCall ¶
func (fake *FakeAppImportRunner) SetOrgNameArgsForCall(i int) string
func (*FakeAppImportRunner) SetOrgNameCallCount ¶
func (fake *FakeAppImportRunner) SetOrgNameCallCount() int
func (*FakeAppImportRunner) SetOrgNameCalls ¶
func (fake *FakeAppImportRunner) SetOrgNameCalls(stub func(string))
func (*FakeAppImportRunner) SetSpaceName ¶
func (fake *FakeAppImportRunner) SetSpaceName(arg1 string)
func (*FakeAppImportRunner) SetSpaceNameArgsForCall ¶
func (fake *FakeAppImportRunner) SetSpaceNameArgsForCall(i int) string
func (*FakeAppImportRunner) SetSpaceNameCallCount ¶
func (fake *FakeAppImportRunner) SetSpaceNameCallCount() int
func (*FakeAppImportRunner) SetSpaceNameCalls ¶
func (fake *FakeAppImportRunner) SetSpaceNameCalls(stub func(string))
type FakeAutoScalerExporter ¶
type FakeAutoScalerExporter struct { ExportAutoScalerInstancesStub func(*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string) error ExportAutoScalerRulesStub func(*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string) error ExportAutoScalerSchedulesStub func(*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string) error // contains filtered or unexported fields }
func (*FakeAutoScalerExporter) ExportAutoScalerInstances ¶
func (*FakeAutoScalerExporter) ExportAutoScalerInstancesArgsForCall ¶
func (*FakeAutoScalerExporter) ExportAutoScalerInstancesCallCount ¶
func (fake *FakeAutoScalerExporter) ExportAutoScalerInstancesCallCount() int
func (*FakeAutoScalerExporter) ExportAutoScalerInstancesCalls ¶
func (*FakeAutoScalerExporter) ExportAutoScalerInstancesReturns ¶
func (fake *FakeAutoScalerExporter) ExportAutoScalerInstancesReturns(result1 error)
func (*FakeAutoScalerExporter) ExportAutoScalerInstancesReturnsOnCall ¶
func (fake *FakeAutoScalerExporter) ExportAutoScalerInstancesReturnsOnCall(i int, result1 error)
func (*FakeAutoScalerExporter) ExportAutoScalerRules ¶
func (*FakeAutoScalerExporter) ExportAutoScalerRulesArgsForCall ¶
func (*FakeAutoScalerExporter) ExportAutoScalerRulesCallCount ¶
func (fake *FakeAutoScalerExporter) ExportAutoScalerRulesCallCount() int
func (*FakeAutoScalerExporter) ExportAutoScalerRulesCalls ¶
func (*FakeAutoScalerExporter) ExportAutoScalerRulesReturns ¶
func (fake *FakeAutoScalerExporter) ExportAutoScalerRulesReturns(result1 error)
func (*FakeAutoScalerExporter) ExportAutoScalerRulesReturnsOnCall ¶
func (fake *FakeAutoScalerExporter) ExportAutoScalerRulesReturnsOnCall(i int, result1 error)
func (*FakeAutoScalerExporter) ExportAutoScalerSchedules ¶
func (*FakeAutoScalerExporter) ExportAutoScalerSchedulesArgsForCall ¶
func (*FakeAutoScalerExporter) ExportAutoScalerSchedulesCallCount ¶
func (fake *FakeAutoScalerExporter) ExportAutoScalerSchedulesCallCount() int
func (*FakeAutoScalerExporter) ExportAutoScalerSchedulesCalls ¶
func (*FakeAutoScalerExporter) ExportAutoScalerSchedulesReturns ¶
func (fake *FakeAutoScalerExporter) ExportAutoScalerSchedulesReturns(result1 error)
func (*FakeAutoScalerExporter) ExportAutoScalerSchedulesReturnsOnCall ¶
func (fake *FakeAutoScalerExporter) ExportAutoScalerSchedulesReturnsOnCall(i int, result1 error)
func (*FakeAutoScalerExporter) Invocations ¶
func (fake *FakeAutoScalerExporter) Invocations() map[string][][]interface{}
type FakeCommandRunner ¶
type FakeCommandRunner struct { RunStub func(*context.Context) error // contains filtered or unexported fields }
func (*FakeCommandRunner) Invocations ¶
func (fake *FakeCommandRunner) Invocations() map[string][][]interface{}
func (*FakeCommandRunner) RunArgsForCall ¶
func (fake *FakeCommandRunner) RunArgsForCall(i int) *context.Context
func (*FakeCommandRunner) RunCallCount ¶
func (fake *FakeCommandRunner) RunCallCount() int
func (*FakeCommandRunner) RunCalls ¶
func (fake *FakeCommandRunner) RunCalls(stub func(*context.Context) error)
func (*FakeCommandRunner) RunReturns ¶
func (fake *FakeCommandRunner) RunReturns(result1 error)
func (*FakeCommandRunner) RunReturnsOnCall ¶
func (fake *FakeCommandRunner) RunReturnsOnCall(i int, result1 error)
type FakeDirWriter ¶
type FakeDirWriter struct { IsEmptyStub func(string) (bool, error) MkdirStub func(string) error MkdirAllStub func(string, fs.FileMode) error // contains filtered or unexported fields }
func (*FakeDirWriter) Invocations ¶
func (fake *FakeDirWriter) Invocations() map[string][][]interface{}
func (*FakeDirWriter) IsEmptyArgsForCall ¶
func (fake *FakeDirWriter) IsEmptyArgsForCall(i int) string
func (*FakeDirWriter) IsEmptyCallCount ¶
func (fake *FakeDirWriter) IsEmptyCallCount() int
func (*FakeDirWriter) IsEmptyCalls ¶
func (fake *FakeDirWriter) IsEmptyCalls(stub func(string) (bool, error))
func (*FakeDirWriter) IsEmptyReturns ¶
func (fake *FakeDirWriter) IsEmptyReturns(result1 bool, result2 error)
func (*FakeDirWriter) IsEmptyReturnsOnCall ¶
func (fake *FakeDirWriter) IsEmptyReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeDirWriter) Mkdir ¶
func (fake *FakeDirWriter) Mkdir(arg1 string) error
func (*FakeDirWriter) MkdirAll ¶
func (fake *FakeDirWriter) MkdirAll(arg1 string, arg2 fs.FileMode) error
func (*FakeDirWriter) MkdirAllArgsForCall ¶
func (fake *FakeDirWriter) MkdirAllArgsForCall(i int) (string, fs.FileMode)
func (*FakeDirWriter) MkdirAllCallCount ¶
func (fake *FakeDirWriter) MkdirAllCallCount() int
func (*FakeDirWriter) MkdirAllCalls ¶
func (fake *FakeDirWriter) MkdirAllCalls(stub func(string, fs.FileMode) error)
func (*FakeDirWriter) MkdirAllReturns ¶
func (fake *FakeDirWriter) MkdirAllReturns(result1 error)
func (*FakeDirWriter) MkdirAllReturnsOnCall ¶
func (fake *FakeDirWriter) MkdirAllReturnsOnCall(i int, result1 error)
func (*FakeDirWriter) MkdirArgsForCall ¶
func (fake *FakeDirWriter) MkdirArgsForCall(i int) string
func (*FakeDirWriter) MkdirCallCount ¶
func (fake *FakeDirWriter) MkdirCallCount() int
func (*FakeDirWriter) MkdirCalls ¶
func (fake *FakeDirWriter) MkdirCalls(stub func(string) error)
func (*FakeDirWriter) MkdirReturns ¶
func (fake *FakeDirWriter) MkdirReturns(result1 error)
func (*FakeDirWriter) MkdirReturnsOnCall ¶
func (fake *FakeDirWriter) MkdirReturnsOnCall(i int, result1 error)
type FakeDropletExporter ¶
type FakeDropletExporter struct { DownloadDropletStub func(*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string) error DownloadPackagesStub func(*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string) error NumberOfPackagesStub func(*context.Context, cfclient.App) (float64, error) // contains filtered or unexported fields }
func (*FakeDropletExporter) DownloadDroplet ¶
func (*FakeDropletExporter) DownloadDropletArgsForCall ¶
func (*FakeDropletExporter) DownloadDropletCallCount ¶
func (fake *FakeDropletExporter) DownloadDropletCallCount() int
func (*FakeDropletExporter) DownloadDropletCalls ¶
func (*FakeDropletExporter) DownloadDropletReturns ¶
func (fake *FakeDropletExporter) DownloadDropletReturns(result1 error)
func (*FakeDropletExporter) DownloadDropletReturnsOnCall ¶
func (fake *FakeDropletExporter) DownloadDropletReturnsOnCall(i int, result1 error)
func (*FakeDropletExporter) DownloadPackages ¶
func (*FakeDropletExporter) DownloadPackagesArgsForCall ¶
func (*FakeDropletExporter) DownloadPackagesCallCount ¶
func (fake *FakeDropletExporter) DownloadPackagesCallCount() int
func (*FakeDropletExporter) DownloadPackagesCalls ¶
func (*FakeDropletExporter) DownloadPackagesReturns ¶
func (fake *FakeDropletExporter) DownloadPackagesReturns(result1 error)
func (*FakeDropletExporter) DownloadPackagesReturnsOnCall ¶
func (fake *FakeDropletExporter) DownloadPackagesReturnsOnCall(i int, result1 error)
func (*FakeDropletExporter) Invocations ¶
func (fake *FakeDropletExporter) Invocations() map[string][][]interface{}
func (*FakeDropletExporter) NumberOfPackages ¶
func (*FakeDropletExporter) NumberOfPackagesArgsForCall ¶
func (*FakeDropletExporter) NumberOfPackagesCallCount ¶
func (fake *FakeDropletExporter) NumberOfPackagesCallCount() int
func (*FakeDropletExporter) NumberOfPackagesCalls ¶
func (*FakeDropletExporter) NumberOfPackagesReturns ¶
func (fake *FakeDropletExporter) NumberOfPackagesReturns(result1 float64, result2 error)
func (*FakeDropletExporter) NumberOfPackagesReturnsOnCall ¶
func (fake *FakeDropletExporter) NumberOfPackagesReturnsOnCall(i int, result1 float64, result2 error)
type FakeManifestExporter ¶
type FakeManifestExporter struct { ExportAppManifestStub func(*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string) error // contains filtered or unexported fields }
func (*FakeManifestExporter) ExportAppManifest ¶
func (*FakeManifestExporter) ExportAppManifestArgsForCall ¶
func (*FakeManifestExporter) ExportAppManifestCallCount ¶
func (fake *FakeManifestExporter) ExportAppManifestCallCount() int
func (*FakeManifestExporter) ExportAppManifestCalls ¶
func (*FakeManifestExporter) ExportAppManifestReturns ¶
func (fake *FakeManifestExporter) ExportAppManifestReturns(result1 error)
func (*FakeManifestExporter) ExportAppManifestReturnsOnCall ¶
func (fake *FakeManifestExporter) ExportAppManifestReturnsOnCall(i int, result1 error)
func (*FakeManifestExporter) Invocations ¶
func (fake *FakeManifestExporter) Invocations() map[string][][]interface{}
type FakeOrgCommandRunner ¶
type FakeOrgCommandRunner struct { RunStub func(*context.Context, string) error // contains filtered or unexported fields }
func (*FakeOrgCommandRunner) Invocations ¶
func (fake *FakeOrgCommandRunner) Invocations() map[string][][]interface{}
func (*FakeOrgCommandRunner) Run ¶
func (fake *FakeOrgCommandRunner) Run(arg1 *context.Context, arg2 string) error
func (*FakeOrgCommandRunner) RunArgsForCall ¶
func (fake *FakeOrgCommandRunner) RunArgsForCall(i int) (*context.Context, string)
func (*FakeOrgCommandRunner) RunCallCount ¶
func (fake *FakeOrgCommandRunner) RunCallCount() int
func (*FakeOrgCommandRunner) RunCalls ¶
func (fake *FakeOrgCommandRunner) RunCalls(stub func(*context.Context, string) error)
func (*FakeOrgCommandRunner) RunReturns ¶
func (fake *FakeOrgCommandRunner) RunReturns(result1 error)
func (*FakeOrgCommandRunner) RunReturnsOnCall ¶
func (fake *FakeOrgCommandRunner) RunReturnsOnCall(i int, result1 error)
type FakeQueryResultsCollector ¶
type FakeQueryResultsCollector struct { AddResultStub func(context.QueryResult) CloseStub func() GetResultsStub func() <-chan context.QueryResult ResultCountStub func() int ResultsPerPageStub func() int // contains filtered or unexported fields }
func (*FakeQueryResultsCollector) AddResult ¶
func (fake *FakeQueryResultsCollector) AddResult(arg1 context.QueryResult)
func (*FakeQueryResultsCollector) AddResultArgsForCall ¶
func (fake *FakeQueryResultsCollector) AddResultArgsForCall(i int) context.QueryResult
func (*FakeQueryResultsCollector) AddResultCallCount ¶
func (fake *FakeQueryResultsCollector) AddResultCallCount() int
func (*FakeQueryResultsCollector) AddResultCalls ¶
func (fake *FakeQueryResultsCollector) AddResultCalls(stub func(context.QueryResult))
func (*FakeQueryResultsCollector) Close ¶
func (fake *FakeQueryResultsCollector) Close()
func (*FakeQueryResultsCollector) CloseCallCount ¶
func (fake *FakeQueryResultsCollector) CloseCallCount() int
func (*FakeQueryResultsCollector) CloseCalls ¶
func (fake *FakeQueryResultsCollector) CloseCalls(stub func())
func (*FakeQueryResultsCollector) GetResults ¶
func (fake *FakeQueryResultsCollector) GetResults() <-chan context.QueryResult
func (*FakeQueryResultsCollector) GetResultsCallCount ¶
func (fake *FakeQueryResultsCollector) GetResultsCallCount() int
func (*FakeQueryResultsCollector) GetResultsCalls ¶
func (fake *FakeQueryResultsCollector) GetResultsCalls(stub func() <-chan context.QueryResult)
func (*FakeQueryResultsCollector) GetResultsReturns ¶
func (fake *FakeQueryResultsCollector) GetResultsReturns(result1 <-chan context.QueryResult)
func (*FakeQueryResultsCollector) GetResultsReturnsOnCall ¶
func (fake *FakeQueryResultsCollector) GetResultsReturnsOnCall(i int, result1 <-chan context.QueryResult)
func (*FakeQueryResultsCollector) Invocations ¶
func (fake *FakeQueryResultsCollector) Invocations() map[string][][]interface{}
func (*FakeQueryResultsCollector) ResultCount ¶
func (fake *FakeQueryResultsCollector) ResultCount() int
func (*FakeQueryResultsCollector) ResultCountCallCount ¶
func (fake *FakeQueryResultsCollector) ResultCountCallCount() int
func (*FakeQueryResultsCollector) ResultCountCalls ¶
func (fake *FakeQueryResultsCollector) ResultCountCalls(stub func() int)
func (*FakeQueryResultsCollector) ResultCountReturns ¶
func (fake *FakeQueryResultsCollector) ResultCountReturns(result1 int)
func (*FakeQueryResultsCollector) ResultCountReturnsOnCall ¶
func (fake *FakeQueryResultsCollector) ResultCountReturnsOnCall(i int, result1 int)
func (*FakeQueryResultsCollector) ResultsPerPage ¶
func (fake *FakeQueryResultsCollector) ResultsPerPage() int
func (*FakeQueryResultsCollector) ResultsPerPageCallCount ¶
func (fake *FakeQueryResultsCollector) ResultsPerPageCallCount() int
func (*FakeQueryResultsCollector) ResultsPerPageCalls ¶
func (fake *FakeQueryResultsCollector) ResultsPerPageCalls(stub func() int)
func (*FakeQueryResultsCollector) ResultsPerPageReturns ¶
func (fake *FakeQueryResultsCollector) ResultsPerPageReturns(result1 int)
func (*FakeQueryResultsCollector) ResultsPerPageReturnsOnCall ¶
func (fake *FakeQueryResultsCollector) ResultsPerPageReturnsOnCall(i int, result1 int)
type FakeQueryResultsProcessor ¶
type FakeQueryResultsProcessor struct { ExecutePageQueryStub func(*context.Context, context.QueryResultsCollector, func(page int, collector context.QueryResultsCollector) func() (int, error), context.ProcessFunc) (<-chan context.ProcessResult, error) ExecuteQueryStub func(*context.Context, context.QueryResultsCollector, func(collector context.QueryResultsCollector) (int, error), func(ctx *context.Context, value context.QueryResult) context.ProcessResult) (<-chan context.ProcessResult, error) // contains filtered or unexported fields }
func (*FakeQueryResultsProcessor) ExecutePageQuery ¶
func (fake *FakeQueryResultsProcessor) ExecutePageQuery(arg1 *context.Context, arg2 context.QueryResultsCollector, arg3 func(page int, collector context.QueryResultsCollector) func() (int, error), arg4 context.ProcessFunc) (<-chan context.ProcessResult, error)
func (*FakeQueryResultsProcessor) ExecutePageQueryArgsForCall ¶
func (fake *FakeQueryResultsProcessor) ExecutePageQueryArgsForCall(i int) (*context.Context, context.QueryResultsCollector, func(page int, collector context.QueryResultsCollector) func() (int, error), context.ProcessFunc)
func (*FakeQueryResultsProcessor) ExecutePageQueryCallCount ¶
func (fake *FakeQueryResultsProcessor) ExecutePageQueryCallCount() int
func (*FakeQueryResultsProcessor) ExecutePageQueryCalls ¶
func (fake *FakeQueryResultsProcessor) ExecutePageQueryCalls(stub func(*context.Context, context.QueryResultsCollector, func(page int, collector context.QueryResultsCollector) func() (int, error), context.ProcessFunc) (<-chan context.ProcessResult, error))
func (*FakeQueryResultsProcessor) ExecutePageQueryReturns ¶
func (fake *FakeQueryResultsProcessor) ExecutePageQueryReturns(result1 <-chan context.ProcessResult, result2 error)
func (*FakeQueryResultsProcessor) ExecutePageQueryReturnsOnCall ¶
func (fake *FakeQueryResultsProcessor) ExecutePageQueryReturnsOnCall(i int, result1 <-chan context.ProcessResult, result2 error)
func (*FakeQueryResultsProcessor) ExecuteQuery ¶
func (fake *FakeQueryResultsProcessor) ExecuteQuery(arg1 *context.Context, arg2 context.QueryResultsCollector, arg3 func(collector context.QueryResultsCollector) (int, error), arg4 func(ctx *context.Context, value context.QueryResult) context.ProcessResult) (<-chan context.ProcessResult, error)
func (*FakeQueryResultsProcessor) ExecuteQueryArgsForCall ¶
func (fake *FakeQueryResultsProcessor) ExecuteQueryArgsForCall(i int) (*context.Context, context.QueryResultsCollector, func(collector context.QueryResultsCollector) (int, error), func(ctx *context.Context, value context.QueryResult) context.ProcessResult)
func (*FakeQueryResultsProcessor) ExecuteQueryCallCount ¶
func (fake *FakeQueryResultsProcessor) ExecuteQueryCallCount() int
func (*FakeQueryResultsProcessor) ExecuteQueryCalls ¶
func (fake *FakeQueryResultsProcessor) ExecuteQueryCalls(stub func(*context.Context, context.QueryResultsCollector, func(collector context.QueryResultsCollector) (int, error), func(ctx *context.Context, value context.QueryResult) context.ProcessResult) (<-chan context.ProcessResult, error))
func (*FakeQueryResultsProcessor) ExecuteQueryReturns ¶
func (fake *FakeQueryResultsProcessor) ExecuteQueryReturns(result1 <-chan context.ProcessResult, result2 error)
func (*FakeQueryResultsProcessor) ExecuteQueryReturnsOnCall ¶
func (fake *FakeQueryResultsProcessor) ExecuteQueryReturnsOnCall(i int, result1 <-chan context.ProcessResult, result2 error)
func (*FakeQueryResultsProcessor) Invocations ¶
func (fake *FakeQueryResultsProcessor) Invocations() map[string][][]interface{}
type FakeSpaceCommandRunner ¶
type FakeSpaceCommandRunner struct { RunStub func(*context.Context, string, string) error // contains filtered or unexported fields }
func (*FakeSpaceCommandRunner) Invocations ¶
func (fake *FakeSpaceCommandRunner) Invocations() map[string][][]interface{}
func (*FakeSpaceCommandRunner) RunArgsForCall ¶
func (*FakeSpaceCommandRunner) RunCallCount ¶
func (fake *FakeSpaceCommandRunner) RunCallCount() int
func (*FakeSpaceCommandRunner) RunReturns ¶
func (fake *FakeSpaceCommandRunner) RunReturns(result1 error)
func (*FakeSpaceCommandRunner) RunReturnsOnCall ¶
func (fake *FakeSpaceCommandRunner) RunReturnsOnCall(i int, result1 error)
type FakeSpaceExporter ¶
type FakeSpaceExporter struct { ExportSpaceStub func(*context.Context, cfclient.Space, context.ProcessFunc) (<-chan context.ProcessResult, error) // contains filtered or unexported fields }
func (*FakeSpaceExporter) ExportSpace ¶
func (fake *FakeSpaceExporter) ExportSpace(arg1 *context.Context, arg2 cfclient.Space, arg3 context.ProcessFunc) (<-chan context.ProcessResult, error)
func (*FakeSpaceExporter) ExportSpaceArgsForCall ¶
func (fake *FakeSpaceExporter) ExportSpaceArgsForCall(i int) (*context.Context, cfclient.Space, context.ProcessFunc)
func (*FakeSpaceExporter) ExportSpaceCallCount ¶
func (fake *FakeSpaceExporter) ExportSpaceCallCount() int
func (*FakeSpaceExporter) ExportSpaceCalls ¶
func (fake *FakeSpaceExporter) ExportSpaceCalls(stub func(*context.Context, cfclient.Space, context.ProcessFunc) (<-chan context.ProcessResult, error))
func (*FakeSpaceExporter) ExportSpaceReturns ¶
func (fake *FakeSpaceExporter) ExportSpaceReturns(result1 <-chan context.ProcessResult, result2 error)
func (*FakeSpaceExporter) ExportSpaceReturnsOnCall ¶
func (fake *FakeSpaceExporter) ExportSpaceReturnsOnCall(i int, result1 <-chan context.ProcessResult, result2 error)
func (*FakeSpaceExporter) Invocations ¶
func (fake *FakeSpaceExporter) Invocations() map[string][][]interface{}
type FakeSpaceImporter ¶
type FakeSpaceImporter struct { ImportSpaceStub func(*context.Context, context.ProcessFunc, []string) (<-chan context.ProcessResult, error) // contains filtered or unexported fields }
func (*FakeSpaceImporter) ImportSpace ¶
func (fake *FakeSpaceImporter) ImportSpace(arg1 *context.Context, arg2 context.ProcessFunc, arg3 []string) (<-chan context.ProcessResult, error)
func (*FakeSpaceImporter) ImportSpaceArgsForCall ¶
func (fake *FakeSpaceImporter) ImportSpaceArgsForCall(i int) (*context.Context, context.ProcessFunc, []string)
func (*FakeSpaceImporter) ImportSpaceCallCount ¶
func (fake *FakeSpaceImporter) ImportSpaceCallCount() int
func (*FakeSpaceImporter) ImportSpaceCalls ¶
func (fake *FakeSpaceImporter) ImportSpaceCalls(stub func(*context.Context, context.ProcessFunc, []string) (<-chan context.ProcessResult, error))
func (*FakeSpaceImporter) ImportSpaceReturns ¶
func (fake *FakeSpaceImporter) ImportSpaceReturns(result1 <-chan context.ProcessResult, result2 error)
func (*FakeSpaceImporter) ImportSpaceReturnsOnCall ¶
func (fake *FakeSpaceImporter) ImportSpaceReturnsOnCall(i int, result1 <-chan context.ProcessResult, result2 error)
func (*FakeSpaceImporter) Invocations ¶
func (fake *FakeSpaceImporter) Invocations() map[string][][]interface{}
Source Files
¶
- fake_app_command_runner.go
- fake_app_import_runner.go
- fake_auto_scaler_exporter.go
- fake_command_runner.go
- fake_dir_writer.go
- fake_droplet_exporter.go
- fake_manifest_exporter.go
- fake_org_command_runner.go
- fake_query_results_collector.go
- fake_query_results_processor.go
- fake_space_command_runner.go
- fake_space_exporter.go
- fake_space_importer.go
Click to show internal directories.
Click to hide internal directories.