migratefakes

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: Apache-2.0 Imports: 4 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) ([]string, 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) ([]string, 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) ([]string, error))

func (*FakeBoshClient) VMsAndStemcellsReturns

func (fake *FakeBoshClient) VMsAndStemcellsReturns(result1 []string, result2 error)

func (*FakeBoshClient) VMsAndStemcellsReturnsOnCall

func (fake *FakeBoshClient) VMsAndStemcellsReturnsOnCall(i int, result1 []string, result2 error)

type FakeVCenterClient

type FakeVCenterClient struct {
	FindVMStub func(context.Context, string, string, string) (*vcenter.VM, error)

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

func (*FakeVCenterClient) FindVM

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

func (*FakeVCenterClient) FindVMArgsForCall

func (fake *FakeVCenterClient) FindVMArgsForCall(i int) (context.Context, string, string, string)

func (*FakeVCenterClient) FindVMCallCount

func (fake *FakeVCenterClient) FindVMCallCount() int

func (*FakeVCenterClient) FindVMCalls

func (fake *FakeVCenterClient) FindVMCalls(stub func(context.Context, string, string, string) (*vcenter.VM, error))

func (*FakeVCenterClient) FindVMReturns

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

func (*FakeVCenterClient) FindVMReturnsOnCall

func (fake *FakeVCenterClient) FindVMReturnsOnCall(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