mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-15 03:57:55 +00:00
Generate a signature claim for an image using user keyring (--sign-by). The signature file will be stored in simple json format under the default or the given directory (--directory or yaml file in /etc/containers/registries.d/). Signed-off-by: Qi Wang <qiwan@redhat.com>
36 lines
698 B
Go
36 lines
698 B
Go
package main
|
|
|
|
import (
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
var (
|
|
imageSubCommands = []cli.Command{
|
|
buildCommand,
|
|
historyCommand,
|
|
importCommand,
|
|
imageExistsCommand,
|
|
inspectCommand,
|
|
loadCommand,
|
|
lsImagesCommand,
|
|
pruneImagesCommand,
|
|
pullCommand,
|
|
pushCommand,
|
|
rmImageCommand,
|
|
saveCommand,
|
|
tagCommand,
|
|
trustCommand,
|
|
signCommand,
|
|
}
|
|
|
|
imageDescription = "Manage images"
|
|
imageCommand = cli.Command{
|
|
Name: "image",
|
|
Usage: "Manage images",
|
|
Description: imageDescription,
|
|
ArgsUsage: "",
|
|
Subcommands: imageSubCommands,
|
|
UseShortOptionHandling: true,
|
|
OnUsageError: usageErrorHandler,
|
|
}
|
|
)
|