telemetry

package
v1.7.9 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(storage model.Storage, tracerProvider trace.TracerProvider) model.Storage

Types

type Service added in v1.7.1

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

func (Service) ConvertError added in v1.7.1

func (a Service) ConvertError(err error) error

func (Service) Enabled added in v1.7.1

func (a Service) Enabled() bool

func (Service) List added in v1.7.1

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

func (Service) Mkdir added in v1.7.1

func (a Service) Mkdir(ctx context.Context, name string, perm os.FileMode) error

func (Service) Name added in v1.7.1

func (a Service) Name() string

func (Service) Path added in v1.7.1

func (a Service) Path(name string) string

func (Service) ReadFrom added in v1.7.1

func (a Service) ReadFrom(ctx context.Context, name string) (model.ReadAtSeekCloser, error)

func (Service) RemoveAll added in v1.7.1

func (a Service) RemoveAll(ctx context.Context, name string) error

func (Service) Rename added in v1.7.1

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

func (Service) Stat added in v1.7.1

func (a Service) Stat(ctx context.Context, name string) (model.Item, error)

func (Service) UpdateDate added in v1.7.1

func (a Service) UpdateDate(ctx context.Context, name string, date time.Time) error

func (Service) Walk added in v1.7.1

func (a Service) Walk(ctx context.Context, name string, walkFn func(model.Item) error) error

func (Service) WithIgnoreFn added in v1.7.1

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

func (Service) WriteTo added in v1.7.1

func (a Service) WriteTo(ctx context.Context, name 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