Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeBoshClient
- func (fake *FakeBoshClient) Invocations() map[string][][]interface{}
- func (fake *FakeBoshClient) VMsAndStemcells(arg1 context.Context) ([]string, error)
- func (fake *FakeBoshClient) VMsAndStemcellsArgsForCall(i int) context.Context
- func (fake *FakeBoshClient) VMsAndStemcellsCallCount() int
- func (fake *FakeBoshClient) VMsAndStemcellsCalls(stub func(context.Context) ([]string, error))
- func (fake *FakeBoshClient) VMsAndStemcellsReturns(result1 []string, result2 error)
- func (fake *FakeBoshClient) VMsAndStemcellsReturnsOnCall(i int, result1 []string, result2 error)
- type FakeVCenterClient
- func (fake *FakeVCenterClient) FindVM(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*vcenter.VM, error)
- func (fake *FakeVCenterClient) FindVMArgsForCall(i int) (context.Context, string, string, string)
- func (fake *FakeVCenterClient) FindVMCallCount() int
- func (fake *FakeVCenterClient) FindVMCalls(stub func(context.Context, string, string, string) (*vcenter.VM, error))
- func (fake *FakeVCenterClient) FindVMReturns(result1 *vcenter.VM, result2 error)
- func (fake *FakeVCenterClient) FindVMReturnsOnCall(i int, result1 *vcenter.VM, result2 error)
- func (fake *FakeVCenterClient) HostName() string
- func (fake *FakeVCenterClient) HostNameCallCount() int
- func (fake *FakeVCenterClient) HostNameCalls(stub func() string)
- func (fake *FakeVCenterClient) HostNameReturns(result1 string)
- func (fake *FakeVCenterClient) HostNameReturnsOnCall(i int, result1 string)
- func (fake *FakeVCenterClient) Invocations() map[string][][]interface{}
- type FakeVMRelocator
- func (fake *FakeVMRelocator) Invocations() map[string][][]interface{}
- func (fake *FakeVMRelocator) RelocateVM(arg1 context.Context, arg2 *vcenter.VM, arg3 *vcenter.TargetSpec) error
- func (fake *FakeVMRelocator) RelocateVMArgsForCall(i int) (context.Context, *vcenter.VM, *vcenter.TargetSpec)
- func (fake *FakeVMRelocator) RelocateVMCallCount() int
- func (fake *FakeVMRelocator) RelocateVMCalls(stub func(context.Context, *vcenter.VM, *vcenter.TargetSpec) error)
- func (fake *FakeVMRelocator) RelocateVMReturns(result1 error)
- func (fake *FakeVMRelocator) RelocateVMReturnsOnCall(i int, result1 error)
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) FindVMArgsForCall ¶
func (*FakeVCenterClient) FindVMCallCount ¶
func (fake *FakeVCenterClient) FindVMCallCount() int
func (*FakeVCenterClient) FindVMCalls ¶
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)
Click to show internal directories.
Click to hide internal directories.