- 17 Sep, 2018 10 commits
-
-
Alexis Janon authored
-
Alexis Janon authored
Useful for the GetValue command as it returns its key with the read value.
-
Alexis Janon authored
Changed From::from to CommandResult::from as it seems clearer what type we are casting to.
-
Alexis Janon authored
-
Alexis Janon authored
Will now use GetSetValue and FindGetSetValue.
-
Alexis Janon authored
To be used with ModifyContainer command. The path is not known during the instantiation, so it will be determined dynamically first. If found, the contents of the file will be stored for the rollback before writing the new requested value.
-
Alexis Janon authored
-
Alexis Janon authored
To be used with the Exec command. Reads and stores the contents of the file before writing to it. Needs to know the path beforehand, as is the case with the Exec command: the `tasks` or `cgroup.procs` file in the container folders.
-
Alexis Janon authored
-
Alexis Janon authored
-
- 07 Sep, 2018 10 commits
-
-
Alexis Janon authored
Now use PathBuf::join instead of push to a mutable value
-
Alexis Janon authored
-
Alexis Janon authored
-
Alexis Janon authored
Seems clearer to me
-
Alexis Janon authored
-
Alexis Janon authored
-
Alexis Janon authored
-
Alexis Janon authored
Takes `name` as an owned string and stores it in the struct for easier error reporting.
-
Alexis Janon authored
Now uses proper iterators for the rollback in a nicer and simpler way.
-
Alexis Janon authored
-
- 05 Sep, 2018 11 commits
-
-
Alexis Janon authored
-
Alexis Janon authored
-
Alexis Janon authored
-
Alexis Janon authored
"remove" and "exec" should only be executed as the last command.
-
Alexis Janon authored
For now, the types are cgroup, cgroup2, and resctrl.
-
Alexis Janon authored
Will be considered as the "default" behavior, but it will be toggeable in the future.
-
Alexis Janon authored
-
Alexis Janon authored
Corresponds to the expected json format with additional properties for the exec command.
-
Alexis Janon authored
-
Alexis Janon authored
Can now pass a simple string as an error type for quick troubleshooting.
-
Alexis Janon authored
-
- 04 Sep, 2018 9 commits
-
-
Alexis Janon authored
-
Alexis Janon authored
-
Alexis Janon authored
-
Alexis Janon authored
First, the arguments are parsed depending on their type (e.g. json). The instantiated InCommands can then be converted to our own Command format. This could be reworked so that it could be converted directly by the deserializer to the correct commands.
-
Alexis Janon authored
-
Alexis Janon authored
-
Alexis Janon authored
-
Alexis Janon authored
They now have their own "highlevel" (hl) module for user-facing commands.
-
Alexis Janon authored
-