package
0.6.1
Repository: https://github.com/cosi-project/runtime.git
Documentation: pkg.go.dev

# Functions

NewIntResource creates new IntResource.
NewResource creates new Resource.
NewSentenceResource creates new SentenceResource.
NewStrResource creates new StrResource.

# Constants

IntResourceType is the type of IntResource.
SentenceResourceType is the type of SentenceResource.
StrResourceType is the type of StrResource.

# Structs

FailingController fails on each iteration creating new resources each time.
IntDoublerController doubles IntResource.
IntToStrController converts IntResource to StrResource.
MetricsController is a controller which does operations to facilitate testing of controller runtime metrics.
ModifyWithResultController doubles IntResource.
QFailingController fails in different ways.
QIntToStrController converts IntResource to StrResource as a QController.
QIntToStrSleepingController converts IntResource to StrResource as a QController sleeping source seconds.
Resource represents some T value.
RuntimeSuite ...
StrToSentenceController converts StrResource to SentenceResource.
SumController calculates sum of IntResources into new IntResource.
ValueGetSet is a basic building block for IntegerResource and StringResource implementations.

# Interfaces

IntegerResource is implemented by resources holding ints.
Spec requires spec to have a set of Get methods.
SpecPtr requires Spec to be a pointer and have a set of methods.
StringResource is implemented by resources holding strings.