Documentation ¶
Index ¶
- type ServiceTester
- func (tester *ServiceTester) Buckets(t *testing.T)
- func (tester *ServiceTester) CreateGW(t *testing.T, subnet *abstract.Subnet) fail.Error
- func (tester *ServiceTester) CreateHost(t *testing.T, name string, subnet *abstract.Subnet, public bool) (*abstract.HostFull, *userdata.Content, fail.Error)
- func (tester *ServiceTester) CreateNetwork(t *testing.T, name string, cidr string) *abstract.Network
- func (tester *ServiceTester) CreateSubnet(t *testing.T, networkID, name string, withGW bool, cidr string) (*abstract.Subnet, *abstract.HostFull)
- func (tester *ServiceTester) HostTemplates(t *testing.T)
- func (tester *ServiceTester) Hosts(t *testing.T)
- func (tester *ServiceTester) Images(t *testing.T)
- func (tester *ServiceTester) KeyPairs(t *testing.T)
- func (tester *ServiceTester) Networks(t *testing.T)
- func (tester *ServiceTester) StartStopHost(t *testing.T)
- func (tester *ServiceTester) Subnets(t *testing.T)
- func (tester *ServiceTester) VerifyStacks(t *testing.T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceTester ¶
ServiceTester helper class to test clients
func (*ServiceTester) CreateHost ¶
func (tester *ServiceTester) CreateHost(t *testing.T, name string, subnet *abstract.Subnet, public bool) (*abstract.HostFull, *userdata.Content, fail.Error)
CreateHost creates a test host
func (*ServiceTester) CreateNetwork ¶
func (tester *ServiceTester) CreateNetwork(t *testing.T, name string, cidr string) *abstract.Network
CreateNetwork creates a test network
func (*ServiceTester) CreateSubnet ¶
func (tester *ServiceTester) CreateSubnet(t *testing.T, networkID, name string, withGW bool, cidr string) (*abstract.Subnet, *abstract.HostFull)
CreateSubnet creates a test subnet
func (*ServiceTester) HostTemplates ¶
func (tester *ServiceTester) HostTemplates(t *testing.T)
HostTemplates test
func (*ServiceTester) StartStopHost ¶
func (tester *ServiceTester) StartStopHost(t *testing.T)
StartStopHost test
func (*ServiceTester) VerifyStacks ¶
func (tester *ServiceTester) VerifyStacks(t *testing.T)
VerifyStacks checks at compile that initialized tenants are valid stacks
Click to show internal directories.
Click to hide internal directories.