Documentation ¶
Index ¶
- Variables
- func FindAndInsert(varType string, desc string, value string, id string, timestamp string) bool
- func Log(varType string, desc string, value string, id string, timestamp string) bool
- func ParseYaml(cfg *JobConfig, file *os.File) bool
- func ReadFile(filename string) *os.File
- func SetupClient() (*mongo.Client, error)
- type JobConfig
- type Odin
Constants ¶
This section is empty.
Variables ¶
View Source
var ENV_CONFIG bool
View Source
var TEST = false
Functions ¶
func FindAndInsert ¶
func SetupClient ¶
Types ¶
type JobConfig ¶
type JobConfig struct { Provider struct { Name string `yaml:"name"` Version string `yaml:"version"` } `yaml:"provider"` Job struct { Name string `yaml:"name"` ID string `yaml:"id"` Description string `yaml:"description"` Language string `yaml:"language"` File string `yaml:"file"` Schedule string `yaml:"schedule"` } `yaml:"job"` }
Click to show internal directories.
Click to hide internal directories.