Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NewUserConfig ¶
type NewUserConfig struct {
NewUser struct {
Name string `yaml:"name"`
Nologin bool `yaml:"nologin"`
Password string `yaml:"password"`
UserDir string `yaml:"user-dir"`
} `yaml:"new-user"`
}
func ParseNewUserConfig ¶
func ParseNewUserConfig(b []byte, logger *logrus.Logger) (*NewUserConfig, error)
func (*NewUserConfig) IsValid ¶
func (config *NewUserConfig) IsValid() error
Click to show internal directories.
Click to hide internal directories.