Lines Matching refs:GlobalOption
18 type GlobalOption string type
22 Nosec GlobalOption = "nosec"
24 Audit GlobalOption = "audit"
26 NoSecAlternative GlobalOption = "#nosec"
37 cfg[Globals] = make(map[GlobalOption]string)
41 func (c Config) keyToGlobalOptions(key string) GlobalOption {
42 return GlobalOption(key)
48 validGlobals := map[GlobalOption]string{}
97 func (c Config) GetGlobal(option GlobalOption) (string, error) { argument
99 if settings, ok := globals.(map[GlobalOption]string); ok {
110 func (c Config) SetGlobal(option GlobalOption, value string) { argument
112 if settings, ok := globals.(map[GlobalOption]string); ok {
119 func (c Config) IsGlobalEnabled(option GlobalOption) (bool, error) { argument