fakes

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 9 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClientHolder

type FakeClientHolder struct {
	CFClientStub func(bool) cf.Client

	SourceBoshClientStub func() bosh.Client

	SourceCFClientStub func() cf.Client

	SourceOpsManClientStub func() om.Client

	TargetBoshClientStub func() bosh.Client

	TargetCFClientStub func() cf.Client

	TargetOpsManClientStub func() om.Client
	// contains filtered or unexported fields
}

func (*FakeClientHolder) CFClient

func (fake *FakeClientHolder) CFClient(arg1 bool) cf.Client

func (*FakeClientHolder) CFClientArgsForCall

func (fake *FakeClientHolder) CFClientArgsForCall(i int) bool

func (*FakeClientHolder) CFClientCallCount

func (fake *FakeClientHolder) CFClientCallCount() int

func (*FakeClientHolder) CFClientCalls

func (fake *FakeClientHolder) CFClientCalls(stub func(bool) cf.Client)

func (*FakeClientHolder) CFClientReturns

func (fake *FakeClientHolder) CFClientReturns(result1 cf.Client)

func (*FakeClientHolder) CFClientReturnsOnCall

func (fake *FakeClientHolder) CFClientReturnsOnCall(i int, result1 cf.Client)

func (*FakeClientHolder) Invocations

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

func (*FakeClientHolder) SourceBoshClient

func (fake *FakeClientHolder) SourceBoshClient() bosh.Client

func (*FakeClientHolder) SourceBoshClientCallCount

func (fake *FakeClientHolder) SourceBoshClientCallCount() int

func (*FakeClientHolder) SourceBoshClientCalls

func (fake *FakeClientHolder) SourceBoshClientCalls(stub func() bosh.Client)

func (*FakeClientHolder) SourceBoshClientReturns

func (fake *FakeClientHolder) SourceBoshClientReturns(result1 bosh.Client)

func (*FakeClientHolder) SourceBoshClientReturnsOnCall

func (fake *FakeClientHolder) SourceBoshClientReturnsOnCall(i int, result1 bosh.Client)

func (*FakeClientHolder) SourceCFClient

func (fake *FakeClientHolder) SourceCFClient() cf.Client

func (*FakeClientHolder) SourceCFClientCallCount

func (fake *FakeClientHolder) SourceCFClientCallCount() int

func (*FakeClientHolder) SourceCFClientCalls

func (fake *FakeClientHolder) SourceCFClientCalls(stub func() cf.Client)

func (*FakeClientHolder) SourceCFClientReturns

func (fake *FakeClientHolder) SourceCFClientReturns(result1 cf.Client)

func (*FakeClientHolder) SourceCFClientReturnsOnCall

func (fake *FakeClientHolder) SourceCFClientReturnsOnCall(i int, result1 cf.Client)

func (*FakeClientHolder) SourceOpsManClient

func (fake *FakeClientHolder) SourceOpsManClient() om.Client

func (*FakeClientHolder) SourceOpsManClientCallCount

func (fake *FakeClientHolder) SourceOpsManClientCallCount() int

func (*FakeClientHolder) SourceOpsManClientCalls

func (fake *FakeClientHolder) SourceOpsManClientCalls(stub func() om.Client)

func (*FakeClientHolder) SourceOpsManClientReturns

func (fake *FakeClientHolder) SourceOpsManClientReturns(result1 om.Client)

func (*FakeClientHolder) SourceOpsManClientReturnsOnCall

func (fake *FakeClientHolder) SourceOpsManClientReturnsOnCall(i int, result1 om.Client)

func (*FakeClientHolder) TargetBoshClient

func (fake *FakeClientHolder) TargetBoshClient() bosh.Client

func (*FakeClientHolder) TargetBoshClientCallCount

func (fake *FakeClientHolder) TargetBoshClientCallCount() int

func (*FakeClientHolder) TargetBoshClientCalls

func (fake *FakeClientHolder) TargetBoshClientCalls(stub func() bosh.Client)

func (*FakeClientHolder) TargetBoshClientReturns

func (fake *FakeClientHolder) TargetBoshClientReturns(result1 bosh.Client)

func (*FakeClientHolder) TargetBoshClientReturnsOnCall

func (fake *FakeClientHolder) TargetBoshClientReturnsOnCall(i int, result1 bosh.Client)

func (*FakeClientHolder) TargetCFClient

func (fake *FakeClientHolder) TargetCFClient() cf.Client

func (*FakeClientHolder) TargetCFClientCallCount

func (fake *FakeClientHolder) TargetCFClientCallCount() int

