Documentation
¶
Index ¶
- Constants
- Variables
- func AddUserCmds(ctx context.Context, instUser string, _ bool) ([]*exec.Cmd, error)
- func DeleteUserCmds(ctx context.Context, instUser string, secure bool) ([]*exec.Cmd, error)
- func Exists(name string) (bool, error)
- func InstanceFromUser(username string) string
- func ReadAttribute(_ context.Context, username string, k Attribute) (string, error)
- func UserFromInstance(instName string) string
- func Users(ctx context.Context) ([]string, error)
- type Attribute
Constants ¶
View Source
const (
AttributeUserShell = Attribute("UserShell")
)
Variables ¶
View Source
var Prefix = "alcless_" + me() + "_"
Prefix is the prefix of the user accounts.
Functions ¶
func AddUserCmds ¶ added in v0.2.0
func DeleteUserCmds ¶ added in v0.2.0
func InstanceFromUser ¶
func ReadAttribute ¶ added in v0.2.0
func UserFromInstance ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.