migratefakes

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 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.

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 FakeBoshClient

type FakeBoshClient struct {
	VMsAndStemcellsStub func(context.Context) ([]bosh.VM, error)
	// contains filtered or unexported fields
}

func (*FakeBoshClient) Invocations

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

func (*FakeBoshClient) VMsAndStemcells

func (fake *FakeBoshClient) VMsAndStemcells(arg1 context.Context) ([]bosh.VM, error)

func (*FakeBoshClient) VMsAndStemcellsArgsForCall

func (fake *FakeBoshClient) VMsAndStemcellsArgsForCall(i int) context.Context

func (*FakeBoshClient) VMsAndStemcellsCallCount

func (fake *FakeBoshClient) VMsAndStemcellsCallCount() int

func (*FakeBoshClient) VMsAndStemcellsCalls

func (fake *FakeBoshClient) VMsAndStemcellsCalls(stub func(context.Context) ([]bosh.VM, error))

func (*FakeBoshClient) VMsAndStemcellsReturns

func (fake *FakeBoshClient) VMsAndStemcellsReturns(result1 []bosh.VM, result2 error)

func (*FakeBoshClient) VMsAndStemcellsReturnsOnCall

func (fake *FakeBoshClient) VMsAndStemcellsReturnsOnCall(i int, result1 []bosh.VM, result2 error)

type FakeVCenterClient

type FakeVCenterClient struct {
	DatacenterStub func() string

	FindVMInClustersStub func(context.Context, string, string, []string) (*vcenter.VM, error)

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

func (*FakeVCenterClient) Datacenter added in v0.6.0

func (fake *FakeVCenterClient) Datacenter() string

func (*FakeVCenterClient) DatacenterCallCount added in v0.6.0

func (fake *FakeVCenterClient) DatacenterCallCount() int

func (*FakeVCenterClient) DatacenterCalls added in v0.6.0

func (fake *FakeVCenterClient) DatacenterCalls(stub func() string)

func (*FakeVCenterClient) DatacenterReturns added in v0.6.0

func (fake *FakeVCenterClient) DatacenterReturns(result1 string)

func (*FakeVCenterClient) DatacenterReturnsOnCall added in v0.6.0

func (fake *FakeVCenterClient) DatacenterReturnsOnCall(i int, result1 string)

func (*FakeVCenterClient) FindVMInClusters added in v0.6.0

func (fake *FakeVCenterClient) FindVMInClusters(arg1 context.Context, arg2 string, arg3 string, arg4 []string) (*vcenter.VM, error)

func (*FakeVCenterClient) FindVMInClustersArgsForCall added in v0.6.0

func (fake *FakeVCenterClient) FindVMInClustersArgsForCall(i int) (context.Context, string, string, []string)

func (*FakeVCenterClient) FindVMInClustersCallCount added in v0.6.0

func (fake *FakeVCenterClient) FindVMInClustersCallCount() int

func (*FakeVCenterClient) FindVMInClustersCalls added in v0.6.0

func (fake *FakeVCenterClient) FindVMInClustersCalls(stub func(context.Context, string, string, []string) (*vcenter.VM, error))

func (*FakeVCenterClient) FindVMInClustersReturns added in v0.6.0

func (fake *FakeVCenterClient) FindVMInClustersReturns(result1 *vcenter.VM, result2 error)

func (*FakeVCenterClient) FindVMInClustersReturnsOnCall added in v0.6.0

func (fake *FakeVCenterClient) FindVMInClustersReturnsOnCall(i int, result1 *vcenter.VM, result2 error)

func (*FakeVCenterClient) HostName

func (fake *FakeVCenterClient) HostName() string

func (*FakeVCenterClient) HostNameCallCount

func (fake *FakeVCenterClient) HostNameCallCount() int

func (*FakeVCenterClient) HostNameCalls

func (fake *FakeVCenterClient) HostNameCalls(stub func() string)

func (*FakeVCenterClient) HostNameReturns

func (fake *FakeVCenterClient) HostNameReturns(result1 string)

func (*FakeVCenterClient) HostNameReturnsOnCall

func (fake *FakeVCenterClient) HostNameReturnsOnCall(i int, result1 string)

func (*FakeVCenterClient) Invocations

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

type FakeVMRelocator

type FakeVMRelocator struct {
	RelocateVMStub func(context.Context, *vcenter.VM, *vcenter.TargetSpec) error
	// contains filtered or unexported fields
}

func (*FakeVMRelocator) Invocations

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

func (*FakeVMRelocator) RelocateVM

func (fake *FakeVMRelocator) RelocateVM(arg1 context.Context, arg2 *vcenter.VM, arg3 *vcenter.TargetSpec) error

func (*FakeVMRelocator) RelocateVMArgsForCall

func (fake *FakeVMRelocator) RelocateVMArgsForCall(i int) (context.Context, *vcenter.VM, *vcenter.TargetSpec)

func (*FakeVMRelocator) RelocateVMCallCount

func (fake *FakeVMRelocator) RelocateVMCallCount() int

func (*FakeVMRelocator) RelocateVMCalls

func (fake *FakeVMRelocator) RelocateVMCalls(stub func(context.Context, *vcenter.VM, *vcenter.TargetSpec) error)

func (*FakeVMRelocator) RelocateVMReturns

func (fake *FakeVMRelocator) RelocateVMReturns(result1 error)

func (*FakeVMRelocator) RelocateVMReturnsOnCall

func (fake *FakeVMRelocator) RelocateVMReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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