dialudod

package
v0.0.0-...-4450389 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Privileges

type Privileges struct {
	// contains filtered or unexported fields
}

func New

func New(daemons *daemons.Daemons, socketDir string) *Privileges

func (*Privileges) AcquireUdoAclBash

func (ps *Privileges) AcquireUdoAclBash(
	ctx context.Context, username string,
) (privileges.UdoAclBash, error)

func (*Privileges) AcquireUdoChattr

func (ps *Privileges) AcquireUdoChattr(
	ctx context.Context, username string,
) (privileges.UdoChattr, error)

func (*Privileges) AcquireUdoRename

func (ps *Privileges) AcquireUdoRename(
	ctx context.Context, username string,
) (privileges.UdoRename, error)

func (*Privileges) AcquireUdoStat

func (ps *Privileges) AcquireUdoStat(
	ctx context.Context, username string,
) (privileges.UdoStat, error)

type UnknownUserError

type UnknownUserError struct {
	Username string
}

func (*UnknownUserError) Error

func (err *UnknownUserError) Error() string

Jump to

Keyboard shortcuts

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