docker: github.com/docker/docker/pkg/capabilities Index | Files

package capabilities

import "github.com/docker/docker/pkg/capabilities"

Package capabilities allows to generically handle capabilities.

Index

Package Files

caps.go

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.