View Source alcove_cgroup (alcove v0.40.5)

Link to this section Summary

Link to this section Functions

-spec create(alcove_drv:ref(), [alcove:pid_t()]) -> ok.
Link to this function

create(Drv, Pids, Namespaces)

View Source
-spec create(alcove_drv:ref(), [alcove:pid_t()], [file:name_all()]) -> ok.
-spec destroy(alcove_drv:ref(), [alcove:pid_t()]) -> [ok | {error, file:posix()}].
Link to this function

destroy(Drv, Pids, Namespace)

View Source
-spec destroy(alcove_drv:ref(), [alcove:pid_t()], [file:name_all()]) -> [ok | {error, file:posix()}].
Link to this function

fold(Drv, MntOpt, Namespace, Fun, AccIn)

View Source
Link to this function

fold(Drv, Pids, MntOpt, Namespace, Fun, AccIn)

View Source
Link to this function

fold_files(Drv, MntOpt, Namespace, RegExp, Fun, AccIn)

View Source
Link to this function

fold_files(Drv, Pids, MntOpt, Namespace, RegExp, CallerFun, AccIn)

View Source
Link to this function

get(Drv, Pids, MntOpt, Namespace, Key)

View Source
-spec get(alcove_drv:ref(), [alcove:pid_t()], binary(), [binary()], string() | binary()) ->
       {ok, binary()}.
Link to this function

is_file(Drv, Pids, File)

View Source
Link to this function

set(Drv, Pids, MntOpt, Namespace, Key, Value)

View Source
-spec set(alcove_drv:ref(),
    [alcove:pid_t()],
    binary(),
    [binary()],
    string() | binary(),
    string() | binary()) ->
       ok | {error, file:posix()}.
-spec supported(alcove_drv:ref(), [alcove:pid_t()]) -> boolean().