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.
Click to show internal directories.
Click to hide internal directories.