Documentation ¶
Index ¶
Constants ¶
View Source
const RULESDIR = "rules"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { RulesDir string `yaml:"rulesdir"` ImagesToIgnore []string `yaml:"imagesToIgnore"` ContainerNameToIgnore []string `yaml:"containerNameToIgnore"` SmtpConfig smtpConfig `yaml:"smtp"` MailgunConfig MailGunConfig `yaml:"mailgun"` MailConfig MailConfiguration `yaml:"mailconfiguration"` AwsRegion string `yaml:"aws_region"` LogGroup string `yaml:"loggroup"` DebugLevel string `yaml:"debuglevel"` }
func ReadYamlCnxFile ¶
func (*AppConfig) GetRulesDir ¶
Return path of rules If empty, return the path of the binary/rules
func (*AppConfig) IsMailGunConfigured ¶
func (*AppConfig) IsSmtpConfigured ¶
type MailConfiguration ¶
type MailGunConfig ¶
Click to show internal directories.
Click to hide internal directories.