Documentation
¶
Index ¶
- type Manager
- func (manager *Manager) CreateVolume(ctx context.Context, url *url.URL, meta schema.VolumeMeta) (_ *schema.Volume, err error)
- func (manager *Manager) GetMetadata(ctx context.Context, r io.Reader) (_ *schema.ObjectMeta, err error)
- func (manager *Manager) GetObject(ctx context.Context, req schema.ObjectKey) (_ *schema.Object, err error)
- func (manager *Manager) ListObjects(ctx context.Context, req schema.ObjectListRequest) (_ *schema.ObjectList, err error)
- func (manager *Manager) ListVolumes(ctx context.Context, req schema.VolumeListRequest) (_ *schema.VolumeList, err error)
- func (manager *Manager) Run(ctx context.Context, logger *slog.Logger) error
- type Opt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
func (*Manager) CreateVolume ¶ added in v0.2.0
func (*Manager) GetMetadata ¶ added in v0.2.3
func (*Manager) ListObjects ¶
func (manager *Manager) ListObjects(ctx context.Context, req schema.ObjectListRequest) (_ *schema.ObjectList, err error)
func (*Manager) ListVolumes ¶ added in v0.2.0
func (manager *Manager) ListVolumes(ctx context.Context, req schema.VolumeListRequest) (_ *schema.VolumeList, err error)
ListVolumes returns all volumes as a list.
type Opt ¶
type Opt func(*opt) error
Opt is a functional option for filer manager configuration.
func WithIndexer ¶ added in v0.2.0
WithIndexer uses this instance as an indexer of content
func WithTracer ¶
WithTracer sets the tracer used for tracing operations.
Click to show internal directories.
Click to hide internal directories.