Module alcove_cgroup

Function Index

cgroup/1
cgroup/2
create/2
create/3
destroy/2
destroy/3
expand/1
fold/5
fold/6
fold_files/6
fold_files/7
get/5
is_dir/3
is_file/3
join/2
mounts/1
mounts/2
relpath/1
set/6
supported/2

Function Details

cgroup/1

cgroup(Drv) -> any()

cgroup/2

cgroup(Drv, Pids) -> any()

create/2

create(Drv::alcove_drv:ref(), Pids::[alcove:pid_t()]) -> ok

create/3

create(Drv::alcove_drv:ref(), Pids::[alcove:pid_t()], Namespaces::[file:name_all()]) -> ok

destroy/2

destroy(Drv::alcove_drv:ref(), Pids::[alcove:pid_t()]) -> [ok | {error, file:posix()}]

destroy/3

destroy(Drv::alcove_drv:ref(), Pids::[alcove:pid_t()], Namespace::[file:name_all()]) -> [ok | {error, file:posix()}]

expand/1

expand(Path) -> any()

fold/5

fold(Drv, MntOpt, Namespace, Fun, AccIn) -> any()

fold/6

fold(Drv, Pids, MntOpt, Namespace, Fun, AccIn) -> any()

fold_files/6

fold_files(Drv, MntOpt, Namespace, RegExp, Fun, AccIn) -> any()

fold_files/7

fold_files(Drv, Pids, MntOpt, Namespace, RegExp, CallerFun, AccIn) -> any()

get/5

get(Drv::alcove_drv:ref(), Pids::[alcove:pid_t()], MntOpt::binary(), Namespace::[binary()], Key::string() | binary()) -> {ok, binary()}

is_dir/3

is_dir(Drv, Pids, Path) -> any()

is_file/3

is_file(Drv, Pids, File) -> any()

join/2

join(Cgroup, Path) -> any()

mounts/1

mounts(Drv) -> any()

mounts/2

mounts(Drv, Pids) -> any()

relpath/1

relpath(Path) -> any()

set/6

set(Drv::alcove_drv:ref(), Pids::[alcove:pid_t()], MntOpt::binary(), Namespace::[binary()], Key::string() | binary(), Value::string() | binary()) -> ok | {error, file:posix()}

supported/2

supported(Drv::alcove_drv:ref(), Pids::[alcove:pid_t()]) -> boolean()


Generated by EDoc