package capabilities
import "github.com/docker/docker/pkg/capabilities"
Package capabilities allows to generically handle capabilities.
Index ¶
Types ¶
type Set ¶
type Set map[string]struct{}
Set represents a set of capabilities.
func (Set) Match ¶
Match tries to match set with caps, which is an OR list of AND lists of capabilities. The matched AND list of capabilities is returned; or nil if none are matched.
Source Files ¶
- Version
- v25.0.3+incompatible
- Published
- Feb 6, 2024
- Platform
- js/wasm
- Last checked
- 1 minute ago –
Tools for package owners.