tests

package
v22.11.9 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceTester

type ServiceTester struct {
	Service iaas.Service
}

ServiceTester helper class to test clients

func (*ServiceTester) Buckets

func (tester *ServiceTester) Buckets(t *testing.T)

Buckets test

func (*ServiceTester) CreateGW

func (tester *ServiceTester) CreateGW(t *testing.T, subnet *abstract.Subnet) fail.Error

CreateGW creates a test GW

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) Hosts

func (tester *ServiceTester) Hosts(t *testing.T)

Hosts test

func (*ServiceTester) Images

func (tester *ServiceTester) Images(t *testing.T)

Images tests

func (*ServiceTester) KeyPairs

func (tester *ServiceTester) KeyPairs(t *testing.T)

KeyPairs tests

func (*ServiceTester) Networks

func (tester *ServiceTester) Networks(t *testing.T)

Networks test

func (*ServiceTester) StartStopHost

func (tester *ServiceTester) StartStopHost(t *testing.T)

StartStopHost test

func (*ServiceTester) Subnets

func (tester *ServiceTester) Subnets(t *testing.T)

Subnets test

func (*ServiceTester) VerifyStacks

func (tester *ServiceTester) VerifyStacks(t *testing.T)

VerifyStacks checks at compile that initialized tenants are valid stacks

Jump to

Keyboard shortcuts

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