privileges

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Privilege

type Privilege interface {
	Release()
}

type UdoAclBash

type UdoAclBash interface {
	Privilege
	PropagateAcls(ctx context.Context, src, dest string) error
}

type UdoAclBashPrivileges

type UdoAclBashPrivileges interface {
	AcquireUdoAclBash(
		ctx context.Context, username string,
	) (UdoAclBash, error)
}

type UdoChattr

type UdoChattr interface {
	Privilege
	ChattrSetImmutable(ctx context.Context, path string) error
	ChattrUnsetImmutable(ctx context.Context, path string) error
	ChattrTreeSetImmutable(ctx context.Context, path string) error
	ChattrTreeUnsetImmutable(ctx context.Context, path string) error
}

type UdoChattrPrivileges

type UdoChattrPrivileges interface {
	AcquireUdoChattr(
		ctx context.Context, username string,
	) (UdoChattr, error)
}

type UdoRename

type UdoRename interface {
	Privilege
	Rename(ctx context.Context, oldPath, newPath string) error
}

type UdoRenamePrivileges

type UdoRenamePrivileges interface {
	AcquireUdoRename(
		ctx context.Context, username string,
	) (UdoRename, error)
}

type UdoStat

type UdoStat interface {
	Privilege
	Stat(ctx context.Context, path string) (*pb.UdoStatO, error)
}

type UdoStatPrivileges

type UdoStatPrivileges interface {
	AcquireUdoStat(
		ctx context.Context, username string,
	) (UdoStat, error)
}

Jump to

Keyboard shortcuts

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