forked from kata-containers/kata-containers
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libs/sys-util: add kata-sys-util crate under src/libs
The kata-sys-util crate is a collection of modules that provides helpers and utilities used by multiple Kata Containers components. Fixes: kata-containers#3305 Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
- Loading branch information
Showing
6 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,6 @@ | |
members = [ | ||
"logging", | ||
"kata-types", | ||
"kata-sys-util", | ||
] | ||
resolver = "2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[package] | ||
name = "kata-sys-util" | ||
version = "0.1.0" | ||
description = "System Utilities for Kata Containers" | ||
keywords = ["kata", "container", "runtime"] | ||
authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"] | ||
repository = "https://github.com/kata-containers/kata-containers.git" | ||
homepage = "https://katacontainers.io/" | ||
readme = "README.md" | ||
license = "Apache-2.0" | ||
edition = "2018" | ||
|
||
[dependencies] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# kata-sys-util | ||
|
||
This crate is a collection of utilities and helpers for | ||
[Kata Containers](https://github.com/kata-containers/kata-containers/) components to access system services. | ||
|
||
It provides safe wrappers over system services, such as: | ||
- cgroups | ||
- file systems | ||
- mount | ||
- NUMA | ||
|
||
## Support | ||
|
||
**Operating Systems**: | ||
- Linux | ||
|
||
## License | ||
|
||
This code is licensed under [Apache-2.0](../../../LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Copyright (c) 2021 Alibaba Cloud | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// |