parameters

package
v0.0.0-...-12a582f Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parameter

type Parameter struct {
	Name  string
	Value interface{}
}

Parameter is a simple name value pair representing parameters that can act as declared inputs or units when designing an experiment. Either in defining the whitelist for an resource, or collecting input values of a single experiment request in flight that needs assignment

type Parameters

type Parameters []Parameter

Parameters is a collection of parameters

func (Parameters) String

func (p Parameters) String() string

String returns the sorted, name.value pair of all strings in the parameters list for inclusion as a seed string for hashing

func (Parameters) WhitelistedString

func (p Parameters) WhitelistedString(whitelist Parameters) string

WhitelistedString returns a String() but with parameters not in the supplied whitelist excluded

Jump to

Keyboard shortcuts

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