runas

package
v0.0.0-...-57a6cc2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteUser

func DeleteUser(logger lager.Logger, u User, exec execshim.Exec) error

Types

type User

type User interface {
	Uid() string
	Gid() string
	Username() string
	Name() string
	HomeDir() string
	Exec(lager.Logger, execshim.Exec) (execshim.Exec, error)
}

func CreateRandomUser

func CreateRandomUser(logger lager.Logger, exec execshim.Exec, user usershim.User) (User, error)

Jump to

Keyboard shortcuts

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