Documentation ¶
Index ¶
- Constants
- type Action
- func (s *Action) BinaryCat(c *cli.Context) error
- func (s *Action) BinaryCopy(c *cli.Context) error
- func (s *Action) BinaryMove(c *cli.Context) error
- func (s *Action) BinarySum(c *cli.Context) error
- func (s *Action) Clone(c *cli.Context) error
- func (s *Action) Complete(*cli.Context)
- func (s *Action) CompletionBash(c *cli.Context) error
- func (s *Action) CompletionZSH(c *cli.Context) error
- func (s *Action) Config(c *cli.Context) error
- func (s *Action) Copy(c *cli.Context) error
- func (s *Action) Delete(c *cli.Context) error
- func (s *Action) Edit(c *cli.Context) error
- func (s *Action) Find(c *cli.Context) error
- func (s *Action) Fsck(c *cli.Context) error
- func (s *Action) Generate(c *cli.Context) error
- func (s *Action) Git(c *cli.Context) error
- func (s *Action) GitInit(c *cli.Context) error
- func (s *Action) Grep(c *cli.Context) error
- func (s *Action) Init(c *cli.Context) error
- func (s *Action) Initialized(*cli.Context) error
- func (s *Action) Insert(c *cli.Context) error
- func (s *Action) List(c *cli.Context) error
- func (s *Action) MountAdd(c *cli.Context) error
- func (s *Action) MountRemove(c *cli.Context) error
- func (s *Action) MountsComplete(*cli.Context)
- func (s *Action) MountsPrint(c *cli.Context) error
- func (s *Action) Move(c *cli.Context) error
- func (s *Action) RecipientsAdd(c *cli.Context) error
- func (s *Action) RecipientsComplete(*cli.Context)
- func (s *Action) RecipientsPrint(c *cli.Context) error
- func (s *Action) RecipientsRemove(c *cli.Context) error
- func (s *Action) Show(c *cli.Context) error
- func (s *Action) String() string
- func (s *Action) TemplateEdit(c *cli.Context) error
- func (s *Action) TemplatePrint(c *cli.Context) error
- func (s *Action) TemplateRemove(c *cli.Context) error
- func (s *Action) TemplatesComplete(*cli.Context)
- func (s *Action) TemplatesPrint(c *cli.Context) error
- func (s *Action) Unclip(c *cli.Context) error
- func (s *Action) Version(c *cli.Context) error
Constants ¶
const (
// BinarySuffix is the suffix that is appended to binaries in the store
BinarySuffix = ".b64"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
Action knows everything to run gopass CLI actions
func (*Action) BinaryCopy ¶ added in v1.2.0
BinaryCopy copies either from the filesystem to the store or from the store to the filesystem
func (*Action) BinaryMove ¶ added in v1.2.0
BinaryMove works like BinaryCopy but will remove (shred/wipe) the source after a successfull copy. Mostly useful for securely moving secrets into the store if they are no longer needed / wanted on disk afterwards
func (*Action) BinarySum ¶ added in v1.2.0
BinarySum decodes binary content and computes the SHA256 checksum
func (*Action) CompletionBash ¶
CompletionBash returns a bash script used for auto completion
func (*Action) CompletionZSH ¶
CompletionZSH returns a script that uses bash's auto completion
func (*Action) Initialized ¶
Initialized returns an error if the store is not properly prepared.
func (*Action) MountRemove ¶
MountRemove removes an existing mount
func (*Action) MountsComplete ¶
MountsComplete will print a list of existings mount points for bash completion
func (*Action) MountsPrint ¶
MountsPrint prints all existing mounts
func (*Action) RecipientsAdd ¶
RecipientsAdd adds new recipients
func (*Action) RecipientsComplete ¶
RecipientsComplete will print a list of recipients for bash completion
func (*Action) RecipientsPrint ¶
RecipientsPrint prints all recipients per store
func (*Action) RecipientsRemove ¶
RecipientsRemove removes recipients
func (*Action) TemplateEdit ¶ added in v1.1.0
TemplateEdit will load and existing or new template into an editor
func (*Action) TemplatePrint ¶ added in v1.1.0
TemplatePrint will lookup and print a single template
func (*Action) TemplateRemove ¶ added in v1.1.0
TemplateRemove will remove a single template
func (*Action) TemplatesComplete ¶ added in v1.1.0
TemplatesComplete prints a list of all templates for bash completion
func (*Action) TemplatesPrint ¶ added in v1.1.0
TemplatesPrint will pretty-print a tree of templates