Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeClientAPI
- func (fake *FakeClientAPI) CreateVM(instance compute.Instance) error
- func (fake *FakeClientAPI) CreateVMArgsForCall(i int) compute.Instance
- func (fake *FakeClientAPI) CreateVMCallCount() int
- func (fake *FakeClientAPI) CreateVMReturns(result1 error)
- func (fake *FakeClientAPI) DeleteVM(instanceName string) error
- func (fake *FakeClientAPI) DeleteVMArgsForCall(i int) string
- func (fake *FakeClientAPI) DeleteVMCallCount() int
- func (fake *FakeClientAPI) DeleteVMReturns(result1 error)
- func (fake *FakeClientAPI) GetVMInfo(filter gcp.Filter) (*compute.Instance, error)
- func (fake *FakeClientAPI) GetVMInfoArgsForCall(i int) gcp.Filter
- func (fake *FakeClientAPI) GetVMInfoCallCount() int
- func (fake *FakeClientAPI) GetVMInfoReturns(result1 *compute.Instance, result2 error)
- func (fake *FakeClientAPI) StopVM(instanceName string) error
- func (fake *FakeClientAPI) StopVMArgsForCall(i int) string
- func (fake *FakeClientAPI) StopVMCallCount() int
- func (fake *FakeClientAPI) StopVMReturns(result1 error)
- type FakeGoogleComputeClient
- func (fake *FakeGoogleComputeClient) Delete(project string, zone string, instanceName string) (*compute.Operation, error)
- func (fake *FakeGoogleComputeClient) DeleteArgsForCall(i int) (string, string, string)
- func (fake *FakeGoogleComputeClient) DeleteCallCount() int
- func (fake *FakeGoogleComputeClient) DeleteReturns(result1 *compute.Operation, result2 error)
- func (fake *FakeGoogleComputeClient) Insert(project string, zone string, instance *compute.Instance) (*compute.Operation, error)
- func (fake *FakeGoogleComputeClient) InsertArgsForCall(i int) (string, string, *compute.Instance)
- func (fake *FakeGoogleComputeClient) InsertCallCount() int
- func (fake *FakeGoogleComputeClient) InsertReturns(result1 *compute.Operation, result2 error)
- func (fake *FakeGoogleComputeClient) List(project string, zone string) (*compute.InstanceList, error)
- func (fake *FakeGoogleComputeClient) ListArgsForCall(i int) (string, string)
- func (fake *FakeGoogleComputeClient) ListCallCount() int
- func (fake *FakeGoogleComputeClient) ListReturns(result1 *compute.InstanceList, result2 error)
- func (fake *FakeGoogleComputeClient) Stop(project string, zone string, instanceName string) (*compute.Operation, error)
- func (fake *FakeGoogleComputeClient) StopArgsForCall(i int) (string, string, string)
- func (fake *FakeGoogleComputeClient) StopCallCount() int
- func (fake *FakeGoogleComputeClient) StopReturns(result1 *compute.Operation, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClientAPI ¶
type FakeClientAPI struct { CreateVMStub func(instance compute.Instance) error DeleteVMStub func(instanceName string) error GetVMInfoStub func(filter gcp.Filter) (*compute.Instance, error) StopVMStub func(instanceName string) error // contains filtered or unexported fields }
func (*FakeClientAPI) CreateVM ¶
func (fake *FakeClientAPI) CreateVM(instance compute.Instance) error
func (*FakeClientAPI) CreateVMArgsForCall ¶
func (fake *FakeClientAPI) CreateVMArgsForCall(i int) compute.Instance
func (*FakeClientAPI) CreateVMCallCount ¶
func (fake *FakeClientAPI) CreateVMCallCount() int
func (*FakeClientAPI) CreateVMReturns ¶
func (fake *FakeClientAPI) CreateVMReturns(result1 error)
func (*FakeClientAPI) DeleteVM ¶
func (fake *FakeClientAPI) DeleteVM(instanceName string) error
func (*FakeClientAPI) DeleteVMArgsForCall ¶
func (fake *FakeClientAPI) DeleteVMArgsForCall(i int) string
func (*FakeClientAPI) DeleteVMCallCount ¶
func (fake *FakeClientAPI) DeleteVMCallCount() int
func (*FakeClientAPI) DeleteVMReturns ¶
func (fake *FakeClientAPI) DeleteVMReturns(result1 error)
func (*FakeClientAPI) GetVMInfoArgsForCall ¶
func (fake *FakeClientAPI) GetVMInfoArgsForCall(i int) gcp.Filter
func (*FakeClientAPI) GetVMInfoCallCount ¶
func (fake *FakeClientAPI) GetVMInfoCallCount() int
func (*FakeClientAPI) GetVMInfoReturns ¶
func (fake *FakeClientAPI) GetVMInfoReturns(result1 *compute.Instance, result2 error)
func (*FakeClientAPI) StopVM ¶
func (fake *FakeClientAPI) StopVM(instanceName string) error
func (*FakeClientAPI) StopVMArgsForCall ¶
func (fake *FakeClientAPI) StopVMArgsForCall(i int) string
func (*FakeClientAPI) StopVMCallCount ¶
func (fake *FakeClientAPI) StopVMCallCount() int
func (*FakeClientAPI) StopVMReturns ¶
func (fake *FakeClientAPI) StopVMReturns(result1 error)
type FakeGoogleComputeClient ¶
type FakeGoogleComputeClient struct { ListStub func(project string, zone string) (*compute.InstanceList, error) DeleteStub func(project string, zone string, instanceName string) (*compute.Operation, error) InsertStub func(project string, zone string, instance *compute.Instance) (*compute.Operation, error) StopStub func(project string, zone string, instanceName string) (*compute.Operation, error) // contains filtered or unexported fields }
func (*FakeGoogleComputeClient) DeleteArgsForCall ¶
func (fake *FakeGoogleComputeClient) DeleteArgsForCall(i int) (string, string, string)
func (*FakeGoogleComputeClient) DeleteCallCount ¶
func (fake *FakeGoogleComputeClient) DeleteCallCount() int
func (*FakeGoogleComputeClient) DeleteReturns ¶
func (fake *FakeGoogleComputeClient) DeleteReturns(result1 *compute.Operation, result2 error)
func (*FakeGoogleComputeClient) InsertArgsForCall ¶
func (*FakeGoogleComputeClient) InsertCallCount ¶
func (fake *FakeGoogleComputeClient) InsertCallCount() int
func (*FakeGoogleComputeClient) InsertReturns ¶
func (fake *FakeGoogleComputeClient) InsertReturns(result1 *compute.Operation, result2 error)
func (*FakeGoogleComputeClient) List ¶
func (fake *FakeGoogleComputeClient) List(project string, zone string) (*compute.InstanceList, error)
func (*FakeGoogleComputeClient) ListArgsForCall ¶
func (fake *FakeGoogleComputeClient) ListArgsForCall(i int) (string, string)
func (*FakeGoogleComputeClient) ListCallCount ¶
func (fake *FakeGoogleComputeClient) ListCallCount() int
func (*FakeGoogleComputeClient) ListReturns ¶
func (fake *FakeGoogleComputeClient) ListReturns(result1 *compute.InstanceList, result2 error)
func (*FakeGoogleComputeClient) StopArgsForCall ¶
func (fake *FakeGoogleComputeClient) StopArgsForCall(i int) (string, string, string)
func (*FakeGoogleComputeClient) StopCallCount ¶
func (fake *FakeGoogleComputeClient) StopCallCount() int
func (*FakeGoogleComputeClient) StopReturns ¶
func (fake *FakeGoogleComputeClient) StopReturns(result1 *compute.Operation, result2 error)
Click to show internal directories.
Click to hide internal directories.