package capabilities
import "github.com/dotcloud/docker/daemon/internal/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
- v28.1.1+incompatible (latest)
- Published
- Apr 18, 2025
- Platform
- linux/amd64
- Last checked
- 5 hours ago –
Tools for package owners.