func (*FakeClientHolder) TargetCFClientCalls

func (fake *FakeClientHolder) TargetCFClientCalls(stub func() cf.Client)

func (*FakeClientHolder) TargetCFClientReturns

func (fake *FakeClientHolder) TargetCFClientReturns(result1 cf.Client)

func (*FakeClientHolder) TargetCFClientReturnsOnCall

func (fake *FakeClientHolder) TargetCFClientReturnsOnCall(i int, result1 cf.Client)

func (*FakeClientHolder) TargetOpsManClient

func (fake *FakeClientHolder) TargetOpsManClient() om.Client

func (*FakeClientHolder) TargetOpsManClientCallCount

func (fake *FakeClientHolder) TargetOpsManClientCallCount() int

func (*FakeClientHolder) TargetOpsManClientCalls

func (fake *FakeClientHolder) TargetOpsManClientCalls(stub func() om.Client)

func (*FakeClientHolder) TargetOpsManClientReturns

func (fake *FakeClientHolder) TargetOpsManClientReturns(result1 om.Client)

func (*FakeClientHolder) TargetOpsManClientReturnsOnCall

func (fake *FakeClientHolder) TargetOpsManClientReturnsOnCall(i int, result1 om.Client)

type FakeFactory

type FakeFactory struct {
	NewStub func(string, string, *cf.ServiceInstance, config.OpsManager, config.Loader, migrate.ClientHolder, string, bool) (migrate.ServiceInstanceMigrator, error)
	// contains filtered or unexported fields
}

func (*FakeFactory) Invocations

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

func (*FakeFactory) New

func (*FakeFactory) NewArgsForCall

func (*FakeFactory) NewCallCount

func (fake *FakeFactory) NewCallCount() int

func (*FakeFactory) NewReturns

func (fake *FakeFactory) NewReturns(result1 migrate.ServiceInstanceMigrator, result2 error)

func (*FakeFactory) NewReturnsOnCall

func (fake *FakeFactory) NewReturnsOnCall(i int, result1 migrate.ServiceInstanceMigrator, result2 error)

type FakeMigratorRegistry

type FakeMigratorRegistry struct {
	LookupStub func(string, string, *cf.ServiceInstance, config.OpsManager, string, bool) (migrate.ServiceInstanceMigrator, bool, error)
	// contains filtered or unexported fields
}

func (*FakeMigratorRegistry) Invocations

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

func (*FakeMigratorRegistry) Lookup

func (*FakeMigratorRegistry) LookupArgsForCall

func (fake *FakeMigratorRegistry) LookupArgsForCall(i int) (string, string, *cf.ServiceInstance, config.OpsManager, string, bool)

func (*FakeMigratorRegistry) LookupCallCount

func (fake *FakeMigratorRegistry) LookupCallCount() int

func (*FakeMigratorRegistry) LookupCalls

func (*FakeMigratorRegistry) LookupReturns

func (fake *FakeMigratorRegistry) LookupReturns(result1 migrate.ServiceInstanceMigrator, result2 bool, result3 error)

func (*FakeMigratorRegistry) LookupReturnsOnCall

func (fake *FakeMigratorRegistry) LookupReturnsOnCall(i int, result1 migrate.ServiceInstanceMigrator, result2 bool, result3 error)

type FakeServiceInstanceExporter

type FakeServiceInstanceExporter struct {
	ExportManagedServicesStub func(context.Context, cfclient.Org, cfclient.Space, config.OpsManager, string) error

	ExportUserProvidedServicesStub func(context.Context, cfclient.Org, cfclient.Space, string) error
	// contains filtered or unexported fields
}

func (*FakeServiceInstanceExporter) ExportManagedServices

func (fake *FakeServiceInstanceExporter) ExportManagedServices(arg1 context.Context, arg2 cfclient.Org, arg3 cfclient.Space, arg4 config.OpsManager, arg5 string) error

func (*FakeServiceInstanceExporter) ExportManagedServicesArgsForCall

func (fake *FakeServiceInstanceExporter) ExportManagedServicesArgsForCall(i int) (context.Context, cfclient.Org, cfclient.Space, config.OpsManager, string)

func (*FakeServiceInstanceExporter) ExportManagedServicesCallCount

func (fake *FakeServiceInstanceExporter) ExportManagedServicesCallCount() int

func (*FakeServiceInstanceExporter) ExportManagedServicesCalls

func (fake *FakeServiceInstanceExporter) ExportManagedServicesCalls(stub func(context.Context, cfclient.Org, cfclient.Space, config.OpsManager, string) error)

func (*FakeServiceInstanceExporter) ExportManagedServicesReturns

func (fake *FakeServiceInstanceExporter) ExportManagedServicesReturns(result1 error)

func (*FakeServiceInstanceExporter) ExportManagedServicesReturnsOnCall

func (fake *FakeServiceInstanceExporter) ExportManagedServicesReturnsOnCall(i int, result1 error)

func (*FakeServiceInstanceExporter) ExportUserProvidedServices

func (fake *FakeServiceInstanceExporter) ExportUserProvidedServices(arg1 context.Context, arg2 cfclient.Org, arg3 cfclient.Space, arg4 string) error

func (*FakeServiceInstanceExporter) ExportUserProvidedServicesArgsForCall

func (fake *FakeServiceInstanceExporter) ExportUserProvidedServicesArgsForCall(i int) (context.Context, cfclient.Org, cfclient.Space, string)

func (*FakeServiceInstanceExporter) ExportUserProvidedServicesCallCount

func (fake *FakeServiceInstanceExporter) ExportUserProvidedServicesCallCount() int

func (*FakeServiceInstanceExporter) ExportUserProvidedServicesCalls

func (fake *FakeServiceInstanceExporter) ExportUserProvidedServicesCalls(stub func(context.Context, cfclient.Org, cfclient.Space, string) error)

func (*FakeServiceInstanceExporter) ExportUserProvidedServicesReturns

func (fake *FakeServiceInstanceExporter) ExportUserProvidedServicesReturns(result1 error)

func (*FakeServiceInstanceExporter) ExportUserProvidedServicesReturnsOnCall

func (fake *FakeServiceInstanceExporter) ExportUserProvidedServicesReturnsOnCall(i int, result1 error)

func (*FakeServiceInstanceExporter) Invocations

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

type FakeServiceInstanceImporter

type FakeServiceInstanceImporter struct {
	ImportManagedServiceStub func(context.Context, string, string, *cf.ServiceInstance, config.OpsManager, string) error
	// contains filtered or unexported fields
}

func (*FakeServiceInstanceImporter) ImportManagedService

func (fake *FakeServiceInstanceImporter) ImportManagedService(arg1 context.Context, arg2 string, arg3 string, arg4 *cf.ServiceInstance, arg5 config.OpsManager, arg6 string) error

func (*FakeServiceInstanceImporter) ImportManagedServiceArgsForCall

func (fake *FakeServiceInstanceImporter) ImportManagedServiceArgsForCall(i int) (context.Context, string, string, *cf.ServiceInstance, config.OpsManager, string)

func (*FakeServiceInstanceImporter) ImportManagedServiceCallCount

func (fake *FakeServiceInstanceImporter) ImportManagedServiceCallCount() int

func (*FakeServiceInstanceImporter) ImportManagedServiceCalls

func (fake *FakeServiceInstanceImporter) ImportManagedServiceCalls(stub func(context.Context, string, string, *cf.ServiceInstance, config.OpsManager, string) error)

func (*FakeServiceInstanceImporter) ImportManagedServiceReturns

func (fake *FakeServiceInstanceImporter) ImportManagedServiceReturns(result1 error)

func (*FakeServiceInstanceImporter) ImportManagedServiceReturnsOnCall

func (fake *FakeServiceInstanceImporter) ImportManagedServiceReturnsOnCall(i int, result1 error)

func (*FakeServiceInstanceImporter) Invocations

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

type FakeServiceInstanceMigrator

type FakeServiceInstanceMigrator struct {
	MigrateStub func(context.Context) (*cf.ServiceInstance, error)

	ValidateStub func(*cf.ServiceInstance, bool) error
	// contains filtered or unexported fields
}

func (*FakeServiceInstanceMigrator) Invocations

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

func (*FakeServiceInstanceMigrator) Migrate

func (*FakeServiceInstanceMigrator) MigrateArgsForCall

func (fake *FakeServiceInstanceMigrator) MigrateArgsForCall(i int) context.Context

func (*FakeServiceInstanceMigrator) MigrateCallCount

func (fake *FakeServiceInstanceMigrator) MigrateCallCount() int

func (*FakeServiceInstanceMigrator) MigrateCalls

func (fake *FakeServiceInstanceMigrator) MigrateCalls(stub func(context.Context) (*cf.ServiceInstance, error))

func (*FakeServiceInstanceMigrator) MigrateReturns

func (fake *FakeServiceInstanceMigrator) MigrateReturns(result1 *cf.ServiceInstance, result2 error)

func (*FakeServiceInstanceMigrator) MigrateReturnsOnCall

func (fake *FakeServiceInstanceMigrator) MigrateReturnsOnCall(i int, result1 *cf.ServiceInstance, result2 error)

func (*FakeServiceInstanceMigrator) Validate

func (fake *FakeServiceInstanceMigrator) Validate(arg1 *cf.ServiceInstance, arg2 bool) error

func (*FakeServiceInstanceMigrator) ValidateArgsForCall

func (fake *FakeServiceInstanceMigrator) ValidateArgsForCall(i int) (*cf.ServiceInstance, bool)

func (*FakeServiceInstanceMigrator) ValidateCallCount

func (fake *FakeServiceInstanceMigrator) ValidateCallCount() int

func (*FakeServiceInstanceMigrator) ValidateCalls

func (fake *FakeServiceInstanceMigrator) ValidateCalls(stub func(*cf.ServiceInstance, bool) error)

func (*FakeServiceInstanceMigrator) ValidateReturns

func (fake *FakeServiceInstanceMigrator) ValidateReturns(result1 error)

func (*FakeServiceInstanceMigrator) ValidateReturnsOnCall

func (fake *FakeServiceInstanceMigrator) ValidateReturnsOnCall(i int, result1 error)

type FakeServiceInstanceParser

type FakeServiceInstanceParser struct {
	MarshalStub func(interface{}, io.FileDescriptor) error

	UnmarshalStub func(interface{}, io.FileDescriptor) error
	// contains filtered or unexported fields
}

func (*FakeServiceInstanceParser) Invocations

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

func (*FakeServiceInstanceParser) Marshal

func (fake *FakeServiceInstanceParser) Marshal(arg1 interface{}, arg2 io.FileDescriptor) error

func (*FakeServiceInstanceParser) MarshalArgsForCall

func (fake *FakeServiceInstanceParser) MarshalArgsForCall(i int) (interface{}, io.FileDescriptor)

func (*FakeServiceInstanceParser) MarshalCallCount

func (fake *FakeServiceInstanceParser) MarshalCallCount() int

func (*FakeServiceInstanceParser) MarshalCalls

func (fake *FakeServiceInstanceParser) MarshalCalls(stub func(interface{}, io.FileDescriptor) error)

func (*FakeServiceInstanceParser) MarshalReturns

func (fake *FakeServiceInstanceParser) MarshalReturns(result1 error)

func (*FakeServiceInstanceParser) MarshalReturnsOnCall

func (fake *FakeServiceInstanceParser) MarshalReturnsOnCall(i int, result1 error)

func (*FakeServiceInstanceParser) Unmarshal

func (fake *FakeServiceInstanceParser) Unmarshal(arg1 interface{}, arg2 io.FileDescriptor) error

func (*FakeServiceInstanceParser) UnmarshalArgsForCall

func (fake *FakeServiceInstanceParser) UnmarshalArgsForCall(i int) (interface{}, io.FileDescriptor)

func (*FakeServiceInstanceParser) UnmarshalCallCount

func (fake *FakeServiceInstanceParser) UnmarshalCallCount() int

func (*FakeServiceInstanceParser) UnmarshalCalls

func (fake *FakeServiceInstanceParser) UnmarshalCalls(stub func(interface{}, io.FileDescriptor) error)

func (*FakeServiceInstanceParser) UnmarshalReturns

func (fake *FakeServiceInstanceParser) UnmarshalReturns(result1 error)

func (*FakeServiceInstanceParser) UnmarshalReturnsOnCall

func (fake *FakeServiceInstanceParser) UnmarshalReturnsOnCall(i int, result1 error)

type FakeValidator

type FakeValidator struct {
	ValidateStub func(*cf.ServiceInstance, bool) error
	// contains filtered or unexported fields
}

func (*FakeValidator) Invocations

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

func (*FakeValidator) Validate

func (fake *FakeValidator) Validate(arg1 *cf.ServiceInstance, arg2 bool) error

func (*FakeValidator) ValidateArgsForCall

func (fake *FakeValidator) ValidateArgsForCall(i int) (*cf.ServiceInstance, bool)

func (*FakeValidator) ValidateCallCount

func (fake *FakeValidator) ValidateCallCount() int

func (*FakeValidator) ValidateCalls

func (fake *FakeValidator) ValidateCalls(stub func(*cf.ServiceInstance, bool) error)

func (*FakeValidator) ValidateReturns

func (fake *FakeValidator) ValidateReturns(result1 error)

func (*FakeValidator) ValidateReturnsOnCall

func (fake *FakeValidator) ValidateReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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