v2fakes

package
v6.24.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAPIActor

type FakeAPIActor struct {
	ClearTargetStub func(config v2action.Config)

	SetTargetStub func(config v2action.Config, settings v2action.TargetSettings) (v2action.Warnings, error)
	// contains filtered or unexported fields
}

func (*FakeAPIActor) ClearTarget

func (fake *FakeAPIActor) ClearTarget(config v2action.Config)

func (*FakeAPIActor) ClearTargetArgsForCall

func (fake *FakeAPIActor) ClearTargetArgsForCall(i int) v2action.Config

func (*FakeAPIActor) ClearTargetCallCount

func (fake *FakeAPIActor) ClearTargetCallCount() int

func (*FakeAPIActor) Invocations

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

func (*FakeAPIActor) SetTarget

func (fake *FakeAPIActor) SetTarget(config v2action.Config, settings v2action.TargetSettings) (v2action.Warnings, error)

func (*FakeAPIActor) SetTargetArgsForCall

func (fake *FakeAPIActor) SetTargetArgsForCall(i int) (v2action.Config, v2action.TargetSettings)

func (*FakeAPIActor) SetTargetCallCount

func (fake *FakeAPIActor) SetTargetCallCount() int

func (*FakeAPIActor) SetTargetReturns

func (fake *FakeAPIActor) SetTargetReturns(result1 v2action.Warnings, result2 error)

type FakeAppActor

type FakeAppActor struct {
	GetApplicationByNameAndSpaceStub func(name string, spaceGUID string) (v2action.Application, v2action.Warnings, error)

	GetApplicationSummaryByNameAndSpaceStub func(name string, spaceGUID string) (v2action.ApplicationSummary, v2action.Warnings, error)
	// contains filtered or unexported fields
}

func (*FakeAppActor) GetApplicationByNameAndSpace

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

func (*FakeAppActor) GetApplicationByNameAndSpaceArgsForCall

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

func (*FakeAppActor) GetApplicationByNameAndSpaceCallCount

func (fake *FakeAppActor) GetApplicationByNameAndSpaceCallCount() int

func (*FakeAppActor) GetApplicationByNameAndSpaceReturns

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

func (*FakeAppActor) GetApplicationSummaryByNameAndSpace

func (fake *FakeAppActor) GetApplicationSummaryByNameAndSpace(name string, spaceGUID string) (v2action.ApplicationSummary, v2action.Warnings, error)

func (*FakeAppActor) GetApplicationSummaryByNameAndSpaceArgsForCall

func (fake *FakeAppActor) GetApplicationSummaryByNameAndSpaceArgsForCall(i int) (string, string)

func (*FakeAppActor) GetApplicationSummaryByNameAndSpaceCallCount

func (fake *FakeAppActor) GetApplicationSummaryByNameAndSpaceCallCount() int

func (*FakeAppActor) GetApplicationSummaryByNameAndSpaceReturns

func (fake *FakeAppActor) GetApplicationSummaryByNameAndSpaceReturns(result1 v2action.ApplicationSummary, result2 v2action.Warnings, result3 error)

func (*FakeAppActor) Invocations

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

type FakeCreateUserActor

type FakeCreateUserActor struct {
	NewUserStub func(username string, password string, origin string) (v2action.User, v2action.Warnings, error)
	// contains filtered or unexported fields
}

func (*FakeCreateUserActor) Invocations

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

func (*FakeCreateUserActor) NewUser

func (fake *FakeCreateUserActor) NewUser(username string, password string, origin string) (v2action.User, v2action.Warnings, error)

func (*FakeCreateUserActor) NewUserArgsForCall

func (fake *FakeCreateUserActor) NewUserArgsForCall(i int) (string, string, string)

func (*FakeCreateUserActor) NewUserCallCount

func (fake *FakeCreateUserActor) NewUserCallCount() int

func (*FakeCreateUserActor) NewUserReturns

func (fake *FakeCreateUserActor) NewUserReturns(result1 v2action.User, result2 v2action.Warnings, result3 error)

type FakeDeleteOrganizationActor

type FakeDeleteOrganizationActor struct {
	DeleteOrganizationStub func(orgName string) (v2action.Warnings, error)

	ClearOrganizationAndSpaceStub func(config v2action.Config)
	// contains filtered or unexported fields
}

func (*FakeDeleteOrganizationActor) ClearOrganizationAndSpace

func (fake *FakeDeleteOrganizationActor) ClearOrganizationAndSpace(config v2action.Config)

func (*FakeDeleteOrganizationActor) ClearOrganizationAndSpaceArgsForCall

func (fake *FakeDeleteOrganizationActor) ClearOrganizationAndSpaceArgsForCall(i int) v2action.Config

