remove defaults

This commit is contained in:
miloschwartz
2026-02-16 20:50:13 -08:00
committed by Owen Schwartz
parent 2cc957d55f
commit d256d6c746
5 changed files with 66 additions and 125 deletions

View File

@@ -7,17 +7,7 @@ import "fmt"
var errLinuxOnly = fmt.Errorf("auth-daemon PAM agent is only supported on Linux")
// writeCACertIfNotExists returns an error on non-Linux.
func writeCACertIfNotExists(path, contents string) error {
return errLinuxOnly
}
// ensureSSHDTrustedUserCAKeys returns an error on non-Linux.
func ensureSSHDTrustedUserCAKeys(sshdConfigPath, caCertPath string) error {
return errLinuxOnly
}
// reloadSSHD returns an error on non-Linux.
func reloadSSHD(reloadCmd string) error {
func writeCACertIfNotExists(path, contents string, force bool) error {
return errLinuxOnly
}