users

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 13 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemoveUsersAndGroups

func RemoveUsersAndGroups() error

RemoveUsersAndGroups is a NO-OP on non-Linux.

func UpdatePathOwner

func UpdatePathOwner(dirPath string, uid, gid int64) error

UpdatePathOwner is a NO-OP on non-Linux.

func UpdatePathOwnerAndPermissions

func UpdatePathOwnerAndPermissions(path string, uid, gid int64, perms uint32) error

UpdatePathOwnerAndPermissions is a NO-OP on non-Linux.

Types

type EntryMap

type EntryMap struct{}

EntryMap is empty on non-Linux.

func (*EntryMap) ID

func (*EntryMap) ID(string) *int64

ID is a NO-OP on non-Linux.

func (*EntryMap) String

func (*EntryMap) String() string

String is NO-OP on non-Linux.

type UsersAndGroups

type UsersAndGroups struct{}

UsersAndGroups is empty on non-Linux.

func AddUsersAndGroups

func AddUsersAndGroups() (*UsersAndGroups, error)

AddUsersAndGroups is a NO-OP on non-Linux.

Jump to

Keyboard shortcuts

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