pushactionfakes

package
v6.28.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2017 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeProgressBar

type FakeProgressBar struct {
	NewProgressBarWrapperStub func(reader io.Reader, sizeOfFile int64) io.Reader
	// contains filtered or unexported fields
}

func (*FakeProgressBar) Invocations

func (fake *FakeProgressBar) Invocations() map[string][][]interface{}

func (*FakeProgressBar) NewProgressBarWrapper

func (fake *FakeProgressBar) NewProgressBarWrapper(reader io.Reader, sizeOfFile int64) io.Reader

func (*FakeProgressBar) NewProgressBarWrapperArgsForCall

func (fake *FakeProgressBar) NewProgressBarWrapperArgsForCall(i int) (io.Reader, int64)

func (*FakeProgressBar) NewProgressBarWrapperCallCount

func (fake *FakeProgressBar) NewProgressBarWrapperCallCount() int

func (*FakeProgressBar) NewProgressBarWrapperReturns

func (fake *FakeProgressBar) NewProgressBarWrapperReturns(result1 io.Reader)

func (*FakeProgressBar) NewProgressBarWrapperReturnsOnCall

func (fake *FakeProgressBar) NewProgressBarWrapperReturnsOnCall(i int, result1 io.Reader)

type FakeV2Actor

type FakeV2Actor struct {
	BindRouteToApplicationStub func(routeGUID string, appGUID string) (v2action.Warnings, error)

	CreateApplicationStub func(application v2action.Application) (v2action.Application, v2action.Warnings, error)

	CreateRouteStub func(route v2action.Route, generatePort bool) (v2action.Route, v2action.Warnings, error)

	FindRouteBoundToSpaceWithSettingsStub func(route v2action.Route) (v2action.Route, v2action.Warnings, error)

	GatherArchiveResourcesStub func(archivePath string) ([]v2action.Resource, error)

	GatherDirectoryResourcesStub func(sourceDir string) ([]v2action.Resource, error)

	GetApplicationByNameAndSpaceStub func(name string, spaceGUID string) (v2action.Application, v2action.Warnings, error)

	GetApplicationRoutesStub func(applicationGUID string) ([]v2action.Route, v2action.Warnings, error)

	GetOrganizationDomainsStub func(orgGUID string) ([]v2action.Domain, v2action.Warnings, error)

	PollJobStub func(job v2action.Job) (v2action.Warnings, error)

	UpdateApplicationStub func(application v2action.Application) (v2action.Application, v2action.Warnings, error)

	UploadApplicationPackageStub func(appGUID string, existingResources []v2action.Resource, newResources io.Reader, newResourcesLength int64) (v2action.Job, v2action.Warnings, error)

	ZipArchiveResourcesStub func(sourceArchivePath string, filesToInclude []v2action.Resource) (string, error)

	ZipDirectoryResourcesStub func(sourceDir string, filesToInclude []v2action.Resource) (string, error)
	// contains filtered or unexported fields
}

func (*FakeV2Actor) BindRouteToApplication

func (fake *FakeV2Actor) BindRouteToApplication(routeGUID string, appGUID string) (v2action.Warnings, error)

func (*FakeV2Actor) BindRouteToApplicationArgsForCall

func (fake *FakeV2Actor) BindRouteToApplicationArgsForCall(i int) (string, string)

func (*FakeV2Actor) BindRouteToApplicationCallCount

func (fake *FakeV2Actor) BindRouteToApplicationCallCount() int

func (*FakeV2Actor) BindRouteToApplicationReturns

func (fake *FakeV2Actor) BindRouteToApplicationReturns(result1 v2action.Warnings, result2 error)

func (*FakeV2Actor) BindRouteToApplicationReturnsOnCall

func (fake *FakeV2Actor) BindRouteToApplicationReturnsOnCall(i int, result1 v2action.Warnings, result2 error)

func (*FakeV2Actor) CreateApplication

func (fake *FakeV2Actor) CreateApplication(application v2action.Application) (v2action.Application, v2action.Warnings, error)

func (*FakeV2Actor) CreateApplicationArgsForCall

func (fake *FakeV2Actor) CreateApplicationArgsForCall(i int) v2action.Application

func (*FakeV2Actor) CreateApplicationCallCount

func (fake *FakeV2Actor) CreateApplicationCallCount() int

func (*FakeV2Actor) CreateApplicationReturns

func (fake *FakeV2Actor) CreateApplicationReturns(result1 v2action.Application, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) CreateApplicationReturnsOnCall

func (fake *FakeV2Actor) CreateApplicationReturnsOnCall(i int, result1 v2action.Application, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) CreateRoute

func (fake *FakeV2Actor) CreateRoute(route v2action.Route, generatePort bool) (v2action.Route, v2action.Warnings, error)

func (*FakeV2Actor) CreateRouteArgsForCall

func (fake *FakeV2Actor) CreateRouteArgsForCall(i int) (v2action.Route, bool)

func (*FakeV2Actor) CreateRouteCallCount

func (fake *FakeV2Actor) CreateRouteCallCount() int

