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) ([]bosh.VM, error)
- func (fake *FakeBoshClient) VMsAndStemcellsArgsForCall(i int) context.Context
- func (fake *FakeBoshClient) VMsAndStemcellsCallCount() int
- func (fake *FakeBoshClient) VMsAndStemcellsCalls(stub func(context.Context) ([]bosh.VM, error))
- func (fake *FakeBoshClient) VMsAndStemcellsReturns(result1 []bosh.VM, result2 error)
- func (fake *FakeBoshClient) VMsAndStemcellsReturnsOnCall(i int, result1 []bosh.VM, result2 error)
- type FakeVCenterClient
- func (fake *FakeVCenterClient) Datacenter() string
- func (fake *FakeVCenterClient) DatacenterCallCount() int
- func (fake *FakeVCenterClient) DatacenterCalls(stub func() string)
- func (fake *FakeVCenterClient) DatacenterReturns(result1 string)
- func (fake *FakeVCenterClient) DatacenterReturnsOnCall(i int, result1 string)
- func (fake *FakeVCenterClient) FindVMInClusters(arg1 context.Context, arg2 string, arg3 string, arg4 []string) (*vcenter.VM, error)
- func (fake *FakeVCenterClient) FindVMInClustersArgsForCall(i int) (context.Context, string, string, []string)
- func (fake *FakeVCenterClient) FindVMInClustersCallCount() int
- func (fake *FakeVCenterClient) FindVMInClustersCalls(stub func(context.Context, string, string, []string) (*vcenter.VM, error))
- func (fake *FakeVCenterClient) FindVMInClustersReturns(result1 *vcenter.VM, result2 error)
- func (fake *FakeVCenterClient) FindVMInClustersReturnsOnCall(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) ([]bosh.VM, error) // contains filtered or unexported fields }
func (*FakeBoshClient) Invocations ¶
func (fake *FakeBoshClient) Invocations() map[string][][]interface{}
func (*FakeBoshClient) VMsAndStemcells ¶
func (*FakeBoshClient) VMsAndStemcellsArgsForCall ¶
func (fake *FakeBoshClient) VMsAndStemcellsArgsForCall(i int) context.Context
func (*FakeBoshClient) VMsAndStemcellsCallCount ¶
func (fake *FakeBoshClient) VMsAndStemcellsCallCount() int
func (*FakeBoshClient) VMsAndStemcellsCalls ¶
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 (*FakeVCenterClient) FindVMInClustersArgsForCall ¶ added in v0.6.0
func (*FakeVCenterClient) FindVMInClustersCallCount ¶ added in v0.6.0
func (fake *FakeVCenterClient) FindVMInClustersCallCount() int
func (*FakeVCenterClient) FindVMInClustersCalls ¶ added in v0.6.0
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)
Click to show internal directories.
Click to hide internal directories.