Documentation ¶
Index ¶
- type Firestore
- func (f *Firestore) Delete(req *state.DeleteRequest) error
- func (f *Firestore) Features() []state.Feature
- func (f *Firestore) Get(req *state.GetRequest) (*state.GetResponse, error)
- func (f *Firestore) Init(metadata state.Metadata) error
- func (f *Firestore) Ping() error
- func (f *Firestore) Set(req *state.SetRequest) error
- type StateEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Firestore ¶
type Firestore struct { state.DefaultBulkStore // contains filtered or unexported fields }
Firestore State Store
func NewFirestoreStateStore ¶
func (*Firestore) Delete ¶
func (f *Firestore) Delete(req *state.DeleteRequest) error
Delete performs a delete operation
func (*Firestore) Features ¶ added in v1.1.1
Features returns the features available in this state store
func (*Firestore) Get ¶
func (f *Firestore) Get(req *state.GetRequest) (*state.GetResponse, error)
Get retrieves state from Firestore with a key (Always strong consistency)
type StateEntity ¶
type StateEntity struct {
Value string
}
Click to show internal directories.
Click to hide internal directories.