Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KnownCapabilities ¶ added in v1.1.0
func KnownCapabilities() []string
KnownCapabilities returns the list of the known capabilities. Used by `runc features`.
Types ¶
type Caps ¶
type Caps struct {
// contains filtered or unexported fields
}
Caps holds the capabilities for a container.
func New ¶
func New(capConfig *configs.Capabilities) (*Caps, error)
New creates a new Caps from the given Capabilities config. Unknown Capabilities or Capabilities that are unavailable in the current environment are ignored, printing a warning instead.
func (*Caps) ApplyBoundingSet ¶
ApplyBoundingSet sets the capability bounding set to those specified in the whitelist.
Click to show internal directories.
Click to hide internal directories.