Documentation
¶
Overview ¶
Package objectstore provides the local content-addressed artifact store.
Index ¶
- type Store
- func (s *Store) Path(key string) (string, error)
- func (s *Store) Put(ctx context.Context, content []byte) (string, error)
- func (s *Store) Read(ctx context.Context, key string) ([]byte, error)
- func (s *Store) Readable(ctx context.Context) error
- func (s *Store) Ready(ctx context.Context) error
- func (s *Store) Remove(ctx context.Context, key string) error
- func (s *Store) Verify(ctx context.Context, key, expectedSHA256 string) error
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 path-confined, content-addressed local artifact store.
func (*Store) Readable ¶
Readable verifies that the root directory can be inspected without mutating it.
Click to show internal directories.
Click to hide internal directories.