test

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "test"

Variables

This section is empty.

Functions

func HandleTestProviderRequest added in v0.3.0

func HandleTestProviderRequest(w http.ResponseWriter, tr *topology.Request) bool

func NamedLoader

func NamedLoader() (string, providers.Loader)

Types

type Params

type Params struct {
	TestcaseName         string `mapstructure:"testcaseName"`
	Description          string `mapstructure:"description"`
	GenerateResponseCode int    `mapstructure:"generateResponseCode"`
	TopologyResponseCode int    `mapstructure:"topologyResponseCode"`
	ModelFileName        string `mapstructure:"modelFileName"`
	ErrorMessage         string `mapstructure:"errorMessage"`
}

func NewParams added in v0.3.0

func NewParams() *Params

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func (*Provider) GenerateTopologyConfig

func (p *Provider) GenerateTopologyConfig(_ context.Context, _ *int, _ []topology.ComputeInstances) (*topology.Vertex, *httperr.Error)

func (*Provider) GetComputeInstances

func (p *Provider) GetComputeInstances(_ context.Context) ([]topology.ComputeInstances, *httperr.Error)

Jump to

Keyboard shortcuts

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