github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/cmd/podman/trust.go (about) 1 package main 2 3 import ( 4 "github.com/containers/libpod/cmd/podman/cliconfig" 5 "github.com/spf13/cobra" 6 ) 7 8 var ( 9 trustCommand cliconfig.TrustValues 10 trustDescription = `Manages which registries you trust as a source of container images based on its location. 11 The location is determined by the transport and the registry host of the image. Using this container image docker://docker.io/library/busybox as an example, docker is the transport and docker.io is the registry host.` 12 _trustCommand = &cobra.Command{ 13 Use: "trust", 14 Short: "Manage container image trust policy", 15 Long: trustDescription, 16 RunE: commandRunE(), 17 } 18 ) 19 20 func init() { 21 trustCommand.Command = _trustCommand 22 trustCommand.SetHelpTemplate(HelpTemplate()) 23 trustCommand.SetUsageTemplate(UsageTemplate()) 24 trustCommand.AddCommand(getTrustSubCommands()...) 25 }