Documentation
¶
Index ¶
- type Mocker
- func (m *Mocker) Decrypt(path string) ([]byte, error)
- func (m *Mocker) Encrypt(path string, content []byte, recipients []string) error
- func (m *Mocker) ExportPublicKey(string, string) error
- func (m *Mocker) FindPrivateKeys(...string) (gpg.KeyList, error)
- func (m *Mocker) FindPublicKeys(...string) (gpg.KeyList, error)
- func (m *Mocker) GetRecipients(string) ([]string, error)
- func (m *Mocker) ImportPublicKey(string) error
- func (m *Mocker) ListPrivateKeys() (gpg.KeyList, error)
- func (m *Mocker) ListPublicKeys() (gpg.KeyList, error)
- func (m *Mocker) Version() semver.Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mocker ¶
type Mocker struct{}
Mocker is a no-op GPG mock
func (*Mocker) ExportPublicKey ¶
ExportPublicKey does nothing
func (*Mocker) FindPrivateKeys ¶
FindPrivateKeys does nothing
func (*Mocker) FindPublicKeys ¶
FindPublicKeys does nothing
func (*Mocker) GetRecipients ¶
GetRecipients does nothing
func (*Mocker) ImportPublicKey ¶
ImportPublicKey does nothing
func (*Mocker) ListPrivateKeys ¶
ListPrivateKeys does nothing
func (*Mocker) ListPublicKeys ¶
ListPublicKeys does nothing
Click to show internal directories.
Click to hide internal directories.