Documentation ¶
Overview ¶
Package fs implement a password-store compatible on disk storage layout with unencrypted paths. TODO(2.x) DEPRECATED and slated for removal in the 2.0.0 release.
Index ¶
- type Store
- func (s *Store) Delete(ctx context.Context, name string) error
- func (s *Store) Exists(ctx context.Context, name string) bool
- func (s *Store) Fsck(ctx context.Context) error
- func (s *Store) Get(ctx context.Context, name string) ([]byte, error)
- func (s *Store) IsDir(ctx context.Context, name string) bool
- func (s *Store) List(ctx context.Context, prefix string) ([]string, error)
- func (s *Store) Name() string
- func (s *Store) Path() string
- func (s *Store) Prune(ctx context.Context, prefix string) error
- func (s *Store) Set(ctx context.Context, name string, value []byte) error
- func (s *Store) String() string
- func (s *Store) Version(context.Context) semver.Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a fs based store
func (*Store) List ¶
List returns a list of all entities e.g. foo, far/bar baz/.bang directory separator are normalized using `/`
Click to show internal directories.
Click to hide internal directories.