pushactionfakes

package
v6.38.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2018 License: Apache-2.0 Imports: 6 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.

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 FakeRandomWordGenerator

type FakeRandomWordGenerator struct {
	RandomAdjectiveStub func() string

	RandomNounStub func() string
	// contains filtered or unexported fields
}

func (*FakeRandomWordGenerator) Invocations

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

func (*FakeRandomWordGenerator) RandomAdjective

func (fake *FakeRandomWordGenerator) RandomAdjective() string

func (*FakeRandomWordGenerator) RandomAdjectiveCallCount

func (fake *FakeRandomWordGenerator) RandomAdjectiveCallCount() int

func (*FakeRandomWordGenerator) RandomAdjectiveReturns

func (fake *FakeRandomWordGenerator) RandomAdjectiveReturns(result1 string)

func (*FakeRandomWordGenerator) RandomAdjectiveReturnsOnCall

func (fake *FakeRandomWordGenerator) RandomAdjectiveReturnsOnCall(i int, result1 string)

func (*FakeRandomWordGenerator) RandomNoun

func (fake *FakeRandomWordGenerator) RandomNoun() string

func (*FakeRandomWordGenerator) RandomNounCallCount

func (fake *FakeRandomWordGenerator) RandomNounCallCount() int

func (*FakeRandomWordGenerator) RandomNounReturns

func (fake *FakeRandomWordGenerator) RandomNounReturns(result1 string)

func (*FakeRandomWordGenerator) RandomNounReturnsOnCall

func (fake *FakeRandomWordGenerator) RandomNounReturnsOnCall(i int, result1 string)

type FakeReadCloser

type FakeReadCloser struct {
	ReadStub func(p []byte) (n int, err error)

	CloseStub func() error
	// contains filtered or unexported fields
}

func (*FakeReadCloser) Close

func (fake *FakeReadCloser) Close() error

func (*FakeReadCloser) CloseCallCount

func (fake *FakeReadCloser) CloseCallCount() int

func (*FakeReadCloser) CloseReturns

func (fake *FakeReadCloser) CloseReturns(result1 error)

func (*FakeReadCloser) CloseReturnsOnCall

func (fake *FakeReadCloser) CloseReturnsOnCall(i int, result1 error)

func (*FakeReadCloser) Invocations

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

func (*FakeReadCloser) Read

func (fake *FakeReadCloser) Read(p []byte) (n int, err error)

func (*FakeReadCloser) ReadArgsForCall

func (fake *FakeReadCloser) ReadArgsForCall(i int) []byte

func (*FakeReadCloser) ReadCallCount

func (fake *FakeReadCloser) ReadCallCount() int

func (*FakeReadCloser) ReadReturns

func (fake *FakeReadCloser) ReadReturns(result1 int, result2 error)

func (*FakeReadCloser) ReadReturnsOnCall

func (fake *FakeReadCloser) ReadReturnsOnCall(i int, result1 int, result2 error)

type FakeSharedActor

