verification

package
v0.49.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

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