Documentation ¶
Index ¶
- Variables
- type MockAPI
- func (a *MockAPI) Close(ctx context.Context) error
- func (a *MockAPI) Get(ctx context.Context, name, _ string) (gopass.Secret, error)
- func (a *MockAPI) List(ctx context.Context) ([]string, error)
- func (a *MockAPI) Remove(ctx context.Context, name string) error
- func (a *MockAPI) RemoveAll(ctx context.Context, prefix string) error
- func (a *MockAPI) Rename(ctx context.Context, src, dest string) error
- func (a *MockAPI) Revisions(ctx context.Context, name string) ([]string, error)
- func (a *MockAPI) Set(ctx context.Context, name string, sec gopass.Byter) error
- func (a *MockAPI) String() string
- func (a *MockAPI) Sync(ctx context.Context) error
- type Secret
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImplemented = fmt.Errorf("not yet implemented")
ErrNotImplemented is returned when a method is not implemented.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a gopass API mock.
Click to show internal directories.
Click to hide internal directories.