func (*FakeDeleteOrganizationActor) ClearOrganizationAndSpaceCallCount

func (fake *FakeDeleteOrganizationActor) ClearOrganizationAndSpaceCallCount() int

func (*FakeDeleteOrganizationActor) DeleteOrganization

func (fake *FakeDeleteOrganizationActor) DeleteOrganization(orgName string) (v2action.Warnings, error)

func (*FakeDeleteOrganizationActor) DeleteOrganizationArgsForCall

func (fake *FakeDeleteOrganizationActor) DeleteOrganizationArgsForCall(i int) string

func (*FakeDeleteOrganizationActor) DeleteOrganizationCallCount

func (fake *FakeDeleteOrganizationActor) DeleteOrganizationCallCount() int

func (*FakeDeleteOrganizationActor) DeleteOrganizationReturns

func (fake *FakeDeleteOrganizationActor) DeleteOrganizationReturns(result1 v2action.Warnings, result2 error)

func (*FakeDeleteOrganizationActor) Invocations

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

type FakeDeleteOrphanedRoutesActor

type FakeDeleteOrphanedRoutesActor struct {
	GetOrphanedRoutesBySpaceStub func(spaceGUID string) ([]v2action.Route, v2action.Warnings, error)

	DeleteRouteStub func(routeGUID string) (v2action.Warnings, error)
	// contains filtered or unexported fields
}

func (*FakeDeleteOrphanedRoutesActor) DeleteRoute

func (fake *FakeDeleteOrphanedRoutesActor) DeleteRoute(routeGUID string) (v2action.Warnings, error)

func (*FakeDeleteOrphanedRoutesActor) DeleteRouteArgsForCall

func (fake *FakeDeleteOrphanedRoutesActor) DeleteRouteArgsForCall(i int) string

func (*FakeDeleteOrphanedRoutesActor) DeleteRouteCallCount

func (fake *FakeDeleteOrphanedRoutesActor) DeleteRouteCallCount() int

func (*FakeDeleteOrphanedRoutesActor) DeleteRouteReturns

func (fake *FakeDeleteOrphanedRoutesActor) DeleteRouteReturns(result1 v2action.Warnings, result2 error)

func (*FakeDeleteOrphanedRoutesActor) GetOrphanedRoutesBySpace

func (fake *FakeDeleteOrphanedRoutesActor) GetOrphanedRoutesBySpace(spaceGUID string) ([]v2action.Route, v2action.Warnings, error)

func (*FakeDeleteOrphanedRoutesActor) GetOrphanedRoutesBySpaceArgsForCall

func (fake *FakeDeleteOrphanedRoutesActor) GetOrphanedRoutesBySpaceArgsForCall(i int) string

func (*FakeDeleteOrphanedRoutesActor) GetOrphanedRoutesBySpaceCallCount

func (fake *FakeDeleteOrphanedRoutesActor) GetOrphanedRoutesBySpaceCallCount() int

func (*FakeDeleteOrphanedRoutesActor) GetOrphanedRoutesBySpaceReturns

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

func (*FakeDeleteOrphanedRoutesActor) Invocations

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

type FakeGetHealthCheckActor

type FakeGetHealthCheckActor struct {
	GetApplicationByNameAndSpaceStub func(name string, spaceGUID string) (v2action.Application, v2action.Warnings, error)
	// contains filtered or unexported fields
}

func (*FakeGetHealthCheckActor) GetApplicationByNameAndSpace

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

func (*FakeGetHealthCheckActor) GetApplicationByNameAndSpaceArgsForCall

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

func (*FakeGetHealthCheckActor) GetApplicationByNameAndSpaceCallCount

func (fake *FakeGetHealthCheckActor) GetApplicationByNameAndSpaceCallCount() int

func (*FakeGetHealthCheckActor) GetApplicationByNameAndSpaceReturns

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

func (*FakeGetHealthCheckActor) Invocations

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

type FakeSetHealthCheckActor

type FakeSetHealthCheckActor struct {
	SetApplicationHealthCheckTypeByNameAndSpaceStub func(name string, spaceGUID string, healthCheckType string, httpEndpoint string) (v2action.Application, v2action.Warnings, error)
	// contains filtered or unexported fields
}

func (*FakeSetHealthCheckActor) Invocations

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

func (*FakeSetHealthCheckActor) SetApplicationHealthCheckTypeByNameAndSpace

func (fake *FakeSetHealthCheckActor) SetApplicationHealthCheckTypeByNameAndSpace(name string, spaceGUID string, healthCheckType string, httpEndpoint string) (v2action.Application, v2action.Warnings, error)

func (*FakeSetHealthCheckActor) SetApplicationHealthCheckTypeByNameAndSpaceArgsForCall

