mirror of
https://github.com/containers/podman.git
synced 2025-11-02 14:55:28 +08:00
Update vendor of buildah and containers/common
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
5
vendor/github.com/containers/common/pkg/capabilities/capabilities.go
generated
vendored
5
vendor/github.com/containers/common/pkg/capabilities/capabilities.go
generated
vendored
@ -18,6 +18,10 @@ var (
|
||||
|
||||
// ErrUnknownCapability is thrown when an unknown capability is processed.
|
||||
ErrUnknownCapability = errors.New("unknown capability")
|
||||
|
||||
// ContainerImageLabels - label can indicate the required
|
||||
// capabilities required by containers to run the container image.
|
||||
ContainerImageLabels = []string{"io.containers.capabilities"}
|
||||
)
|
||||
|
||||
// All is a special value used to add/drop all known capababilities.
|
||||
@ -47,6 +51,7 @@ func stringInSlice(s string, sl []string) bool {
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// AllCapabilities returns all known capabilities.
|
||||
func AllCapabilities() []string {
|
||||
return capabilityList
|
||||
|
||||
Reference in New Issue
Block a user