Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
Group represents a UNIX group (as registered in /etc/group). It implements the Entity interface and is handled accordingly.
func (Group) Apply ¶
Apply performs the complete application algorithm for the given Entity. If the group does not exist yet, it is created. If it does exist, but some attributes do not match, it will be updated, but only if withForce is given.
func (Group) RenderDiff ¶
RenderDiff implements the common.Entity interface.
type User ¶
type User struct {
// contains filtered or unexported fields
}
User represents a UNIX user account (as registered in /etc/passwd). It implements the Entity interface and is handled accordingly.
func (User) Apply ¶
Apply performs the complete application algorithm for the given Entity. If the group does not exist yet, it is created. If it does exist, but some attributes do not match, it will be updated, but only if withForce is given.
func (User) RenderDiff ¶
RenderDiff implements the common.Entity interface.