2024-09-26 20:23:34 +02:00

20 lines
419 B
Go

package fields
var AllowedDuplicateOptions = map[string]struct{}{
"CertificateFile": {},
"Match": {},
"Host": {},
}
// A list of
// <Option name> -> <List of fields that need to be present for the option>
var DependentFields = map[string][]string{
"CanonicalDomains": {"CanonicalizeHostname"},
"ControlPersist": {"ControlMaster"},
}
var HostDisallowedOptions = map[string]struct{}{
"EnableSSHKeysign": {},
}