fakes

package
v29.0.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

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 (t *FakeTargetPoolService) FindByInstance(vmLink string, region string) (string, bool, error)

func (*FakeTargetPoolService) List

func (t *FakeTargetPoolService) List(region string) ([]targetpool.TargetPool, error)

func (*FakeTargetPoolService) RemoveInstance

func (t *FakeTargetPoolService) RemoveInstance(id string, vmLink string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL