Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cobra.Command{ Use: "gpg-key", Aliases: []string{"key"}, Short: "Manage GPG keys", Run: func(cmd *cobra.Command, args []string) { fmt.Println("Key requires a subcommand:") for _, command := range cmd.Commands() { fmt.Println(command.Name()) } }, }
Command represents this folder's command
Functions ¶
Types ¶
type GPGKey ¶
type GPGKey struct {
Type string `json:"type" mapstructure:"type"`
Parent string `json:"parent_fingerprint" mapstructure:"parent_fingerprint"`
Fingerprint string `json:"fingerprint" mapstructure:"fingerprint"`
KeyID string `json:"key_id" mapstructure:"key_id"`
Name string `json:"name" mapstructure:"name"`
AddedOn time.Time `json:"added_on" mapstructure:"added_on"`
CreatedOn time.Time `json:"created_on" mapstructure:"created_on"`
Links common.Links `json:"links" mapstructure:"links"`
Owner user.User `json:"owner" mapstructure:"owner"`
}
func GetGPGKeys ¶
GetGPGKeys gets the GPGKeys
Click to show internal directories.
Click to hide internal directories.