Documentation ¶
Index ¶
- type FakeTargetPoolService
- func (t *FakeTargetPoolService) AddInstance(id string, vmLink string) error
- func (t *FakeTargetPoolService) Find(id string, region string) (targetpool.TargetPool, bool, error)
- func (t *FakeTargetPoolService) FindByInstance(vmLink string, region string) (string, bool, error)
- func (t *FakeTargetPoolService) List(region string) ([]targetpool.TargetPool, error)
- func (t *FakeTargetPoolService) RemoveInstance(id string, vmLink string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeTargetPoolService ¶
type FakeTargetPoolService struct { AddInstanceCalled bool AddInstanceErr error FindCalled bool FindFound bool FindTargetPool targetpool.TargetPool FindErr error FindByInstanceCalled bool FindByInstanceFound bool FindByInstanceTargetPool string FindByInstanceErr error ListCalled bool ListTargetPools []targetpool.TargetPool ListErr error RemoveInstanceCalled bool RemoveInstanceErr error }
func (*FakeTargetPoolService) AddInstance ¶
func (t *FakeTargetPoolService) AddInstance(id string, vmLink string) error
func (*FakeTargetPoolService) Find ¶
func (t *FakeTargetPoolService) Find(id string, region string) (targetpool.TargetPool, bool, error)
func (*FakeTargetPoolService) FindByInstance ¶
func (*FakeTargetPoolService) List ¶
func (t *FakeTargetPoolService) List(region string) ([]targetpool.TargetPool, error)
func (*FakeTargetPoolService) RemoveInstance ¶
func (t *FakeTargetPoolService) RemoveInstance(id string, vmLink string) error
Click to show internal directories.
Click to hide internal directories.