nogfsostaudod

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

Documentation

Index

Constants

View Source
const ConfigErrorMessageTruncateLength = 500

Variables

View Source
var ErrUserMismatch = status.Error(
	codes.InvalidArgument, "request `username` != server process user",
)

Functions

func GetpwuidName

func GetpwuidName(uid uint32) (string, error)

Types

type Logger

type Logger interface {
	Infow(msg string, kv ...interface{})
	Warnw(msg string, kv ...interface{})
}

type Server

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

func New

func New(lg Logger) (*Server, error)

func (*Server) UdoBashPropagateAcls

func (srv *Server) UdoBashPropagateAcls(
	ctx context.Context, i *pb.UdoBashPropagateAclsI,
) (*pb.UdoBashPropagateAclsO, error)

func (*Server) UdoChattrSetImmutable

func (srv *Server) UdoChattrSetImmutable(
	ctx context.Context, i *pb.UdoChattrSetImmutableI,
) (*pb.UdoChattrSetImmutableO, error)

func (*Server) UdoChattrTreeSetImmutable

func (srv *Server) UdoChattrTreeSetImmutable(
	ctx context.Context, i *pb.UdoChattrTreeSetImmutableI,
) (*pb.UdoChattrTreeSetImmutableO, error)

func (*Server) UdoChattrTreeUnsetImmutable

func (srv *Server) UdoChattrTreeUnsetImmutable(
	ctx context.Context, i *pb.UdoChattrTreeUnsetImmutableI,
) (*pb.UdoChattrTreeUnsetImmutableO, error)

func (*Server) UdoChattrUnsetImmutable

func (srv *Server) UdoChattrUnsetImmutable(
	ctx context.Context, i *pb.UdoChattrUnsetImmutableI,
) (*pb.UdoChattrUnsetImmutableO, error)

func (*Server) UdoRename

func (srv *Server) UdoRename(
	ctx context.Context, i *pb.UdoRenameI,
) (*pb.UdoRenameO, error)

func (*Server) UdoStat

func (srv *Server) UdoStat(
	ctx context.Context, i *pb.UdoStatI,
) (*pb.UdoStatO, error)

type UnknownUIDError

type UnknownUIDError struct {
	UID uint32
}

func (*UnknownUIDError) Error

func (err *UnknownUIDError) Error() string

Jump to

Keyboard shortcuts

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