MCPcopy Create free account
hub / github.com/AdRoll/baker / ListConfig

Struct ListConfig

input/list.go:58–62  ·  view source on GitHub ↗

for tests

Source from the content-addressed store, hash-verified

56var stdin = os.Stdin // for tests
57
58type ListConfig struct {
59 Files []string `help:"List of log-files, directories and/or list-files to process" default:"[\"-\"]"`
60 MatchPath string `help:"regexp to filter files in specified directories" default:".*\\.log\\.gz"`
61 Region string `help:"AWS Region for fetching from S3" default:"us-west-2"`
62}
63
64func (cfg *ListConfig) fillDefaults() {
65 if cfg.MatchPath == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected