fixtures

package
v0.2202.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package fixtures provides network configuration fixtures.

Index

Constants

This section is empty.

Variables

View Source
var (
	// FileFixtureFlags are command line flags for the fixtures.
	FileFixtureFlags = flag.NewFlagSet("", flag.ContinueOnError)

	// DefaultFixtureFlags are  command line flags for the fixture.default.* flags.
	DefaultFixtureFlags = flag.NewFlagSet("", flag.ContinueOnError)
)

Functions

func DumpFixture

func DumpFixture(f *oasis.NetworkFixture) ([]byte, error)

DumpFixture dumps given fixture to JSON-encoded bytes.

func GetFixture

func GetFixture() (f *oasis.NetworkFixture, err error)

GetFixture generates fixture object from given file or default fixture, if no fixtures file provided.

Types

This section is empty.

Jump to

Keyboard shortcuts

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