localstorage

package
v1.19.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalStorage

func NewLocalStorage(logger logger.Logger) bindings.OutputBinding

NewLocalStorage returns a new LocalStorage instance.

Types

type LocalStorage

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

LocalStorage allows saving files to disk.

func (*LocalStorage) Close added in v1.15.0

func (ls *LocalStorage) Close() error

func (*LocalStorage) GetComponentMetadata added in v1.11.0

func (ls *LocalStorage) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

GetComponentMetadata returns the metadata of the component.

func (*LocalStorage) Init

func (ls *LocalStorage) Init(_ context.Context, metadata bindings.Metadata) error

Init performs metadata parsing.

func (*LocalStorage) Invoke

Invoke is called for output bindings.

func (*LocalStorage) Operations

func (ls *LocalStorage) Operations() []bindings.OperationKind

Operations enumerates supported binding operations.

type Metadata

type Metadata struct {
	RootPath string `json:"rootPath"`
}

Metadata defines the metadata.

Jump to

Keyboard shortcuts

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