Update Security Level names and descriptions for docs
This commit is contained in:
@@ -31,24 +31,28 @@ const (
|
|||||||
// SecurityLevelValues defines all possible security levels.
|
// SecurityLevelValues defines all possible security levels.
|
||||||
var SecurityLevelValues = []config.PossibleValue{
|
var SecurityLevelValues = []config.PossibleValue{
|
||||||
{
|
{
|
||||||
Name: "Normal",
|
Name: "Trusted / Home Network",
|
||||||
Value: SecurityLevelsAll,
|
Value: SecurityLevelsAll,
|
||||||
|
Description: "Setting is always enabled.",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "High",
|
Name: "Untrusted / Public Network",
|
||||||
Value: SecurityLevelsHighAndExtreme,
|
Value: SecurityLevelsHighAndExtreme,
|
||||||
|
Description: "Setting is enabled in untrusted and dangerous networks.",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "Extreme",
|
Name: "Danger / Hacked Network",
|
||||||
Value: SecurityLevelExtreme,
|
Value: SecurityLevelExtreme,
|
||||||
|
Description: "Setting is enabled only in dangerous networks.",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
// AllSecurityLevelValues is like SecurityLevelValues but also includes Off.
|
// AllSecurityLevelValues is like SecurityLevelValues but also includes Off.
|
||||||
var AllSecurityLevelValues = append([]config.PossibleValue{
|
var AllSecurityLevelValues = append([]config.PossibleValue{
|
||||||
{
|
{
|
||||||
Name: "Off",
|
Name: "Off",
|
||||||
Value: SecurityLevelOff,
|
Value: SecurityLevelOff,
|
||||||
|
Description: "Setting is always disabled.",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
SecurityLevelValues...,
|
SecurityLevelValues...,
|
||||||
|
|||||||
Reference in New Issue
Block a user