fakes

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

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) Run

func (fake *FakeAppCommandRunner) Run(arg1 *context.Context, arg2 string, arg3 string) error

func (*FakeAppCommandRunner) RunArgsForCall

func (fake *FakeAppCommandRunner) RunArgsForCall(i int) (*context.Context, string, string)

func (*FakeAppCommandRunner) RunCallCount

func (fake *FakeAppCommandRunner) RunCallCount() int

func (*FakeAppCommandRunner) RunCalls

func (fake *FakeAppCommandRunner) RunCalls(stub func(*context.Context, string, string) error)

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) Run

func (fake *FakeAppImportRunner) Run(arg1 *context.Context) error

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 (fake *FakeAutoScalerExporter) ExportAutoScalerInstances(arg1 *context.Context, arg2 cfclient.Org, arg3 cfclient.Space, arg4 cfclient.App, arg5 string) error

func (*FakeAutoScalerExporter) ExportAutoScalerInstancesArgsForCall

func (fake *FakeAutoScalerExporter) ExportAutoScalerInstancesArgsForCall(i int) (*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string)

func (*FakeAutoScalerExporter) ExportAutoScalerInstancesCallCount

func (fake *FakeAutoScalerExporter) ExportAutoScalerInstancesCallCount() int

func (*FakeAutoScalerExporter) ExportAutoScalerInstancesCalls

func (fake *FakeAutoScalerExporter) ExportAutoScalerInstancesCalls(stub func(*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string) error)

func (*FakeAutoScalerExporter) ExportAutoScalerInstancesReturns

func (fake *FakeAutoScalerExporter) ExportAutoScalerInstancesReturns(result1 error)

func (*FakeAutoScalerExporter) ExportAutoScalerInstancesReturnsOnCall

func (fake *FakeAutoScalerExporter) ExportAutoScalerInstancesReturnsOnCall(i int, result1 error)

func (*FakeAutoScalerExporter) ExportAutoScalerRules

func (fake *FakeAutoScalerExporter) ExportAutoScalerRules(arg1 *context.Context, arg2 cfclient.Org, arg3 cfclient.Space, arg4 cfclient.App, arg5 string) error

func (*FakeAutoScalerExporter) ExportAutoScalerRulesArgsForCall

func (fake *FakeAutoScalerExporter) ExportAutoScalerRulesArgsForCall(i int) (*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string)

func (*FakeAutoScalerExporter) ExportAutoScalerRulesCallCount

func (fake *FakeAutoScalerExporter) ExportAutoScalerRulesCallCount() int

func (*FakeAutoScalerExporter) ExportAutoScalerRulesCalls

func (fake *FakeAutoScalerExporter) ExportAutoScalerRulesCalls(stub func(*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string) error)

func (*FakeAutoScalerExporter) ExportAutoScalerRulesReturns

func (fake *FakeAutoScalerExporter) ExportAutoScalerRulesReturns(result1 error)

func (*FakeAutoScalerExporter) ExportAutoScalerRulesReturnsOnCall

func (fake *FakeAutoScalerExporter) ExportAutoScalerRulesReturnsOnCall(i int, result1 error)

func (*FakeAutoScalerExporter) ExportAutoScalerSchedules

func (fake *FakeAutoScalerExporter) ExportAutoScalerSchedules(arg1 *context.Context, arg2 cfclient.Org, arg3 cfclient.Space, arg4 cfclient.App, arg5 string) error

func (*FakeAutoScalerExporter) ExportAutoScalerSchedulesArgsForCall

func (fake *FakeAutoScalerExporter) ExportAutoScalerSchedulesArgsForCall(i int) (*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string)

func (*FakeAutoScalerExporter) ExportAutoScalerSchedulesCallCount

func (fake *FakeAutoScalerExporter) ExportAutoScalerSchedulesCallCount() int

func (*FakeAutoScalerExporter) ExportAutoScalerSchedulesCalls

func (fake *FakeAutoScalerExporter) ExportAutoScalerSchedulesCalls(stub func(*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string) error)

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) Run

func (fake *FakeCommandRunner) Run(arg1 *context.Context) error

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) IsEmpty

func (fake *FakeDirWriter) IsEmpty(arg1 string) (bool, error)

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 (fake *FakeDropletExporter) DownloadDroplet(arg1 *context.Context, arg2 cfclient.Org, arg3 cfclient.Space, arg4 cfclient.App, arg5 string) error

func (*FakeDropletExporter) DownloadDropletArgsForCall

func (fake *FakeDropletExporter) DownloadDropletArgsForCall(i int) (*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string)

func (*FakeDropletExporter) DownloadDropletCallCount

func (fake *FakeDropletExporter) DownloadDropletCallCount() int

func (*FakeDropletExporter) DownloadDropletCalls

func (fake *FakeDropletExporter) DownloadDropletCalls(stub func(*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string) error)

func (*FakeDropletExporter) DownloadDropletReturns

func (fake *FakeDropletExporter) DownloadDropletReturns(result1 error)

func (*FakeDropletExporter) DownloadDropletReturnsOnCall

func (fake *FakeDropletExporter) DownloadDropletReturnsOnCall(i int, result1 error)

func (*FakeDropletExporter) DownloadPackages

func (fake *FakeDropletExporter) DownloadPackages(arg1 *context.Context, arg2 cfclient.Org, arg3 cfclient.Space, arg4 cfclient.App, arg5 string) error

func (*FakeDropletExporter) DownloadPackagesArgsForCall

func (fake *FakeDropletExporter) DownloadPackagesArgsForCall(i int) (*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string)

func (*FakeDropletExporter) DownloadPackagesCallCount

func (fake *FakeDropletExporter) DownloadPackagesCallCount() int

func (*FakeDropletExporter) DownloadPackagesCalls

func (fake *FakeDropletExporter) DownloadPackagesCalls(stub func(*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string) error)

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 (fake *FakeDropletExporter) NumberOfPackages(arg1 *context.Context, arg2 cfclient.App) (float64, error)

func (*FakeDropletExporter) NumberOfPackagesArgsForCall

func (fake *FakeDropletExporter) NumberOfPackagesArgsForCall(i int) (*context.Context, cfclient.App)

func (*FakeDropletExporter) NumberOfPackagesCallCount

func (fake *FakeDropletExporter) NumberOfPackagesCallCount() int

func (*FakeDropletExporter) NumberOfPackagesCalls

func (fake *FakeDropletExporter) NumberOfPackagesCalls(stub func(*context.Context, cfclient.App) (float64, error))

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 (fake *FakeManifestExporter) ExportAppManifest(arg1 *context.Context, arg2 cfclient.Org, arg3 cfclient.Space, arg4 cfclient.App, arg5 string) error

func (*FakeManifestExporter) ExportAppManifestArgsForCall

func (fake *FakeManifestExporter) ExportAppManifestArgsForCall(i int) (*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string)

func (*FakeManifestExporter) ExportAppManifestCallCount

func (fake *FakeManifestExporter) ExportAppManifestCallCount() int

func (*FakeManifestExporter) ExportAppManifestCalls

func (fake *FakeManifestExporter) ExportAppManifestCalls(stub func(*context.Context, cfclient.Org, cfclient.Space, cfclient.App, string) error)

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 (*FakeQueryResultsProcessor) ExecuteQueryArgsForCall

func (*FakeQueryResultsProcessor) ExecuteQueryCallCount

func (fake *FakeQueryResultsProcessor) ExecuteQueryCallCount() int

func (*FakeQueryResultsProcessor) ExecuteQueryCalls

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) Run

func (fake *FakeSpaceCommandRunner) Run(arg1 *context.Context, arg2 string, arg3 string) error

func (*FakeSpaceCommandRunner) RunArgsForCall

func (fake *FakeSpaceCommandRunner) RunArgsForCall(i int) (*context.Context, string, string)

func (*FakeSpaceCommandRunner) RunCallCount

func (fake *FakeSpaceCommandRunner) RunCallCount() int

func (*FakeSpaceCommandRunner) RunCalls

func (fake *FakeSpaceCommandRunner) RunCalls(stub func(*context.Context, string, string) error)

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{}

Jump to

Keyboard shortcuts

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