Documentation ¶
Index ¶
- func NewDynamoDBStateStore(_ logger.Logger) state.Store
- type StateStore
- func (d *StateStore) BulkDelete(ctx context.Context, req []state.DeleteRequest) error
- func (d *StateStore) BulkSet(ctx context.Context, req []state.SetRequest) error
- func (d *StateStore) Delete(ctx context.Context, req *state.DeleteRequest) error
- func (d *StateStore) Features() []state.Feature
- func (d *StateStore) Get(ctx context.Context, req *state.GetRequest) (*state.GetResponse, error)
- func (d *StateStore) GetComponentMetadata() map[string]string
- func (d *StateStore) Init(_ context.Context, metadata state.Metadata) error
- func (d *StateStore) Set(ctx context.Context, req *state.SetRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StateStore ¶
StateStore is a DynamoDB state store.
func (*StateStore) BulkDelete ¶
func (d *StateStore) BulkDelete(ctx context.Context, req []state.DeleteRequest) error
BulkDelete performs a bulk delete operation.
func (*StateStore) BulkSet ¶
func (d *StateStore) BulkSet(ctx context.Context, req []state.SetRequest) error
BulkSet performs a bulk set operation.
func (*StateStore) Delete ¶
func (d *StateStore) Delete(ctx context.Context, req *state.DeleteRequest) error
Delete performs a delete operation.
func (*StateStore) Features ¶
func (d *StateStore) Features() []state.Feature
Features returns the features available in this state store.
func (*StateStore) Get ¶
func (d *StateStore) Get(ctx context.Context, req *state.GetRequest) (*state.GetResponse, error)
Get retrieves a dynamoDB item.
func (*StateStore) GetComponentMetadata ¶
func (d *StateStore) GetComponentMetadata() map[string]string
func (*StateStore) Set ¶
func (d *StateStore) Set(ctx context.Context, req *state.SetRequest) error
Set saves a dynamoDB item.
Click to show internal directories.
Click to hide internal directories.