inmemory

package
v1.17.3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: Apache-2.0 Imports: 18 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInMemoryStateStore

func NewInMemoryStateStore(log logger.Logger) state.Store

Types

type InMemoryStore added in v1.17.0

type InMemoryStore struct {
	state.BulkStore
	// contains filtered or unexported fields
}

func (*InMemoryStore) BulkGet added in v1.17.0

func (*InMemoryStore) Close added in v1.17.0

func (store *InMemoryStore) Close() error

func (*InMemoryStore) Delete added in v1.17.0

func (store *InMemoryStore) Delete(ctx context.Context, req *state.DeleteRequest) error

func (*InMemoryStore) DeleteWithPrefix added in v1.17.0

func (*InMemoryStore) Features added in v1.17.0

func (store *InMemoryStore) Features() []state.Feature

func (*InMemoryStore) Get added in v1.17.0

func (store *InMemoryStore) Get(ctx context.Context, req *state.GetRequest) (*state.GetResponse, error)

func (*InMemoryStore) GetComponentMetadata added in v1.17.0

func (store *InMemoryStore) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

func (*InMemoryStore) Init added in v1.17.0

func (store *InMemoryStore) Init(ctx context.Context, metadata state.Metadata) error

func (*InMemoryStore) KeysLike added in v1.17.0

func (*InMemoryStore) Multi added in v1.17.0

func (store *InMemoryStore) Multi(ctx context.Context, request *state.TransactionalStateRequest) error

func (*InMemoryStore) Set added in v1.17.0

func (store *InMemoryStore) Set(ctx context.Context, req *state.SetRequest) error

Jump to

Keyboard shortcuts

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