Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregationPolicy ¶
type AggregationPolicy = policy.Aggregation
AggregationPolicy defines an aggregation policy.
func NewAggregationPolicy ¶
func NewAggregationPolicy(l Label, r AggregationRule) AggregationPolicy
NewAggregationPolicy creates a structure that represents an aggregation policy.
type AggregationRule ¶
type AggregationRule = policy.AggregationRule
AggregationRule defines an aggregation rule.
func NewAggregationRule ¶
func NewAggregationRule(a Action, trs Transformations) AggregationRule
NewAggregationRule creates a structure that represents an aggregation rule.
type ComposablePolicy ¶
type ComposablePolicy = policy.Composable
ComposablePolicy defines a composable policy.
func NewComposablePolicy ¶
func NewComposablePolicy(ars ...AggregationPolicy) *ComposablePolicy
NewComposablePolicy creates a structure that represents a composable policy.
type Intertemplate ¶
type Intertemplate = container.Intertemplate
Intertemplate is an interface for interacting with a template.
type Intertuple ¶
type Intertuple = container.Intertuple
Intertuple is an interface for interacting with a tuple.
type LabelledTuple ¶
type LabelledTuple = container.LabelledTuple
LabelledTuple represents a labelled tuple.
func NewLabelledTuple ¶
func NewLabelledTuple(fields ...interface{}) LabelledTuple
NewLabelledTuple creates a structure that represents a labelled tuple.
type Space ¶
Space defines a multi-set for tuples.
func NewRemoteSpace ¶
NewRemoteSpace creates a structure that represents a remote space.
func NewSpace ¶
func NewSpace(name string, policy ...*ComposablePolicy) Space
NewSpace creates a structure that represents a space.
type SpaceFrame ¶
type SpaceFrame interface { space.Interspace space.Interstar }
SpaceFrame contains all interfaces that can operate on a space.
type Template ¶
Template defines a template used for pattern matching.
func CreateTemplate ¶
func CreateTemplate(fields ...interface{}) Template
CreateTemplate creates a structure that represents a template.
type TemplateFrame ¶
type TemplateFrame interface { Intertemplate }
TemplateFrame contains all interfaces that can operate on a template.
type Transformation ¶
type Transformation = policy.Transformation
Transformation defines a transformation.
func NewTransformation ¶
func NewTransformation(function interface{}, params ...interface{}) Transformation
NewTransformation creates a structure for representing a transformation that can be applied to an action.
type Transformations ¶
type Transformations = policy.Transformations
Transformations defines a transformations applied to an action.
func NewTransformations ¶
func NewTransformations(trs ...*Transformation) *Transformations
NewTransformations creates a structure for representing collection of transformation that can be applied to an action.
type Tuple ¶
Tuple defines a tuple structure.
func CreateTuple ¶
func CreateTuple(fields ...interface{}) Tuple
CreateTuple creates a structure that represents a tuple.
type TupleFrame ¶
type TupleFrame interface { Intertuple }
TupleFrame contains all interfaces that can operate on a tuple.