v2v3actionfakes

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: 5 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 FakeV2Actor

type FakeV2Actor struct {
	CreateApplicationManifestByNameAndSpaceStub func(string, string) (manifest.Application, v2action.Warnings, error)

	GetApplicationInstancesWithStatsByApplicationStub func(guid string) ([]v2action.ApplicationInstanceWithStats, v2action.Warnings, error)

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

	GetFeatureFlagsStub func() ([]v2action.FeatureFlag, v2action.Warnings, error)

	GetServiceStub func(serviceGUID string) (v2action.Service, v2action.Warnings, error)

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

	GetServiceInstanceSharedTosByServiceInstanceStub func(serviceInstanceGUID string) ([]v2action.ServiceInstanceSharedTo, v2action.Warnings, error)

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

func (*FakeV2Actor) CreateApplicationManifestByNameAndSpace

func (fake *FakeV2Actor) CreateApplicationManifestByNameAndSpace(arg1 string, arg2 string) (manifest.Application, v2action.Warnings, error)

func (*FakeV2Actor) CreateApplicationManifestByNameAndSpaceArgsForCall

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

func (*FakeV2Actor) CreateApplicationManifestByNameAndSpaceCallCount

func (fake *FakeV2Actor) CreateApplicationManifestByNameAndSpaceCallCount() int

func (*FakeV2Actor) CreateApplicationManifestByNameAndSpaceReturns

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

func (*FakeV2Actor) CreateApplicationManifestByNameAndSpaceReturnsOnCall

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

func (*FakeV2Actor) GetApplicationInstancesWithStatsByApplication

func (fake *FakeV2Actor) GetApplicationInstancesWithStatsByApplication(guid string) ([]v2action.ApplicationInstanceWithStats, v2action.Warnings, error)

func (*FakeV2Actor) GetApplicationInstancesWithStatsByApplicationArgsForCall

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

func (*FakeV2Actor) GetApplicationInstancesWithStatsByApplicationCallCount

func (fake *FakeV2Actor) GetApplicationInstancesWithStatsByApplicationCallCount() int

func (*FakeV2Actor) GetApplicationInstancesWithStatsByApplicationReturns

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

func (*FakeV2Actor) GetApplicationInstancesWithStatsByApplicationReturnsOnCall

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

func (*FakeV2Actor) GetApplicationRoutes

func (fake *FakeV2Actor) GetApplicationRoutes(appGUID 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) GetFeatureFlags

func (fake *FakeV2Actor) GetFeatureFlags() ([]v2action.FeatureFlag, v2action.Warnings, error)

func (*FakeV2Actor) GetFeatureFlagsCallCount

func (fake *FakeV2Actor) GetFeatureFlagsCallCount() int

func (*FakeV2Actor) GetFeatureFlagsReturns

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

func (*FakeV2Actor) GetFeatureFlagsReturnsOnCall

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

func (*FakeV2Actor) GetService

func (fake *FakeV2Actor) GetService(serviceGUID string) (v2action.Service, v2action.Warnings, error)

func (*FakeV2Actor) GetServiceArgsForCall

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

func (*FakeV2Actor) GetServiceCallCount

func (fake *FakeV2Actor) GetServiceCallCount() int

func (*FakeV2Actor) GetServiceInstanceByNameAndSpace

func (fake *FakeV2Actor) GetServiceInstanceByNameAndSpace(serviceInstanceName 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) GetServiceInstanceSharedTosByServiceInstance

func (fake *FakeV2Actor) GetServiceInstanceSharedTosByServiceInstance(serviceInstanceGUID string) ([]v2action.ServiceInstanceSharedTo, v2action.Warnings, error)

func (*FakeV2Actor) GetServiceInstanceSharedTosByServiceInstanceArgsForCall

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

func (*FakeV2Actor) GetServiceInstanceSharedTosByServiceInstanceCallCount

func (fake *FakeV2Actor) GetServiceInstanceSharedTosByServiceInstanceCallCount() int

func (*FakeV2Actor) GetServiceInstanceSharedTosByServiceInstanceReturns

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

func (*FakeV2Actor) GetServiceInstanceSharedTosByServiceInstanceReturnsOnCall

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

func (*FakeV2Actor) GetServiceReturns

func (fake *FakeV2Actor) GetServiceReturns(result1 v2action.Service, result2 v2action.Warnings, result3 error)

func (*FakeV2Actor) GetServiceReturnsOnCall

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

func (*FakeV2Actor) GetSpaceByOrganizationAndName

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

func (*FakeV2Actor) GetSpaceByOrganizationAndNameArgsForCall

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

func (*FakeV2Actor) GetSpaceByOrganizationAndNameCallCount

func (fake *FakeV2Actor) GetSpaceByOrganizationAndNameCallCount() int

func (*FakeV2Actor) GetSpaceByOrganizationAndNameReturns

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

func (*FakeV2Actor) GetSpaceByOrganizationAndNameReturnsOnCall

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

func (*FakeV2Actor) Invocations

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

type FakeV3Actor

type FakeV3Actor struct {
	GetApplicationByNameAndSpaceStub func(string, string) (v3action.Application, v3action.Warnings, error)

	GetApplicationSummaryByNameAndSpaceStub func(appName string, spaceGUID string, withObfuscatedValues bool) (v3action.ApplicationSummary, v3action.Warnings, error)

	GetOrganizationByNameStub func(orgName string) (v3action.Organization, v3action.Warnings, error)

	ShareServiceInstanceToSpacesStub func(serviceInstanceGUID string, spaceGUIDs []string) (v3action.RelationshipList, v3action.Warnings, error)

	UnshareServiceInstanceByServiceInstanceAndSpaceStub func(serviceInstanceGUID string, spaceGUID string) (v3action.Warnings, error)

	CloudControllerAPIVersionStub func() string
	// 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) GetApplicationByNameAndSpace

func (fake *FakeV3Actor) GetApplicationByNameAndSpace(arg1 string, arg2 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) GetApplicationSummaryByNameAndSpace

func (fake *FakeV3Actor) GetApplicationSummaryByNameAndSpace(appName string, spaceGUID string, withObfuscatedValues bool) (v3action.ApplicationSummary, v3action.Warnings, error)

func (*FakeV3Actor) GetApplicationSummaryByNameAndSpaceArgsForCall

func (fake *FakeV3Actor) GetApplicationSummaryByNameAndSpaceArgsForCall(i int) (string, string, bool)

func (*FakeV3Actor) GetApplicationSummaryByNameAndSpaceCallCount

func (fake *FakeV3Actor) GetApplicationSummaryByNameAndSpaceCallCount() int

func (*FakeV3Actor) GetApplicationSummaryByNameAndSpaceReturns

func (fake *FakeV3Actor) GetApplicationSummaryByNameAndSpaceReturns(result1 v3action.ApplicationSummary, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetApplicationSummaryByNameAndSpaceReturnsOnCall

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

func (*FakeV3Actor) GetOrganizationByName

func (fake *FakeV3Actor) GetOrganizationByName(orgName string) (v3action.Organization, v3action.Warnings, error)

func (*FakeV3Actor) GetOrganizationByNameArgsForCall

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

func (*FakeV3Actor) GetOrganizationByNameCallCount

func (fake *FakeV3Actor) GetOrganizationByNameCallCount() int

func (*FakeV3Actor) GetOrganizationByNameReturns

func (fake *FakeV3Actor) GetOrganizationByNameReturns(result1 v3action.Organization, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetOrganizationByNameReturnsOnCall

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

func (*FakeV3Actor) Invocations

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

func (*FakeV3Actor) ShareServiceInstanceToSpaces

func (fake *FakeV3Actor) ShareServiceInstanceToSpaces(serviceInstanceGUID string, spaceGUIDs []string) (v3action.RelationshipList, v3action.Warnings, error)

func (*FakeV3Actor) ShareServiceInstanceToSpacesArgsForCall

func (fake *FakeV3Actor) ShareServiceInstanceToSpacesArgsForCall(i int) (string, []string)

func (*FakeV3Actor) ShareServiceInstanceToSpacesCallCount

func (fake *FakeV3Actor) ShareServiceInstanceToSpacesCallCount() int

func (*FakeV3Actor) ShareServiceInstanceToSpacesReturns

func (fake *FakeV3Actor) ShareServiceInstanceToSpacesReturns(result1 v3action.RelationshipList, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) ShareServiceInstanceToSpacesReturnsOnCall

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

func (*FakeV3Actor) UnshareServiceInstanceByServiceInstanceAndSpace

func (fake *FakeV3Actor) UnshareServiceInstanceByServiceInstanceAndSpace(serviceInstanceGUID string, spaceGUID string) (v3action.Warnings, error)

func (*FakeV3Actor) UnshareServiceInstanceByServiceInstanceAndSpaceArgsForCall

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

func (*FakeV3Actor) UnshareServiceInstanceByServiceInstanceAndSpaceCallCount

func (fake *FakeV3Actor) UnshareServiceInstanceByServiceInstanceAndSpaceCallCount() int

func (*FakeV3Actor) UnshareServiceInstanceByServiceInstanceAndSpaceReturns

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

func (*FakeV3Actor) UnshareServiceInstanceByServiceInstanceAndSpaceReturnsOnCall

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

Jump to

Keyboard shortcuts

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