user

package
v0.0.0-...-1789bb6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2013 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Present = State("present")
	Absent  = State("absent")
)
View Source
const AutoUID = -1

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State string

type User

type User struct {
	State       State
	Name        string
	Uid         int
	System      bool     // whether or not system account
	Group       string   // primary group
	Groups      []string // supplementary groups
	Appends     bool     // whether or not appending supplementary groups
	Comment     string
	HomeDir     string
	Shell       string
	RemovesHome bool
}

func (*User) Run

func (u *User) Run() (result *task.Result, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL