tests

package
v19.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: Apache-2.0 Imports: 27 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) Containers

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

Containers test

func (*ServiceTester) CreateGW

func (tester *ServiceTester) CreateGW(t *testing.T, network *resources.Network) error

CreateGW creates a test GW

func (*ServiceTester) CreateHost

func (tester *ServiceTester) CreateHost(t *testing.T, name string, network *resources.Network, public bool) (*resources.Host, *userdata.Content, error)

CreateHost creates a test host

func (*ServiceTester) CreateKeyPair

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

CreateKeyPair test

func (*ServiceTester) CreateKeyPairAndLeaveItThere

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

CreateKeyPairAndLeaveItThere ...

func (*ServiceTester) CreateNetwork

func (tester *ServiceTester) CreateNetwork(t *testing.T, name string, withGW bool, cidr string) (*resources.Network, *resources.Host)

CreateNetwork creates a test network

func (*ServiceTester) CreateNetworkTest

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

CreateNetworkTest test

func (*ServiceTester) GetImage

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

GetImage ...

func (*ServiceTester) GetKeyPair

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

GetKeyPair test

func (*ServiceTester) GetTemplate

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

GetTemplate ...

func (*ServiceTester) Hosts

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

Hosts test

func (*ServiceTester) ListHostTemplates

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

ListHostTemplates test

func (*ServiceTester) ListImages

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

ListImages test

func (*ServiceTester) ListKeyPairs

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

ListKeyPairs test

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

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

VerifyStacks checks at compile that initialized tenants are valid stacks

func (*ServiceTester) Volume

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

Volume test

func (*ServiceTester) VolumeAttachment

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

VolumeAttachment test

Jump to

Keyboard shortcuts

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