func (fake *FakeSetHealthCheckActor) SetApplicationHealthCheckTypeByNameAndSpaceArgsForCall(i int) (string, string, string, string)

func (*FakeSetHealthCheckActor) SetApplicationHealthCheckTypeByNameAndSpaceCallCount

func (fake *FakeSetHealthCheckActor) SetApplicationHealthCheckTypeByNameAndSpaceCallCount() int

func (*FakeSetHealthCheckActor) SetApplicationHealthCheckTypeByNameAndSpaceReturns

func (fake *FakeSetHealthCheckActor) SetApplicationHealthCheckTypeByNameAndSpaceReturns(result1 v2action.Application, result2 v2action.Warnings, result3 error)

type FakeTargetActor

type FakeTargetActor struct {
	GetOrganizationByNameStub func(orgName string) (v2action.Organization, v2action.Warnings, error)

	GetOrganizationSpacesStub func(orgGUID string) ([]v2action.Space, v2action.Warnings, error)

	GetSpaceByOrganizationAndNameStub func(orgGUID string, spaceName string) (v2action.Space, v2action.Warnings, error)
	// contains filtered or unexported fields
}

func (*FakeTargetActor) GetOrganizationByName

func (fake *FakeTargetActor) GetOrganizationByName(orgName string) (v2action.Organization, v2action.Warnings, error)

func (*FakeTargetActor) GetOrganizationByNameArgsForCall

func (fake *FakeTargetActor) GetOrganizationByNameArgsForCall(i int) string

func (*FakeTargetActor) GetOrganizationByNameCallCount

func (fake *FakeTargetActor) GetOrganizationByNameCallCount() int

func (*FakeTargetActor) GetOrganizationByNameReturns

func (fake *FakeTargetActor) GetOrganizationByNameReturns(result1 v2action.Organization, result2 v2action.Warnings, result3 error)

func (*FakeTargetActor) GetOrganizationSpaces

func (fake *FakeTargetActor) GetOrganizationSpaces(orgGUID string) ([]v2action.Space, v2action.Warnings, error)

func (*FakeTargetActor) GetOrganizationSpacesArgsForCall

func (fake *FakeTargetActor) GetOrganizationSpacesArgsForCall(i int) string

func (*FakeTargetActor) GetOrganizationSpacesCallCount

func (fake *FakeTargetActor) GetOrganizationSpacesCallCount() int

func (*FakeTargetActor) GetOrganizationSpacesReturns

func (fake *FakeTargetActor) GetOrganizationSpacesReturns(result1 []v2action.Space, result2 v2action.Warnings, result3 error)

func (*FakeTargetActor) GetSpaceByOrganizationAndName

func (fake *FakeTargetActor) GetSpaceByOrganizationAndName(orgGUID string, spaceName string) (v2action.Space, v2action.Warnings, error)

func (*FakeTargetActor) GetSpaceByOrganizationAndNameArgsForCall

func (fake *FakeTargetActor) GetSpaceByOrganizationAndNameArgsForCall(i int) (string, string)

func (*FakeTargetActor) GetSpaceByOrganizationAndNameCallCount

func (fake *FakeTargetActor) GetSpaceByOrganizationAndNameCallCount() int

func (*FakeTargetActor) GetSpaceByOrganizationAndNameReturns

func (fake *FakeTargetActor) GetSpaceByOrganizationAndNameReturns(result1 v2action.Space, result2 v2action.Warnings, result3 error)

func (*FakeTargetActor) Invocations

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

type FakeUnbindServiceActor

type FakeUnbindServiceActor struct {
	UnbindServiceBySpaceStub func(appName string, serviceInstanceName string, spaceGUID string) (v2action.Warnings, error)
	// contains filtered or unexported fields
}

func (*FakeUnbindServiceActor) Invocations

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

func (*FakeUnbindServiceActor) UnbindServiceBySpace

func (fake *FakeUnbindServiceActor) UnbindServiceBySpace(appName string, serviceInstanceName string, spaceGUID string) (v2action.Warnings, error)

func (*FakeUnbindServiceActor) UnbindServiceBySpaceArgsForCall

func (fake *FakeUnbindServiceActor) UnbindServiceBySpaceArgsForCall(i int) (string, string, string)

func (*FakeUnbindServiceActor) UnbindServiceBySpaceCallCount

func (fake *FakeUnbindServiceActor) UnbindServiceBySpaceCallCount() int

func (*FakeUnbindServiceActor) UnbindServiceBySpaceReturns

func (fake *FakeUnbindServiceActor) UnbindServiceBySpaceReturns(result1 v2action.Warnings, result2 error)

Jump to

Keyboard shortcuts

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