testing

package
v0.0.0-...-9451de5 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHealerIaaSConstructor

func NewHealerIaaSConstructor(addr string, err error) func(string) iaas.IaaS

func NewMultiHealerIaaSConstructor

func NewMultiHealerIaaSConstructor(addrs []string, ports []int, err error) func(string) iaas.IaaS

Types

type TestHealerIaaS

type TestHealerIaaS struct {
	sync.Mutex
	Addr     string
	Err      error
	DelErr   error
	Addrs    []string
	Ports    []int
	AddrId   int
	UniqueID int
}

func NewHealerIaaSConstructorWithInst

func NewHealerIaaSConstructorWithInst(addr string) (func(string) iaas.IaaS, *TestHealerIaaS)

func (*TestHealerIaaS) CreateMachine

func (t *TestHealerIaaS) CreateMachine(params map[string]string) (*iaas.Machine, error)

func (*TestHealerIaaS) DeleteMachine

func (t *TestHealerIaaS) DeleteMachine(m *iaas.Machine) error

func (*TestHealerIaaS) Describe

func (t *TestHealerIaaS) Describe() string

Jump to

Keyboard shortcuts

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