types

package
v0.0.0-...-a01d039 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EngineConfig

type EngineConfig struct {
	OdinVars struct {
		Master string `yaml:"master"`
		Port   string `yaml:"port"`
	} `yaml:"odin"`
	Mongo struct {
		Address string `yaml:"address"`
	} `yaml:"mongo"`
}

EngineConfig is a type to be used for accessing the engine configuration file information

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"`
}

JobConfig is a type to be used for accessing job configuration file information

type StringFormat

type StringFormat struct {
	Minute string
	Hour   string
	Dom    string
	Mon    string
	Dow    string
}

StringFormat is a type to be used for storing schedule information in the cron format

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL