Documentation ¶
Index ¶
- Constants
- func LoadFromBash(args []string) (string, cue.Value, error)
- func LoadFromFile(filename string) (string, cue.Value, error)
- func LoadFromHttp(fullurl string) (string, cue.Value, error)
- func LoadFromText(content string) (string, cue.Value, error)
- func LoadRuntime(args []string) (*runtime.Runtime, error)
- type EvalSource
- type SourceConfig
Constants ¶
View Source
const ( EvalNone = "" EvalRuntime = "runtime" EvalText = "text" EvalFile = "file" EvalBash = "bash" EvalHttp = "http" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EvalSource ¶
type EvalSource string
type SourceConfig ¶
type SourceConfig struct { // manual source data Value cue.Value Text string // or how to get the value Source EvalSource Args []string Watch bool Refresh time.Duration }
func (SourceConfig) GetText ¶
func (sc SourceConfig) GetText() (string, error)
Click to show internal directories.
Click to hide internal directories.