Documentation ¶
Overview ¶
Package parser enables parsing of cue sources
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CueTemplate contains the bare cue source template used to generate // cue files CueTemplate = `` /* 1250-byte string literal not displayed */ )
Functions ¶
This section is empty.
Types ¶
type P2PLabInstance ¶
P2PLabInstance is a wrapper around a cue instance which exposes helper functions to reduce lookup verbosity
func (*P2PLabInstance) ToExperimentDefinition ¶
func (p *P2PLabInstance) ToExperimentDefinition() (metadata.ExperimentDefinition, error)
ToExperimentDefinition returns the cue source as a metadata.ExperimentDefinition type
func (*P2PLabInstance) ToTrialDefinitions ¶
func (p *P2PLabInstance) ToTrialDefinitions() ([]metadata.TrialDefinition, error)
ToTrialDefinitions returns the slice of all trials to be run
Click to show internal directories.
Click to hide internal directories.