Documentation ¶
Overview ¶
Package config models the configuration file for Amplify
Index ¶
Constants ¶
View Source
const ( LogLevelFlag = "log-level" ConfigPathFlag = "config" PortFlag = "port" )
Define all global flag names
Variables ¶
This section is empty.
Functions ¶
func AddGlobalFlags ¶
Types ¶
type AppConfig ¶
type AppConfig struct { LogLevel zerolog.Level `yaml:"log-level"` ConfigPath string `yaml:"config-path"` Port int `yaml:"port"` }
func ParseAppConfig ¶
type Node ¶
type Node struct { ID string `yaml:"id"` JobID string `yaml:"job_id"` Inputs []NodeInput `yaml:"inputs"` Outputs []NodeOutput `yaml:"outputs"` }
type NodeOutput ¶
Click to show internal directories.
Click to hide internal directories.