Documentation ¶
Index ¶
- func NewDynamoDBStateStore() state.Store
- type StateStore
- func (d *StateStore) BulkDelete(req []state.DeleteRequest) error
- func (d *StateStore) BulkGet(req []state.GetRequest) (bool, []state.BulkGetResponse, error)
- func (d *StateStore) BulkSet(req []state.SetRequest) error
- func (d *StateStore) Delete(req *state.DeleteRequest) error
- func (d *StateStore) Features() []state.Feature
- func (d *StateStore) Get(req *state.GetRequest) (*state.GetResponse, error)
- func (d *StateStore) Init(metadata state.Metadata) error
- func (d *StateStore) Ping() error
- func (d *StateStore) Set(req *state.SetRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDynamoDBStateStore ¶
NewDynamoDBStateStore returns a new dynamoDB state store
Types ¶
type StateStore ¶
type StateStore struct {
// contains filtered or unexported fields
}
StateStore is a DynamoDB state store
func (*StateStore) BulkDelete ¶
func (d *StateStore) BulkDelete(req []state.DeleteRequest) error
BulkDelete performs a bulk delete operation
func (*StateStore) BulkGet ¶ added in v1.0.0
func (d *StateStore) BulkGet(req []state.GetRequest) (bool, []state.BulkGetResponse, error)
BulkGet performs a bulk get operations
func (*StateStore) BulkSet ¶
func (d *StateStore) BulkSet(req []state.SetRequest) error
BulkSet performs a bulk set operation
func (*StateStore) Delete ¶
func (d *StateStore) Delete(req *state.DeleteRequest) error
Delete performs a delete operation
func (*StateStore) Features ¶ added in v1.1.1
func (d *StateStore) Features() []state.Feature
Features returns the features available in this state store
func (*StateStore) Get ¶
func (d *StateStore) Get(req *state.GetRequest) (*state.GetResponse, error)
Get retrieves a dynamoDB item
func (*StateStore) Init ¶
func (d *StateStore) Init(metadata state.Metadata) error
Init does metadata and connection parsing
func (*StateStore) Ping ¶ added in v1.4.4
func (d *StateStore) Ping() error
func (*StateStore) Set ¶
func (d *StateStore) Set(req *state.SetRequest) error
Set saves a dynamoDB item
Click to show internal directories.
Click to hide internal directories.