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