Documentation
¶
Index ¶
- func NewInMemoryStateStore(log logger.Logger) state.Store
- type InMemoryStore
- func (store *InMemoryStore) BulkGet(ctx context.Context, req []state.GetRequest, _ state.BulkGetOpts) ([]state.BulkGetResponse, error)
- func (store *InMemoryStore) Close() error
- func (store *InMemoryStore) Delete(ctx context.Context, req *state.DeleteRequest) error
- func (store *InMemoryStore) DeleteWithPrefix(ctx context.Context, req state.DeleteWithPrefixRequest) (state.DeleteWithPrefixResponse, error)
- func (store *InMemoryStore) Features() []state.Feature
- func (store *InMemoryStore) Get(ctx context.Context, req *state.GetRequest) (*state.GetResponse, error)
- func (store *InMemoryStore) GetComponentMetadata() (metadataInfo metadata.MetadataMap)
- func (store *InMemoryStore) Init(ctx context.Context, metadata state.Metadata) error
- func (store *InMemoryStore) KeysLike(ctx context.Context, req *state.KeysLikeRequest) (*state.KeysLikeResponse, error)
- func (store *InMemoryStore) Multi(ctx context.Context, request *state.TransactionalStateRequest) error
- func (store *InMemoryStore) Set(ctx context.Context, req *state.SetRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InMemoryStore ¶ added in v1.17.0
func (*InMemoryStore) BulkGet ¶ added in v1.17.0
func (store *InMemoryStore) BulkGet(ctx context.Context, req []state.GetRequest, _ state.BulkGetOpts) ([]state.BulkGetResponse, error)
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 (store *InMemoryStore) DeleteWithPrefix(ctx context.Context, req state.DeleteWithPrefixRequest) (state.DeleteWithPrefixResponse, error)
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) KeysLike ¶ added in v1.17.0
func (store *InMemoryStore) KeysLike(ctx context.Context, req *state.KeysLikeRequest) (*state.KeysLikeResponse, error)
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
Click to show internal directories.
Click to hide internal directories.