telemetry

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(storage model.Storage, tracer trace.Tracer) model.Storage

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func (App) ConvertError added in v0.3.4

func (a App) ConvertError(err error) error

func (App) CreateDir

func (a App) CreateDir(ctx context.Context, pathname string) error

func (App) Enabled

func (a App) Enabled() bool

func (App) Info

func (a App) Info(ctx context.Context, pathname string) (model.Item, error)

func (App) List

func (a App) List(ctx context.Context, pathname string) ([]model.Item, error)

func (App) Name

func (a App) Name() string

func (App) Path

func (a App) Path(pathname string) string

func (App) ReadFrom

func (a App) ReadFrom(ctx context.Context, pathname string) (io.ReadSeekCloser, error)

func (App) Remove

func (a App) Remove(ctx context.Context, pathname string) error

func (App) Rename

func (a App) Rename(ctx context.Context, oldName, newName string) error

func (App) UpdateDate

func (a App) UpdateDate(ctx context.Context, pathname string, date time.Time) error

func (App) Walk

func (a App) Walk(ctx context.Context, pathname string, walkFn func(model.Item) error) error

func (App) WithIgnoreFn

func (a App) WithIgnoreFn(ignoreFn func(model.Item) bool) model.Storage

func (App) WriteTo

func (a App) WriteTo(ctx context.Context, pathname string, reader io.Reader, opts model.WriteOpts) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL