Documentation ¶
Index ¶
Constants ¶
View Source
const AppName = "t3c-check-refs"
View Source
const ArgFilesAddingInput = "input"
ArgFilesAddingInput is the value of the --files-adding flag to indicate to the input (file or stdin, depending whether a filename argument was passed) is a t3cutil.CheckRefsInputFileAndAdding JSON object.
Variables ¶
This section is empty.
Functions ¶
func ArgToFilesAdding ¶
ArgToFilesAdding converts a comma-delimited list of files being added to a set.
Types ¶
type Cfg ¶
type Cfg struct { CommandArgs []string LogLocationDebug string LogLocationWarn string LogLocationError string LogLocationInfo string TrafficServerConfigDir string TrafficServerPluginDir string FilesAdding map[string]struct{} FilesAddingInput bool Version string GitRevision string }
func InitConfig ¶
InitConfig() intializes the configuration variables and loggers.
func (Cfg) AppVersion ¶
func (Cfg) WarningLog ¶
func (cfg Cfg) WarningLog() log.LogLocation
Click to show internal directories.
Click to hide internal directories.