type FakeSharedActor struct {
	GatherArchiveResourcesStub func(archivePath string) ([]sharedaction.Resource, error)

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

	ReadArchiveStub func(archivePath string) (io.ReadCloser, int64, error)

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

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

func (*FakeSharedActor) GatherArchiveResources

func (fake *FakeSharedActor) GatherArchiveResources(archivePath string) ([]sharedaction.Resource, error)

func (*FakeSharedActor) GatherArchiveResourcesArgsForCall

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

func (*FakeSharedActor) GatherArchiveResourcesCallCount

func (fake *FakeSharedActor) GatherArchiveResourcesCallCount() int

func (*FakeSharedActor) GatherArchiveResourcesReturns

func (fake *FakeSharedActor) GatherArchiveResourcesReturns(result1 []sharedaction.Resource, result2 error)

func (*FakeSharedActor) GatherArchiveResourcesReturnsOnCall

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

func (*FakeSharedActor) GatherDirectoryResources

func (fake *FakeSharedActor) GatherDirectoryResources(sourceDir string) ([]sharedaction.Resource, error)

func (*FakeSharedActor) GatherDirectoryResourcesArgsForCall

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

func (*FakeSharedActor) GatherDirectoryResourcesCallCount

func (fake *FakeSharedActor) GatherDirectoryResourcesCallCount() int

func (*FakeSharedActor) GatherDirectoryResourcesReturns

func (fake *FakeSharedActor) GatherDirectoryResourcesReturns(result1 []sharedaction.Resource, result2 error)

func (*FakeSharedActor) GatherDirectoryResourcesReturnsOnCall

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

func (*FakeSharedActor) Invocations

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

func (*FakeSharedActor) ReadArchive

func (fake *FakeSharedActor) ReadArchive(archivePath string) (io.ReadCloser, int64, error)

func (*FakeSharedActor) ReadArchiveArgsForCall

func (fake *FakeSharedActor) ReadArchiveArgsForCall(i int) string

func (*FakeSharedActor) ReadArchiveCallCount

func (fake *FakeSharedActor) ReadArchiveCallCount() int

func (*FakeSharedActor) ReadArchiveReturns

func (fake *FakeSharedActor) ReadArchiveReturns(result1 io.ReadCloser, result2 int64, result3 error)

func (*FakeSharedActor) ReadArchiveReturnsOnCall

func (fake *FakeSharedActor) ReadArchiveReturnsOnCall(i int, result1 io.ReadCloser, result2 int64, result3 error)

func (*FakeSharedActor) ZipArchiveResources

func (fake *FakeSharedActor) ZipArchiveResources(sourceArchivePath string, filesToInclude []sharedaction.Resource) (string, error)

func (*FakeSharedActor) ZipArchiveResourcesArgsForCall

func (fake *FakeSharedActor) ZipArchiveResourcesArgsForCall(i int) (string, []sharedaction.Resource)

func (*FakeSharedActor) ZipArchiveResourcesCallCount

func (fake *FakeSharedActor) ZipArchiveResourcesCallCount() int

func (*FakeSharedActor) ZipArchiveResourcesReturns

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

func (*FakeSharedActor) ZipArchiveResourcesReturnsOnCall

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

func (*FakeSharedActor) ZipDirectoryResources

func (fake *FakeSharedActor) ZipDirectoryResources(sourceDir string, filesToInclude []sharedaction.Resource) (string, error)

func (*FakeSharedActor) ZipDirectoryResourcesArgsForCall

func (fake *FakeSharedActor) ZipDirectoryResourcesArgsForCall(i int) (string, []sharedaction.Resource)

func (*FakeSharedActor) ZipDirectoryResourcesCallCount

func (fake *FakeSharedActor) ZipDirectoryResourcesCallCount() int

func (*FakeSharedActor) ZipDirectoryResourcesReturns

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

func (*FakeSharedActor) ZipDirectoryResourcesReturnsOnCall

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

type FakeV2Actor

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

	BindServiceByApplicationAndServiceInstanceStub func(appGUID string, serviceInstanceGUID string) (v2action.Warnings, error)

	CloudControllerAPIVersionStub func() string

	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)

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

	GetApplicationRoutesStub func(applicationGUID string) (v2action.Routes, v2action.Warnings, error)

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

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

	GetServiceInstanceByNameAndSpaceStub func(name string, spaceGUID string) (v2action.ServiceInstance, v2action.Warnings, error)

	GetServiceInstancesByApplicationStub func(appGUID string) ([]v2action.ServiceInstance, v2action.Warnings, error)

	GetStackStub func(guid string) (v2action.Stack, v2action.Warnings, error)

	GetStackByNameStub func(stackName string) (v2action.Stack, v2action.Warnings, error)

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

	ResourceMatchStub func(allResources []v2action.Resource) ([]v2action.Resource, []v2action.Resource, v2action.Warnings, error)

	UnmapRouteFromApplicationStub func(routeGUID string, appGUID string) (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)

	UploadDropletStub func(appGUID string, droplet io.Reader, dropletLength int64) (v2action.Job, v2action.Warnings, error)
	// contains filtered or unexported fields
}

func (*FakeV2Actor) BindServiceByApplicationAndServiceInstance

func (fake *FakeV2Actor) BindServiceByApplicationAndServiceInstance(appGUID string, serviceInstanceGUID string) (v2action.Warnings, error)

func (*FakeV2Actor) BindServiceByApplicationAndServiceInstanceArgsForCall

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

func (*FakeV2Actor) BindServiceByApplicationAndServiceInstanceCallCount

func (fake *FakeV2Actor) BindServiceByApplicationAndServiceInstanceCallCount() int

func (*FakeV2Actor) BindServiceByApplicationAndServiceInstanceReturns

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

func (*FakeV2Actor) BindServiceByApplicationAndServiceInstanceReturnsOnCall

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

func (*FakeV2Actor) CloudControllerAPIVersion

func (fake *FakeV2Actor) CloudControllerAPIVersion() string

func (*FakeV2Actor) CloudControllerAPIVersionCallCount

func (fake *FakeV2Actor) CloudControllerAPIVersionCallCount() int

func (*FakeV2Actor) CloudControllerAPIVersionReturns

func (fake *FakeV2Actor) CloudControllerAPIVersionReturns(result1 string)

func (*FakeV2Actor) CloudControllerAPIVersionReturnsOnCall

func (fake *FakeV2Actor) CloudControllerAPIVersionReturnsOnCall(i int, result1 string)

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) 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.Routes, 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.Routes, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) GetApplicationRoutesReturnsOnCall

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

func (*FakeV2Actor) GetDomainsByNameAndOrganization

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

func (*FakeV2Actor) GetDomainsByNameAndOrganizationArgsForCall

func (fake *FakeV2Actor) GetDomainsByNameAndOrganizationArgsForCall(i int) ([]string, string)

func (*FakeV2Actor) GetDomainsByNameAndOrganizationCallCount

func (fake *FakeV2Actor) GetDomainsByNameAndOrganizationCallCount() int

func (*FakeV2Actor) GetDomainsByNameAndOrganizationReturns

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

func (*FakeV2Actor) GetDomainsByNameAndOrganizationReturnsOnCall

func (fake *FakeV2Actor) GetDomainsByNameAndOrganizationReturnsOnCall(i int, result1 []v2action.Domain, 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) GetServiceInstanceByNameAndSpace

func (fake *FakeV2Actor) GetServiceInstanceByNameAndSpace(name string, spaceGUID string) (v2action.ServiceInstance, v2action.Warnings, error)

func (*FakeV2Actor) GetServiceInstanceByNameAndSpaceArgsForCall

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

func (*FakeV2Actor) GetServiceInstanceByNameAndSpaceCallCount

func (fake *FakeV2Actor) GetServiceInstanceByNameAndSpaceCallCount() int

func (*FakeV2Actor) GetServiceInstanceByNameAndSpaceReturns

func (fake *FakeV2Actor) GetServiceInstanceByNameAndSpaceReturns(result1 v2action.ServiceInstance, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) GetServiceInstanceByNameAndSpaceReturnsOnCall

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

func (*FakeV2Actor) GetServiceInstancesByApplication

func (fake *FakeV2Actor) GetServiceInstancesByApplication(appGUID string) ([]v2action.ServiceInstance, v2action.Warnings, error)

func (*FakeV2Actor) GetServiceInstancesByApplicationArgsForCall

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

func (*FakeV2Actor) GetServiceInstancesByApplicationCallCount

func (fake *FakeV2Actor) GetServiceInstancesByApplicationCallCount() int

func (*FakeV2Actor) GetServiceInstancesByApplicationReturns

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

func (*FakeV2Actor) GetServiceInstancesByApplicationReturnsOnCall

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

func (*FakeV2Actor) GetStack

func (fake *FakeV2Actor) GetStack(guid string) (v2action.Stack, v2action.Warnings, error)

func (*FakeV2Actor) GetStackArgsForCall

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

func (*FakeV2Actor) GetStackByName

func (fake *FakeV2Actor) GetStackByName(stackName string) (v2action.Stack, v2action.Warnings, error)

func (*FakeV2Actor) GetStackByNameArgsForCall

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

func (*FakeV2Actor) GetStackByNameCallCount

func (fake *FakeV2Actor) GetStackByNameCallCount() int

func (*FakeV2Actor) GetStackByNameReturns

func (fake *FakeV2Actor) GetStackByNameReturns(result1 v2action.Stack, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) GetStackByNameReturnsOnCall

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

func (*FakeV2Actor) GetStackCallCount

func (fake *FakeV2Actor) GetStackCallCount() int

func (*FakeV2Actor) GetStackReturns

func (fake *FakeV2Actor) GetStackReturns(result1 v2action.Stack, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) GetStackReturnsOnCall

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

func (*FakeV2Actor) Invocations

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

func (*FakeV2Actor) MapRouteToApplication

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

func (*FakeV2Actor) MapRouteToApplicationArgsForCall

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

func (*FakeV2Actor) MapRouteToApplicationCallCount

func (fake *FakeV2Actor) MapRouteToApplicationCallCount() int

func (*FakeV2Actor) MapRouteToApplicationReturns

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

func (*FakeV2Actor) MapRouteToApplicationReturnsOnCall

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

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

func (fake *FakeV2Actor) ResourceMatch(allResources []v2action.Resource) ([]v2action.Resource, []v2action.Resource, v2action.Warnings, error)

func (*FakeV2Actor) ResourceMatchArgsForCall

func (fake *FakeV2Actor) ResourceMatchArgsForCall(i int) []v2action.Resource

func (*FakeV2Actor) ResourceMatchCallCount

func (fake *FakeV2Actor) ResourceMatchCallCount() int

func (*FakeV2Actor) ResourceMatchReturns

func (fake *FakeV2Actor) ResourceMatchReturns(result1 []v2action.Resource, result2 []v2action.Resource, result3 v2action.Warnings, result4 error)

func (*FakeV2Actor) ResourceMatchReturnsOnCall

func (fake *FakeV2Actor) ResourceMatchReturnsOnCall(i int, result1 []v2action.Resource, result2 []v2action.Resource, result3 v2action.Warnings, result4 error)

func (*FakeV2Actor) UnmapRouteFromApplication

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

func (*FakeV2Actor) UnmapRouteFromApplicationArgsForCall

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

func (*FakeV2Actor) UnmapRouteFromApplicationCallCount

func (fake *FakeV2Actor) UnmapRouteFromApplicationCallCount() int

func (*FakeV2Actor) UnmapRouteFromApplicationReturns

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

func (*FakeV2Actor) UnmapRouteFromApplicationReturnsOnCall

func (fake *FakeV2Actor) UnmapRouteFromApplicationReturnsOnCall(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) UploadDroplet

func (fake *FakeV2Actor) UploadDroplet(appGUID string, droplet io.Reader, dropletLength int64) (v2action.Job, v2action.Warnings, error)

func (*FakeV2Actor) UploadDropletArgsForCall

func (fake *FakeV2Actor) UploadDropletArgsForCall(i int) (string, io.Reader, int64)

func (*FakeV2Actor) UploadDropletCallCount

func (fake *FakeV2Actor) UploadDropletCallCount() int

func (*FakeV2Actor) UploadDropletReturns

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

func (*FakeV2Actor) UploadDropletReturnsOnCall

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

type FakeV3Actor

type FakeV3Actor struct {
	CloudControllerAPIVersionStub func() string

	CreateApplicationInSpaceStub func(app v3action.Application, spaceGUID string) (v3action.Application, v3action.Warnings, error)

	CreateBitsPackageByApplicationStub func(appGUID string) (v3action.Package, v3action.Warnings, error)

	GetApplicationByNameAndSpaceStub func(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)

	PollPackageStub func(pkg v3action.Package) (v3action.Package, v3action.Warnings, error)

	SetApplicationDropletStub func(appGUID string, dropletGUID string) (v3action.Warnings, error)

	StageApplicationPackageStub func(pkgGUID string) (v3action.Build, v3action.Warnings, error)

	PollBuildStub func(buildGUID string, appName string) (v3action.Droplet, v3action.Warnings, error)

	UpdateApplicationStub func(v3action.Application) (v3action.Application, v3action.Warnings, error)

	UploadBitsPackageStub func(v3action.Package, []sharedaction.Resource, io.Reader, int64) (v3action.Package, v3action.Warnings, error)
	// contains filtered or unexported fields
}

func (*FakeV3Actor) CloudControllerAPIVersion

func (fake *FakeV3Actor) CloudControllerAPIVersion() string

func (*FakeV3Actor) CloudControllerAPIVersionCallCount

func (fake *FakeV3Actor) CloudControllerAPIVersionCallCount() int

func (*FakeV3Actor) CloudControllerAPIVersionReturns

func (fake *FakeV3Actor) CloudControllerAPIVersionReturns(result1 string)

func (*FakeV3Actor) CloudControllerAPIVersionReturnsOnCall

func (fake *FakeV3Actor) CloudControllerAPIVersionReturnsOnCall(i int, result1 string)

func (*FakeV3Actor) CreateApplicationInSpace

func (fake *FakeV3Actor) CreateApplicationInSpace(app v3action.Application, spaceGUID string) (v3action.Application, v3action.Warnings, error)

func (*FakeV3Actor) CreateApplicationInSpaceArgsForCall

func (fake *FakeV3Actor) CreateApplicationInSpaceArgsForCall(i int) (v3action.Application, string)

func (*FakeV3Actor) CreateApplicationInSpaceCallCount

func (fake *FakeV3Actor) CreateApplicationInSpaceCallCount() int

func (*FakeV3Actor) CreateApplicationInSpaceReturns

func (fake *FakeV3Actor) CreateApplicationInSpaceReturns(result1 v3action.Application, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) CreateApplicationInSpaceReturnsOnCall

func (fake *FakeV3Actor) CreateApplicationInSpaceReturnsOnCall(i int, result1 v3action.Application, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) CreateBitsPackageByApplication

func (fake *FakeV3Actor) CreateBitsPackageByApplication(appGUID string) (v3action.Package, v3action.Warnings, error)

func (*FakeV3Actor) CreateBitsPackageByApplicationArgsForCall

func (fake *FakeV3Actor) CreateBitsPackageByApplicationArgsForCall(i int) string

func (*FakeV3Actor) CreateBitsPackageByApplicationCallCount

func (fake *FakeV3Actor) CreateBitsPackageByApplicationCallCount() int

func (*FakeV3Actor) CreateBitsPackageByApplicationReturns

func (fake *FakeV3Actor) CreateBitsPackageByApplicationReturns(result1 v3action.Package, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) CreateBitsPackageByApplicationReturnsOnCall

func (fake *FakeV3Actor) CreateBitsPackageByApplicationReturnsOnCall(i int, result1 v3action.Package, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetApplicationByNameAndSpace

func (fake *FakeV3Actor) GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)

func (*FakeV3Actor) GetApplicationByNameAndSpaceArgsForCall

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

func (*FakeV3Actor) GetApplicationByNameAndSpaceCallCount

func (fake *FakeV3Actor) GetApplicationByNameAndSpaceCallCount() int

func (*FakeV3Actor) GetApplicationByNameAndSpaceReturns

func (fake *FakeV3Actor) GetApplicationByNameAndSpaceReturns(result1 v3action.Application, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetApplicationByNameAndSpaceReturnsOnCall

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

func (*FakeV3Actor) Invocations

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

func (*FakeV3Actor) PollBuild

func (fake *FakeV3Actor) PollBuild(buildGUID string, appName string) (v3action.Droplet, v3action.Warnings, error)

func (*FakeV3Actor) PollBuildArgsForCall

func (fake *FakeV3Actor) PollBuildArgsForCall(i int) (string, string)

func (*FakeV3Actor) PollBuildCallCount

func (fake *FakeV3Actor) PollBuildCallCount() int

func (*FakeV3Actor) PollBuildReturns

func (fake *FakeV3Actor) PollBuildReturns(result1 v3action.Droplet, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) PollBuildReturnsOnCall

func (fake *FakeV3Actor) PollBuildReturnsOnCall(i int, result1 v3action.Droplet, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) PollPackage

func (fake *FakeV3Actor) PollPackage(pkg v3action.Package) (v3action.Package, v3action.Warnings, error)

func (*FakeV3Actor) PollPackageArgsForCall

func (fake *FakeV3Actor) PollPackageArgsForCall(i int) v3action.Package

func (*FakeV3Actor) PollPackageCallCount

func (fake *FakeV3Actor) PollPackageCallCount() int

func (*FakeV3Actor) PollPackageReturns

func (fake *FakeV3Actor) PollPackageReturns(result1 v3action.Package, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) PollPackageReturnsOnCall

func (fake *FakeV3Actor) PollPackageReturnsOnCall(i int, result1 v3action.Package, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) SetApplicationDroplet

func (fake *FakeV3Actor) SetApplicationDroplet(appGUID string, dropletGUID string) (v3action.Warnings, error)

func (*FakeV3Actor) SetApplicationDropletArgsForCall

func (fake *FakeV3Actor) SetApplicationDropletArgsForCall(i int) (string, string)

func (*FakeV3Actor) SetApplicationDropletCallCount

func (fake *FakeV3Actor) SetApplicationDropletCallCount() int

func (*FakeV3Actor) SetApplicationDropletReturns

func (fake *FakeV3Actor) SetApplicationDropletReturns(result1 v3action.Warnings, result2 error)

func (*FakeV3Actor) SetApplicationDropletReturnsOnCall

func (fake *FakeV3Actor) SetApplicationDropletReturnsOnCall(i int, result1 v3action.Warnings, result2 error)

func (*FakeV3Actor) StageApplicationPackage

func (fake *FakeV3Actor) StageApplicationPackage(pkgGUID string) (v3action.Build, v3action.Warnings, error)

func (*FakeV3Actor) StageApplicationPackageArgsForCall

func (fake *FakeV3Actor) StageApplicationPackageArgsForCall(i int) string

func (*FakeV3Actor) StageApplicationPackageCallCount

func (fake *FakeV3Actor) StageApplicationPackageCallCount() int

func (*FakeV3Actor) StageApplicationPackageReturns

func (fake *FakeV3Actor) StageApplicationPackageReturns(result1 v3action.Build, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) StageApplicationPackageReturnsOnCall

func (fake *FakeV3Actor) StageApplicationPackageReturnsOnCall(i int, result1 v3action.Build, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) UpdateApplication

func (fake *FakeV3Actor) UpdateApplication(arg1 v3action.Application) (v3action.Application, v3action.Warnings, error)

func (*FakeV3Actor) UpdateApplicationArgsForCall

func (fake *FakeV3Actor) UpdateApplicationArgsForCall(i int) v3action.Application

func (*FakeV3Actor) UpdateApplicationCallCount

func (fake *FakeV3Actor) UpdateApplicationCallCount() int

func (*FakeV3Actor) UpdateApplicationReturns

func (fake *FakeV3Actor) UpdateApplicationReturns(result1 v3action.Application, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) UpdateApplicationReturnsOnCall

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

func (*FakeV3Actor) UploadBitsPackage

func (fake *FakeV3Actor) UploadBitsPackage(arg1 v3action.Package, arg2 []sharedaction.Resource, arg3 io.Reader, arg4 int64) (v3action.Package, v3action.Warnings, error)

func (*FakeV3Actor) UploadBitsPackageArgsForCall

func (fake *FakeV3Actor) UploadBitsPackageArgsForCall(i int) (v3action.Package, []sharedaction.Resource, io.Reader, int64)

func (*FakeV3Actor) UploadBitsPackageCallCount

func (fake *FakeV3Actor) UploadBitsPackageCallCount() int

func (*FakeV3Actor) UploadBitsPackageReturns

func (fake *FakeV3Actor) UploadBitsPackageReturns(result1 v3action.Package, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) UploadBitsPackageReturnsOnCall

func (fake *FakeV3Actor) UploadBitsPackageReturnsOnCall(i int, result1 v3action.Package, result2 v3action.Warnings, result3 error)

Jump to

Keyboard shortcuts

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