udodprivileges

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: 3 Imported by: 0

Documentation

Overview

Package `privileges/udodprivileges` implements interfaces from `privileges/privileges` by gRPCs to a `privileges/daemons.Daemon`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UdoAclBash

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

func NewUdoAclBash

func NewUdoAclBash(d *daemons.Daemon, username string) *UdoAclBash

func (*UdoAclBash) PropagateAcls

func (p *UdoAclBash) PropagateAcls(
	ctx context.Context,
	src, dst string,
) error

func (*UdoAclBash) Release

func (p *UdoAclBash) Release()

type UdoChattr

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

func NewUdoChattr

func NewUdoChattr(d *daemons.Daemon, username string) *UdoChattr

func (*UdoChattr) ChattrSetImmutable

func (p *UdoChattr) ChattrSetImmutable(
	ctx context.Context, path string,
) error

func (*UdoChattr) ChattrTreeSetImmutable

func (p *UdoChattr) ChattrTreeSetImmutable(
	ctx context.Context, path string,
) error

func (*UdoChattr) ChattrTreeUnsetImmutable

func (p *UdoChattr) ChattrTreeUnsetImmutable(
	ctx context.Context, path string,
) error

func (*UdoChattr) ChattrUnsetImmutable

func (p *UdoChattr) ChattrUnsetImmutable(
	ctx context.Context, path string,
) error

func (*UdoChattr) Release

func (p *UdoChattr) Release()

type UdoRename

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

func NewUdoRename

func NewUdoRename(d *daemons.Daemon, username string) *UdoRename

func (*UdoRename) Release

func (p *UdoRename) Release()

func (*UdoRename) Rename

func (p *UdoRename) Rename(
	ctx context.Context, oldPath, newPath string,
) error

type UdoStat

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

func NewUdoStat

func NewUdoStat(d *daemons.Daemon, username string) *UdoStat

func (*UdoStat) Release

func (p *UdoStat) Release()

func (*UdoStat) Stat

func (p *UdoStat) Stat(
	ctx context.Context, path string,
) (*pb.UdoStatO, error)

Jump to

Keyboard shortcuts

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