mirror of
https://github.com/containers/podman.git
synced 2026-07-29 08:26:45 -04:00
add endpoints for create, add, remove, inspect, and push. this allows manifests to be managed through the restful interfaces. also added go-bindings and tests Signed-off-by: Brent Baude <bbaude@redhat.com>
16 lines
352 B
Go
16 lines
352 B
Go
package manifests
|
|
|
|
import (
|
|
"github.com/containers/image/v5/signature"
|
|
)
|
|
|
|
var (
|
|
// storageAllowedPolicyScopes overrides the policy for local storage
|
|
// to ensure that we can read images from it.
|
|
storageAllowedPolicyScopes = signature.PolicyTransportScopes{
|
|
"": []signature.PolicyRequirement{
|
|
signature.NewPRInsecureAcceptAnything(),
|
|
},
|
|
}
|
|
)
|