Documentation ¶
Index ¶
- func MakeCell(spec CellSpec) (cells.Cell, error)
- func MakeStore(spec StoreSpec) (cadata.Store, error)
- type CellSpec
- type Expr
- type HTTPCellSpec
- type Hoard
- func (h *Hoard) Add(ctx context.Context, r io.Reader) (*ID, error)
- func (h *Hoard) ForEachExpr(ctx context.Context, span state.Span[cadata.ID], ...) error
- func (h *Hoard) ForEachKey(ctx context.Context, index string, fn func(string) error) error
- func (h *Hoard) ForEachValue(ctx context.Context, index, tagKey string, fn func([]byte) error) error
- func (h *Hoard) GetLabels(ctx context.Context, id ID, indexName string) ([]labels.Pair, error)
- func (h *Hoard) ListIDs(ctx context.Context, span state.Span[cadata.ID]) (ret []ID, _ error)
- func (h *Hoard) ListIndexes(ctx context.Context) ([]string, error)
- func (h *Hoard) NewReader(ctx context.Context, id ID) (io.ReadSeeker, error)
- func (h *Hoard) NewReaderAt(ctx context.Context, id ID) (io.ReaderAt, error)
- func (h *Hoard) Search(ctx context.Context, query labels.Query) (ret []ID, _ error)
- type ID
- type IDSpan
- type Indexer
- type Params
- type State
- type StoreSpec
- type Volume
- type VolumeSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CellSpec ¶
type CellSpec struct { File *string `json:"file,omitempty"` HTTP *HTTPCellSpec `json:"http,omitempty"` }
type HTTPCellSpec ¶
type Hoard ¶
type Hoard struct {
// contains filtered or unexported fields
}
func (*Hoard) ForEachExpr ¶
func (*Hoard) ForEachKey ¶
func (*Hoard) ForEachValue ¶
func (*Hoard) NewReaderAt ¶
type Volume ¶
func MakeVolume ¶
func MakeVolume(spec VolumeSpec) (*Volume, error)
type VolumeSpec ¶
Click to show internal directories.
Click to hide internal directories.