Documentation ¶
Index ¶
- type MockStore
- func (m *MockStore) AddRecipient(context.Context, string) error
- func (m *MockStore) Alias() string
- func (m *MockStore) Copy(ctx context.Context, from string, to string) error
- func (m *MockStore) Crypto() backend.Crypto
- func (m *MockStore) Delete(ctx context.Context, name string) error
- func (m *MockStore) Equals(other *MockStore) bool
- func (m *MockStore) Exists(ctx context.Context, name string) bool
- func (m *MockStore) ExportMissingPublicKeys(context.Context, []string) (bool, error)
- func (m *MockStore) Fsck(context.Context, string) error
- func (m *MockStore) Get(ctx context.Context, name string) (gopass.Secret, error)
- func (m *MockStore) GetRecipients(context.Context, string) ([]string, error)
- func (m *MockStore) GetRevision(context.Context, string, string) (gopass.Secret, error)
- func (m *MockStore) GetTemplate(context.Context, string) ([]byte, error)
- func (m *MockStore) GitInit(context.Context, string, string) error
- func (m *MockStore) HasTemplate(context.Context, string) bool
- func (m *MockStore) ImportMissingPublicKeys(context.Context) error
- func (m *MockStore) Init(context.Context, string, ...string) error
- func (m *MockStore) Initialized(context.Context) bool
- func (m *MockStore) IsDir(ctx context.Context, name string) bool
- func (m *MockStore) Link(context.Context, string, string) error
- func (m *MockStore) List(ctx context.Context, name string) ([]string, error)
- func (m *MockStore) ListRevisions(context.Context, string) ([]backend.Revision, error)
- func (m *MockStore) ListTemplates(context.Context, string) []string
- func (m *MockStore) LookupTemplate(context.Context, string) ([]byte, bool)
- func (m *MockStore) MountPoints() []string
- func (m *MockStore) Move(ctx context.Context, from string, to string) error
- func (m *MockStore) Path() string
- func (m *MockStore) Prune(context.Context, string) error
- func (m *MockStore) Recipients(context.Context) []string
- func (m *MockStore) RemoveRecipient(context.Context, string) error
- func (m *MockStore) RemoveTemplate(context.Context, string) error
- func (m *MockStore) SaveRecipients(context.Context) error
- func (m *MockStore) Set(ctx context.Context, name string, sec gopass.Byter) error
- func (m *MockStore) SetTemplate(context.Context, string, []byte) error
- func (m *MockStore) Storage() backend.Storage
- func (m *MockStore) String() string
- func (m *MockStore) TemplateTree(context.Context) (*tree.Root, error)
- func (m *MockStore) URL() string
- func (m *MockStore) Valid() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is an mocked store.
func (*MockStore) AddRecipient ¶
AddRecipient does nothing.
func (*MockStore) ExportMissingPublicKeys ¶
ExportMissingPublicKeys does nothing.
func (*MockStore) GetRecipients ¶
GetRecipients does nothing.
func (*MockStore) GetRevision ¶
GetRevision does nothing.
func (*MockStore) GetTemplate ¶
GetTemplate returns nothing.
func (*MockStore) HasTemplate ¶
HasTemplate returns false.
func (*MockStore) ImportMissingPublicKeys ¶
ImportMissingPublicKeys does nothing.
func (*MockStore) Initialized ¶
Initialized does nothing.
func (*MockStore) ListRevisions ¶
ListRevisions does nothing.
func (*MockStore) ListTemplates ¶
ListTemplates returns nothing.
func (*MockStore) LookupTemplate ¶
LookupTemplate returns nothing.
func (*MockStore) MountPoints ¶
MountPoints does nothing.
func (*MockStore) Recipients ¶
Recipients does nothing.
func (*MockStore) RemoveRecipient ¶
RemoveRecipient does nothing.
func (*MockStore) RemoveTemplate ¶
RemoveTemplate does nothing.
func (*MockStore) SaveRecipients ¶
SaveRecipients does nothing.
func (*MockStore) SetTemplate ¶
SetTemplate does nothing.
func (*MockStore) TemplateTree ¶
TemplateTree does nothing.
Click to show internal directories.
Click to hide internal directories.