func flImport(fl *flag.FlagSet) { fetch.AllowHTTPFlag(fl) SaveIDFlag(fl) fl.Var(&flImportName, "name", "Name of imported image (for signature check)") fl.StringVar(&flImportSignature, "sig", "", "Location of signature") }
func flTrust(fl *flag.FlagSet) { fl.Var(&trustPrefix, "prefix", "Force image name prefix") fl.BoolVar(&trustRoot, "root", false, "Root key (matches all images)") fl.StringVar(&trustFingerprint, "fingerprint", "", "Specify key fingerprint to accept") fetch.AllowHTTPFlag(fl) }
func flFetch(fl *flag.FlagSet) { fetch.AllowHTTPFlag(fl) SaveIDFlag(fl) }