[WIP] v0.7.0 almost ready to release
This commit is contained in:
7
pkg/usermanager/common/options.go
Normal file
7
pkg/usermanager/common/options.go
Normal file
@ -0,0 +1,7 @@
|
||||
package common
|
||||
|
||||
// ConfigurablePackageManager defines methods for setting configuration options.
|
||||
type ConfigurableUserManager interface {
|
||||
SetUseAuth(useAuth bool)
|
||||
SetAuthCommand(authCommand string)
|
||||
}
|
@ -20,6 +20,7 @@ type UserManager interface {
|
||||
UserExists(username string) (string, []string)
|
||||
}
|
||||
|
||||
// NewUserManager returns a UserManager-compatible struct
|
||||
func NewUserManager(system string) (UserManager, error) {
|
||||
var manager UserManager
|
||||
|
||||
|
Reference in New Issue
Block a user