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.
Index ¶
- type FakeFinder
- func (fake *FakeFinder) DatacenterOrDefault(arg1 context.Context, arg2 string) (*object.Datacenter, error)
- func (fake *FakeFinder) DatacenterOrDefaultArgsForCall(i int) (context.Context, string)
- func (fake *FakeFinder) DatacenterOrDefaultCallCount() int
- func (fake *FakeFinder) DatacenterOrDefaultCalls(stub func(context.Context, string) (*object.Datacenter, error))
- func (fake *FakeFinder) DatacenterOrDefaultReturns(result1 *object.Datacenter, result2 error)
- func (fake *FakeFinder) DatacenterOrDefaultReturnsOnCall(i int, result1 *object.Datacenter, result2 error)
- func (fake *FakeFinder) FolderOrDefault(arg1 context.Context, arg2 string) (*object.Folder, error)
- func (fake *FakeFinder) FolderOrDefaultArgsForCall(i int) (context.Context, string)
- func (fake *FakeFinder) FolderOrDefaultCallCount() int
- func (fake *FakeFinder) FolderOrDefaultCalls(stub func(context.Context, string) (*object.Folder, error))
- func (fake *FakeFinder) FolderOrDefaultReturns(result1 *object.Folder, result2 error)
- func (fake *FakeFinder) FolderOrDefaultReturnsOnCall(i int, result1 *object.Folder, result2 error)
- func (fake *FakeFinder) Invocations() map[string][][]interface{}
- func (fake *FakeFinder) ResourcePoolOrDefault(arg1 context.Context, arg2 string) (*object.ResourcePool, error)
- func (fake *FakeFinder) ResourcePoolOrDefaultArgsForCall(i int) (context.Context, string)
- func (fake *FakeFinder) ResourcePoolOrDefaultCallCount() int
- func (fake *FakeFinder) ResourcePoolOrDefaultCalls(stub func(context.Context, string) (*object.ResourcePool, error))
- func (fake *FakeFinder) ResourcePoolOrDefaultReturns(result1 *object.ResourcePool, result2 error)
- func (fake *FakeFinder) ResourcePoolOrDefaultReturnsOnCall(i int, result1 *object.ResourcePool, result2 error)
- func (fake *FakeFinder) SetDatacenter(arg1 *object.Datacenter) *find.Finder
- func (fake *FakeFinder) SetDatacenterArgsForCall(i int) *object.Datacenter
- func (fake *FakeFinder) SetDatacenterCallCount() int
- func (fake *FakeFinder) SetDatacenterCalls(stub func(*object.Datacenter) *find.Finder)
- func (fake *FakeFinder) SetDatacenterReturns(result1 *find.Finder)
- func (fake *FakeFinder) SetDatacenterReturnsOnCall(i int, result1 *find.Finder)
- func (fake *FakeFinder) VirtualMachine(arg1 context.Context, arg2 string) (*object.VirtualMachine, error)
- func (fake *FakeFinder) VirtualMachineArgsForCall(i int) (context.Context, string)
- func (fake *FakeFinder) VirtualMachineCallCount() int
- func (fake *FakeFinder) VirtualMachineCalls(stub func(context.Context, string) (*object.VirtualMachine, error))
- func (fake *FakeFinder) VirtualMachineReturns(result1 *object.VirtualMachine, result2 error)
- func (fake *FakeFinder) VirtualMachineReturnsOnCall(i int, result1 *object.VirtualMachine, result2 error)
- type FakeFinderCreator
- func (fake *FakeFinderCreator) Invocations() map[string][][]interface{}
- func (fake *FakeFinderCreator) NewFinder(arg1 *vim25.Client, arg2 bool) *find.Finder
- func (fake *FakeFinderCreator) NewFinderArgsForCall(i int) (*vim25.Client, bool)
- func (fake *FakeFinderCreator) NewFinderCallCount() int
- func (fake *FakeFinderCreator) NewFinderCalls(stub func(*vim25.Client, bool) *find.Finder)
- func (fake *FakeFinderCreator) NewFinderReturns(result1 *find.Finder)
- func (fake *FakeFinderCreator) NewFinderReturnsOnCall(i int, result1 *find.Finder)
- type FakeGovmomiClient
- func (fake *FakeGovmomiClient) Invocations() map[string][][]interface{}
- func (fake *FakeGovmomiClient) Login(arg1 context.Context, arg2 *url.Userinfo) error
- func (fake *FakeGovmomiClient) LoginArgsForCall(i int) (context.Context, *url.Userinfo)
- func (fake *FakeGovmomiClient) LoginCallCount() int
- func (fake *FakeGovmomiClient) LoginCalls(stub func(context.Context, *url.Userinfo) error)
- func (fake *FakeGovmomiClient) LoginReturns(result1 error)
- func (fake *FakeGovmomiClient) LoginReturnsOnCall(i int, result1 error)
- type FakeOpsManager
- func (fake *FakeOpsManager) FileManager(arg1 context.Context) (*guest.FileManager, error)
- func (fake *FakeOpsManager) FileManagerArgsForCall(i int) context.Context
- func (fake *FakeOpsManager) FileManagerCallCount() int
- func (fake *FakeOpsManager) FileManagerCalls(stub func(context.Context) (*guest.FileManager, error))
- func (fake *FakeOpsManager) FileManagerReturns(result1 *guest.FileManager, result2 error)
- func (fake *FakeOpsManager) FileManagerReturnsOnCall(i int, result1 *guest.FileManager, result2 error)
- func (fake *FakeOpsManager) Invocations() map[string][][]interface{}
- func (fake *FakeOpsManager) ProcessManager(arg1 context.Context) (*guest.ProcessManager, error)
- func (fake *FakeOpsManager) ProcessManagerArgsForCall(i int) context.Context
- func (fake *FakeOpsManager) ProcessManagerCallCount() int
- func (fake *FakeOpsManager) ProcessManagerCalls(stub func(context.Context) (*guest.ProcessManager, error))
- func (fake *FakeOpsManager) ProcessManagerReturns(result1 *guest.ProcessManager, result2 error)
- func (fake *FakeOpsManager) ProcessManagerReturnsOnCall(i int, result1 *guest.ProcessManager, result2 error)
- type FakeVim25ClientCreator
- func (fake *FakeVim25ClientCreator) Invocations() map[string][][]interface{}
- func (fake *FakeVim25ClientCreator) NewClient(arg1 context.Context, arg2 soap.RoundTripper) (*vim25.Client, error)
- func (fake *FakeVim25ClientCreator) NewClientArgsForCall(i int) (context.Context, soap.RoundTripper)
- func (fake *FakeVim25ClientCreator) NewClientCallCount() int
- func (fake *FakeVim25ClientCreator) NewClientCalls(stub func(context.Context, soap.RoundTripper) (*vim25.Client, error))
- func (fake *FakeVim25ClientCreator) NewClientReturns(result1 *vim25.Client, result2 error)
- func (fake *FakeVim25ClientCreator) NewClientReturnsOnCall(i int, result1 *vim25.Client, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFinder ¶
type FakeFinder struct { DatacenterOrDefaultStub func(context.Context, string) (*object.Datacenter, error) FolderOrDefaultStub func(context.Context, string) (*object.Folder, error) ResourcePoolOrDefaultStub func(context.Context, string) (*object.ResourcePool, error) SetDatacenterStub func(*object.Datacenter) *find.Finder VirtualMachineStub func(context.Context, string) (*object.VirtualMachine, error) // contains filtered or unexported fields }
func (*FakeFinder) DatacenterOrDefault ¶
func (fake *FakeFinder) DatacenterOrDefault(arg1 context.Context, arg2 string) (*object.Datacenter, error)
func (*FakeFinder) DatacenterOrDefaultArgsForCall ¶
func (fake *FakeFinder) DatacenterOrDefaultArgsForCall(i int) (context.Context, string)
func (*FakeFinder) DatacenterOrDefaultCallCount ¶
func (fake *FakeFinder) DatacenterOrDefaultCallCount() int
func (*FakeFinder) DatacenterOrDefaultCalls ¶
func (fake *FakeFinder) DatacenterOrDefaultCalls(stub func(context.Context, string) (*object.Datacenter, error))
func (*FakeFinder) DatacenterOrDefaultReturns ¶
func (fake *FakeFinder) DatacenterOrDefaultReturns(result1 *object.Datacenter, result2 error)
func (*FakeFinder) DatacenterOrDefaultReturnsOnCall ¶
func (fake *FakeFinder) DatacenterOrDefaultReturnsOnCall(i int, result1 *object.Datacenter, result2 error)
func (*FakeFinder) FolderOrDefault ¶
func (*FakeFinder) FolderOrDefaultArgsForCall ¶
func (fake *FakeFinder) FolderOrDefaultArgsForCall(i int) (context.Context, string)
func (*FakeFinder) FolderOrDefaultCallCount ¶
func (fake *FakeFinder) FolderOrDefaultCallCount() int
func (*FakeFinder) FolderOrDefaultCalls ¶
func (*FakeFinder) FolderOrDefaultReturns ¶
func (fake *FakeFinder) FolderOrDefaultReturns(result1 *object.Folder, result2 error)
func (*FakeFinder) FolderOrDefaultReturnsOnCall ¶
func (fake *FakeFinder) FolderOrDefaultReturnsOnCall(i int, result1 *object.Folder, result2 error)
func (*FakeFinder) Invocations ¶
func (fake *FakeFinder) Invocations() map[string][][]interface{}
func (*FakeFinder) ResourcePoolOrDefault ¶
func (fake *FakeFinder) ResourcePoolOrDefault(arg1 context.Context, arg2 string) (*object.ResourcePool, error)
func (*FakeFinder) ResourcePoolOrDefaultArgsForCall ¶
func (fake *FakeFinder) ResourcePoolOrDefaultArgsForCall(i int) (context.Context, string)
func (*FakeFinder) ResourcePoolOrDefaultCallCount ¶
func (fake *FakeFinder) ResourcePoolOrDefaultCallCount() int
func (*FakeFinder) ResourcePoolOrDefaultCalls ¶
func (fake *FakeFinder) ResourcePoolOrDefaultCalls(stub func(context.Context, string) (*object.ResourcePool, error))
func (*FakeFinder) ResourcePoolOrDefaultReturns ¶
func (fake *FakeFinder) ResourcePoolOrDefaultReturns(result1 *object.ResourcePool, result2 error)
func (*FakeFinder) ResourcePoolOrDefaultReturnsOnCall ¶
func (fake *FakeFinder) ResourcePoolOrDefaultReturnsOnCall(i int, result1 *object.ResourcePool, result2 error)
func (*FakeFinder) SetDatacenter ¶
func (fake *FakeFinder) SetDatacenter(arg1 *object.Datacenter) *find.Finder
func (*FakeFinder) SetDatacenterArgsForCall ¶
func (fake *FakeFinder) SetDatacenterArgsForCall(i int) *object.Datacenter
func (*FakeFinder) SetDatacenterCallCount ¶
func (fake *FakeFinder) SetDatacenterCallCount() int
func (*FakeFinder) SetDatacenterCalls ¶
func (fake *FakeFinder) SetDatacenterCalls(stub func(*object.Datacenter) *find.Finder)
func (*FakeFinder) SetDatacenterReturns ¶
func (fake *FakeFinder) SetDatacenterReturns(result1 *find.Finder)
func (*FakeFinder) SetDatacenterReturnsOnCall ¶
func (fake *FakeFinder) SetDatacenterReturnsOnCall(i int, result1 *find.Finder)
func (*FakeFinder) VirtualMachine ¶
func (fake *FakeFinder) VirtualMachine(arg1 context.Context, arg2 string) (*object.VirtualMachine, error)
func (*FakeFinder) VirtualMachineArgsForCall ¶
func (fake *FakeFinder) VirtualMachineArgsForCall(i int) (context.Context, string)
func (*FakeFinder) VirtualMachineCallCount ¶
func (fake *FakeFinder) VirtualMachineCallCount() int
func (*FakeFinder) VirtualMachineCalls ¶
func (fake *FakeFinder) VirtualMachineCalls(stub func(context.Context, string) (*object.VirtualMachine, error))
func (*FakeFinder) VirtualMachineReturns ¶
func (fake *FakeFinder) VirtualMachineReturns(result1 *object.VirtualMachine, result2 error)
func (*FakeFinder) VirtualMachineReturnsOnCall ¶
func (fake *FakeFinder) VirtualMachineReturnsOnCall(i int, result1 *object.VirtualMachine, result2 error)
type FakeFinderCreator ¶
type FakeFinderCreator struct { NewFinderStub func(*vim25.Client, bool) *find.Finder // contains filtered or unexported fields }
func (*FakeFinderCreator) Invocations ¶
func (fake *FakeFinderCreator) Invocations() map[string][][]interface{}
func (*FakeFinderCreator) NewFinderArgsForCall ¶
func (fake *FakeFinderCreator) NewFinderArgsForCall(i int) (*vim25.Client, bool)
func (*FakeFinderCreator) NewFinderCallCount ¶
func (fake *FakeFinderCreator) NewFinderCallCount() int
func (*FakeFinderCreator) NewFinderCalls ¶
func (*FakeFinderCreator) NewFinderReturns ¶
func (fake *FakeFinderCreator) NewFinderReturns(result1 *find.Finder)
func (*FakeFinderCreator) NewFinderReturnsOnCall ¶
func (fake *FakeFinderCreator) NewFinderReturnsOnCall(i int, result1 *find.Finder)
type FakeGovmomiClient ¶
type FakeGovmomiClient struct { LoginStub func(context.Context, *url.Userinfo) error // contains filtered or unexported fields }
func (*FakeGovmomiClient) Invocations ¶
func (fake *FakeGovmomiClient) Invocations() map[string][][]interface{}
func (*FakeGovmomiClient) LoginArgsForCall ¶
func (*FakeGovmomiClient) LoginCallCount ¶
func (fake *FakeGovmomiClient) LoginCallCount() int
func (*FakeGovmomiClient) LoginCalls ¶
func (*FakeGovmomiClient) LoginReturns ¶
func (fake *FakeGovmomiClient) LoginReturns(result1 error)
func (*FakeGovmomiClient) LoginReturnsOnCall ¶
func (fake *FakeGovmomiClient) LoginReturnsOnCall(i int, result1 error)
type FakeOpsManager ¶
type FakeOpsManager struct { FileManagerStub func(context.Context) (*guest.FileManager, error) ProcessManagerStub func(context.Context) (*guest.ProcessManager, error) // contains filtered or unexported fields }
func (*FakeOpsManager) FileManager ¶
func (fake *FakeOpsManager) FileManager(arg1 context.Context) (*guest.FileManager, error)
func (*FakeOpsManager) FileManagerArgsForCall ¶
func (fake *FakeOpsManager) FileManagerArgsForCall(i int) context.Context
func (*FakeOpsManager) FileManagerCallCount ¶
func (fake *FakeOpsManager) FileManagerCallCount() int
func (*FakeOpsManager) FileManagerCalls ¶
func (fake *FakeOpsManager) FileManagerCalls(stub func(context.Context) (*guest.FileManager, error))
func (*FakeOpsManager) FileManagerReturns ¶
func (fake *FakeOpsManager) FileManagerReturns(result1 *guest.FileManager, result2 error)
func (*FakeOpsManager) FileManagerReturnsOnCall ¶
func (fake *FakeOpsManager) FileManagerReturnsOnCall(i int, result1 *guest.FileManager, result2 error)
func (*FakeOpsManager) Invocations ¶
func (fake *FakeOpsManager) Invocations() map[string][][]interface{}
func (*FakeOpsManager) ProcessManager ¶
func (fake *FakeOpsManager) ProcessManager(arg1 context.Context) (*guest.ProcessManager, error)
func (*FakeOpsManager) ProcessManagerArgsForCall ¶
func (fake *FakeOpsManager) ProcessManagerArgsForCall(i int) context.Context
func (*FakeOpsManager) ProcessManagerCallCount ¶
func (fake *FakeOpsManager) ProcessManagerCallCount() int
func (*FakeOpsManager) ProcessManagerCalls ¶
func (fake *FakeOpsManager) ProcessManagerCalls(stub func(context.Context) (*guest.ProcessManager, error))
func (*FakeOpsManager) ProcessManagerReturns ¶
func (fake *FakeOpsManager) ProcessManagerReturns(result1 *guest.ProcessManager, result2 error)
func (*FakeOpsManager) ProcessManagerReturnsOnCall ¶
func (fake *FakeOpsManager) ProcessManagerReturnsOnCall(i int, result1 *guest.ProcessManager, result2 error)
type FakeVim25ClientCreator ¶
type FakeVim25ClientCreator struct { NewClientStub func(context.Context, soap.RoundTripper) (*vim25.Client, error) // contains filtered or unexported fields }
func (*FakeVim25ClientCreator) Invocations ¶
func (fake *FakeVim25ClientCreator) Invocations() map[string][][]interface{}
func (*FakeVim25ClientCreator) NewClient ¶
func (fake *FakeVim25ClientCreator) NewClient(arg1 context.Context, arg2 soap.RoundTripper) (*vim25.Client, error)
func (*FakeVim25ClientCreator) NewClientArgsForCall ¶
func (fake *FakeVim25ClientCreator) NewClientArgsForCall(i int) (context.Context, soap.RoundTripper)
func (*FakeVim25ClientCreator) NewClientCallCount ¶
func (fake *FakeVim25ClientCreator) NewClientCallCount() int
func (*FakeVim25ClientCreator) NewClientCalls ¶
func (fake *FakeVim25ClientCreator) NewClientCalls(stub func(context.Context, soap.RoundTripper) (*vim25.Client, error))
func (*FakeVim25ClientCreator) NewClientReturns ¶
func (fake *FakeVim25ClientCreator) NewClientReturns(result1 *vim25.Client, result2 error)
func (*FakeVim25ClientCreator) NewClientReturnsOnCall ¶
func (fake *FakeVim25ClientCreator) NewClientReturnsOnCall(i int, result1 *vim25.Client, result2 error)
Click to show internal directories.
Click to hide internal directories.