Discover Packages
github.com/opensvc/om3/v3
util
capabilities
package
Version:
v3.0.0-beta11
Opens a new window with list of versions in this module.
Published: Dec 12, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package capabilities maintain global capabilities
Scan() use registered scanners functions to update capabilities list, then
store this capabilities list on filesystem.
Has(cap) use capabilities file to verify if cap exists ¶ A global list of registered scanner functions may be Registered to scanner
list.
Registered scanners are called to refresh capabilities during Scan()
Has return true if capability cap exists
Register add new s scanner function to scanners list
Scan refresh capabilities from the scanners function calls, then
it update capabilities list stored on file system
L is a list of capabilities expressed as strings
Data return copy of capabilities
func Load() (loadedCaps L , err error )
Load fetch existing capabilities from its backend file
Render is a human rendered for node capabilities
Source Files
¶
Click to show internal directories.
Click to hide internal directories.