mirror of
https://github.com/containers/podman.git
synced 2025-12-02 19:28:58 +08:00
fix(deps): update module github.com/crc-org/vfkit to v0.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
23
vendor/github.com/tklauser/numcpus/numcpus.go
generated
vendored
23
vendor/github.com/tklauser/numcpus/numcpus.go
generated
vendored
@@ -73,3 +73,26 @@ func GetPossible() (int, error) {
|
||||
func GetPresent() (int, error) {
|
||||
return getPresent()
|
||||
}
|
||||
|
||||
// ListOffline returns the list of offline CPUs. See [GetOffline] for details on
|
||||
// when a CPU is considered offline.
|
||||
func ListOffline() ([]int, error) {
|
||||
return listOffline()
|
||||
}
|
||||
|
||||
// ListOnline returns the list of CPUs that are online and being scheduled.
|
||||
func ListOnline() ([]int, error) {
|
||||
return listOnline()
|
||||
}
|
||||
|
||||
// ListPossible returns the list of possible CPUs. See [GetPossible] for
|
||||
// details on when a CPU is considered possible.
|
||||
func ListPossible() ([]int, error) {
|
||||
return listPossible()
|
||||
}
|
||||
|
||||
// ListPresent returns the list of present CPUs. See [GetPresent] for
|
||||
// details on when a CPU is considered present.
|
||||
func ListPresent() ([]int, error) {
|
||||
return listPresent()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user