v2beta1

package
v0.6.3-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

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