Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultManifestGenerator is the default test manifest generator DefaultManifestGenerator = RandManifestGenerator // Generators is a list of all available manifest generators Generators = []struct { Name string Generator Generator }{ {"overflow", OverflowManifestGenerator}, {"random", RandManifestGenerator}, {"app", AppManifestGenerator}, } )
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface { Manifest(t testing.TB) manifest.Manifest Group(t testing.TB) manifest.Group Service(t testing.TB) manifest.Service ServiceExpose(t testing.TB) manifest.ServiceExpose }
Generator is an interface for generating test manifests
var AppManifestGenerator Generator = manifestGeneratorApp{}
AppManifestGenerator represents a real-world, deployable configuration.
var OverflowManifestGenerator Generator = manifestGeneratorOverflow{}
OverflowManifestGenerator generates a manifest maximum integer values
var RandManifestGenerator Generator = manifestGeneratorRand{}
RandManifestGenerator generates a manifest with random values
Click to show internal directories.
Click to hide internal directories.