func (*FakeV2Actor) CreateRouteReturns

func (fake *FakeV2Actor) CreateRouteReturns(result1 v2action.Route, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) CreateRouteReturnsOnCall

func (fake *FakeV2Actor) CreateRouteReturnsOnCall(i int, result1 v2action.Route, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) FindRouteBoundToSpaceWithSettings

func (fake *FakeV2Actor) FindRouteBoundToSpaceWithSettings(route v2action.Route) (v2action.Route, v2action.Warnings, error)

func (*FakeV2Actor) FindRouteBoundToSpaceWithSettingsArgsForCall

func (fake *FakeV2Actor) FindRouteBoundToSpaceWithSettingsArgsForCall(i int) v2action.Route

func (*FakeV2Actor) FindRouteBoundToSpaceWithSettingsCallCount

func (fake *FakeV2Actor) FindRouteBoundToSpaceWithSettingsCallCount() int

func (*FakeV2Actor) FindRouteBoundToSpaceWithSettingsReturns

func (fake *FakeV2Actor) FindRouteBoundToSpaceWithSettingsReturns(result1 v2action.Route, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) FindRouteBoundToSpaceWithSettingsReturnsOnCall

func (fake *FakeV2Actor) FindRouteBoundToSpaceWithSettingsReturnsOnCall(i int, result1 v2action.Route, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) GatherArchiveResources

func (fake *FakeV2Actor) GatherArchiveResources(archivePath string) ([]v2action.Resource, error)

func (*FakeV2Actor) GatherArchiveResourcesArgsForCall

func (fake *FakeV2Actor) GatherArchiveResourcesArgsForCall(i int) string

func (*FakeV2Actor) GatherArchiveResourcesCallCount

func (fake *FakeV2Actor) GatherArchiveResourcesCallCount() int

func (*FakeV2Actor) GatherArchiveResourcesReturns

func (fake *FakeV2Actor) GatherArchiveResourcesReturns(result1 []v2action.Resource, result2 error)

func (*FakeV2Actor) GatherArchiveResourcesReturnsOnCall

func (fake *FakeV2Actor) GatherArchiveResourcesReturnsOnCall(i int, result1 []v2action.Resource, result2 error)

func (*FakeV2Actor) GatherDirectoryResources

func (fake *FakeV2Actor) GatherDirectoryResources(sourceDir string) ([]v2action.Resource, error)

func (*FakeV2Actor) GatherDirectoryResourcesArgsForCall

func (fake *FakeV2Actor) GatherDirectoryResourcesArgsForCall(i int) string

func (*FakeV2Actor) GatherDirectoryResourcesCallCount

func (fake *FakeV2Actor) GatherDirectoryResourcesCallCount() int

func (*FakeV2Actor) GatherDirectoryResourcesReturns

func (fake *FakeV2Actor) GatherDirectoryResourcesReturns(result1 []v2action.Resource, result2 error)

func (*FakeV2Actor) GatherDirectoryResourcesReturnsOnCall

func (fake *FakeV2Actor) GatherDirectoryResourcesReturnsOnCall(i int, result1 []v2action.Resource, result2 error)

func (*FakeV2Actor) GetApplicationByNameAndSpace

func (fake *FakeV2Actor) GetApplicationByNameAndSpace(name string, spaceGUID string) (v2action.Application, v2action.Warnings, error)

func (*FakeV2Actor) GetApplicationByNameAndSpaceArgsForCall

func (fake *FakeV2Actor) GetApplicationByNameAndSpaceArgsForCall(i int) (string, string)

func (*FakeV2Actor) GetApplicationByNameAndSpaceCallCount

func (fake *FakeV2Actor) GetApplicationByNameAndSpaceCallCount() int

func (*FakeV2Actor) GetApplicationByNameAndSpaceReturns

func (fake *FakeV2Actor) GetApplicationByNameAndSpaceReturns(result1 v2action.Application, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) GetApplicationByNameAndSpaceReturnsOnCall

func (fake *FakeV2Actor) GetApplicationByNameAndSpaceReturnsOnCall(i int, result1 v2action.Application, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) GetApplicationRoutes

func (fake *FakeV2Actor) GetApplicationRoutes(applicationGUID string) ([]v2action.Route, v2action.Warnings, error)

func (*FakeV2Actor) GetApplicationRoutesArgsForCall

func (fake *FakeV2Actor) GetApplicationRoutesArgsForCall(i int) string

func (*FakeV2Actor) GetApplicationRoutesCallCount

func (fake *FakeV2Actor) GetApplicationRoutesCallCount() int

func (*FakeV2Actor) GetApplicationRoutesReturns

func (fake *FakeV2Actor) GetApplicationRoutesReturns(result1 []v2action.Route, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) GetApplicationRoutesReturnsOnCall

func (fake *FakeV2Actor) GetApplicationRoutesReturnsOnCall(i int, result1 []v2action.Route, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) GetOrganizationDomains

func (fake *FakeV2Actor) GetOrganizationDomains(orgGUID string) ([]v2action.Domain, v2action.Warnings, error)

func (*FakeV2Actor) GetOrganizationDomainsArgsForCall

func (fake *FakeV2Actor) GetOrganizationDomainsArgsForCall(i int) string

func (*FakeV2Actor) GetOrganizationDomainsCallCount

func (fake *FakeV2Actor) GetOrganizationDomainsCallCount() int

func (*FakeV2Actor) GetOrganizationDomainsReturns

func (fake *FakeV2Actor) GetOrganizationDomainsReturns(result1 []v2action.Domain, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) GetOrganizationDomainsReturnsOnCall

func (fake *FakeV2Actor) GetOrganizationDomainsReturnsOnCall(i int, result1 []v2action.Domain, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) Invocations

func (fake *FakeV2Actor) Invocations() map[string][][]interface{}

func (*FakeV2Actor) PollJob

func (fake *FakeV2Actor) PollJob(job v2action.Job) (v2action.Warnings, error)

func (*FakeV2Actor) PollJobArgsForCall

func (fake *FakeV2Actor) PollJobArgsForCall(i int) v2action.Job

func (*FakeV2Actor) PollJobCallCount

func (fake *FakeV2Actor) PollJobCallCount() int

func (*FakeV2Actor) PollJobReturns

func (fake *FakeV2Actor) PollJobReturns(result1 v2action.Warnings, result2 error)

func (*FakeV2Actor) PollJobReturnsOnCall

func (fake *FakeV2Actor) PollJobReturnsOnCall(i int, result1 v2action.Warnings, result2 error)

func (*FakeV2Actor) UpdateApplication

func (fake *FakeV2Actor) UpdateApplication(application v2action.Application) (v2action.Application, v2action.Warnings, error)

func (*FakeV2Actor) UpdateApplicationArgsForCall

func (fake *FakeV2Actor) UpdateApplicationArgsForCall(i int) v2action.Application

func (*FakeV2Actor) UpdateApplicationCallCount

func (fake *FakeV2Actor) UpdateApplicationCallCount() int

func (*FakeV2Actor) UpdateApplicationReturns

func (fake *FakeV2Actor) UpdateApplicationReturns(result1 v2action.Application, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) UpdateApplicationReturnsOnCall

func (fake *FakeV2Actor) UpdateApplicationReturnsOnCall(i int, result1 v2action.Application, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) UploadApplicationPackage

func (fake *FakeV2Actor) UploadApplicationPackage(appGUID string, existingResources []v2action.Resource, newResources io.Reader, newResourcesLength int64) (v2action.Job, v2action.Warnings, error)

func (*FakeV2Actor) UploadApplicationPackageArgsForCall

func (fake *FakeV2Actor) UploadApplicationPackageArgsForCall(i int) (string, []v2action.Resource, io.Reader, int64)

func (*FakeV2Actor) UploadApplicationPackageCallCount

func (fake *FakeV2Actor) UploadApplicationPackageCallCount() int

func (*FakeV2Actor) UploadApplicationPackageReturns

func (fake *FakeV2Actor) UploadApplicationPackageReturns(result1 v2action.Job, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) UploadApplicationPackageReturnsOnCall

func (fake *FakeV2Actor) UploadApplicationPackageReturnsOnCall(i int, result1 v2action.Job, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) ZipArchiveResources

func (fake *FakeV2Actor) ZipArchiveResources(sourceArchivePath string, filesToInclude []v2action.Resource) (string, error)

func (*FakeV2Actor) ZipArchiveResourcesArgsForCall

func (fake *FakeV2Actor) ZipArchiveResourcesArgsForCall(i int) (string, []v2action.Resource)

func (*FakeV2Actor) ZipArchiveResourcesCallCount

func (fake *FakeV2Actor) ZipArchiveResourcesCallCount() int

func (*FakeV2Actor) ZipArchiveResourcesReturns

func (fake *FakeV2Actor) ZipArchiveResourcesReturns(result1 string, result2 error)

func (*FakeV2Actor) ZipArchiveResourcesReturnsOnCall

func (fake *FakeV2Actor) ZipArchiveResourcesReturnsOnCall(i int, result1 string, result2 error)

func (*FakeV2Actor) ZipDirectoryResources

func (fake *FakeV2Actor) ZipDirectoryResources(sourceDir string, filesToInclude []v2action.Resource) (string, error)

func (*FakeV2Actor) ZipDirectoryResourcesArgsForCall

func (fake *FakeV2Actor) ZipDirectoryResourcesArgsForCall(i int) (string, []v2action.Resource)

func (*FakeV2Actor) ZipDirectoryResourcesCallCount

func (fake *FakeV2Actor) ZipDirectoryResourcesCallCount() int

func (*FakeV2Actor) ZipDirectoryResourcesReturns

func (fake *FakeV2Actor) ZipDirectoryResourcesReturns(result1 string, result2 error)

func (*FakeV2Actor) ZipDirectoryResourcesReturnsOnCall

func (fake *FakeV2Actor) ZipDirectoryResourcesReturnsOnCall(i int, result1 string, result2 error)

Jump to

Keyboard shortcuts

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