docker: Index | Files

package capabilities

import ""

Package capabilities allows to generically handle capabilities.


Package Files


type Set Uses

type Set map[string]struct{}

Set represents a set of capabilities.

func (Set) Match Uses

func (set Set) Match(caps [][]string) []string

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.

Package capabilities is imported by 1 packages. Updated 2019-05-26. Refresh now. Tools for package owners.