itopotest

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestTopoProvider

type TestTopoProvider struct {
	*topology.RWTopology
}

TestTopoProvider is a provider for a specific topology object.

func TopoProviderFromFile

func TopoProviderFromFile(t *testing.T, fName string) *TestTopoProvider

TopoProviderFromFile creates a topo provider from a topology file. It fails the test if loading the file fails.

func (*TestTopoProvider) Get

Get returns the stored topology.

Jump to

Keyboard shortcuts

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