verification

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	APIVersion = "chaostoolkit.org/v1"
	Provider   = "chaostoolkit.org"
	Version    = "v1"
)
View Source
const (
	TypeExperiment         = "experiment"
	TypeExperimentRun      = "run"
	TypeExperimentRunEvent = "event"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExperimentRun

type ExperimentRun struct {
	Metadata entities.Metadata `json:"metadata,omitempty"`
	Spec     ExperimentRunSpec `json:"spec"`
}

func (*ExperimentRun) GetMetadata

func (x *ExperimentRun) GetMetadata() entities.Metadata

func (*ExperimentRun) GetSpec

func (x *ExperimentRun) GetSpec() interface{}

func (*ExperimentRun) Kind

func (x *ExperimentRun) Kind() string

func (*ExperimentRun) Type

func (x *ExperimentRun) Type() string

func (*ExperimentRun) Validate

func (x *ExperimentRun) Validate() error

func (*ExperimentRun) Version

func (x *ExperimentRun) Version() string

type ExperimentRunEvent

type ExperimentRunEvent struct {
	Metadata entities.Metadata      `json:"metadata"`
	Spec     ExperimentRunEventSpec `json:"spec"`
}

func (*ExperimentRunEvent) GetMetadata

func (x *ExperimentRunEvent) GetMetadata() entities.Metadata

func (*ExperimentRunEvent) GetSpec

func (x *ExperimentRunEvent) GetSpec() interface{}

func (*ExperimentRunEvent) Kind

func (x *ExperimentRunEvent) Kind() string

func (*ExperimentRunEvent) Type

func (x *ExperimentRunEvent) Type() string

func (*ExperimentRunEvent) Validate

func (x *ExperimentRunEvent) Validate() error

func (*ExperimentRunEvent) Version

func (x *ExperimentRunEvent) Version() string

type ExperimentRunEventSpec

type ExperimentRunEventSpec struct {
	Result json.RawMessage `json:"result,omitempty" datastore:",noindex"`
}

type ExperimentRunSpec

type ExperimentRunSpec struct {
	Experiment json.RawMessage `json:"experiment,omitempty" datastore:",noindex"`
	Result     json.RawMessage `json:"result,omitempty" datastore:",noindex"`
}

type Verification

type Verification struct {
	Metadata entities.Metadata `json:"metadata"`
	Spec     VerificationSpec  `json:"spec"`
}

func (*Verification) GetMetadata

func (x *Verification) GetMetadata() entities.Metadata

func (*Verification) GetSpec

func (x *Verification) GetSpec() interface{}

func (*Verification) Kind

func (x *Verification) Kind() string

func (*Verification) Type

func (x *Verification) Type() string

func (*Verification) Validate

func (x *Verification) Validate() error

func (*Verification) Version

func (x *Verification) Version() string

type VerificationSpec

type VerificationSpec struct {
	Experiment string `json:"experiment,omitempty" datastore:",noindex"`
}

Jump to

Keyboard shortcuts

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