Documentation ¶
Index ¶
- func NewCFWorkersKV(logger logger.Logger) state.Store
- type CFWorkersKV
- func (q *CFWorkersKV) Close() error
- func (q *CFWorkersKV) Delete(parentCtx context.Context, stateReq *state.DeleteRequest) error
- func (q CFWorkersKV) Features() []state.Feature
- func (q *CFWorkersKV) Get(parentCtx context.Context, stateReq *state.GetRequest) (*state.GetResponse, error)
- func (q *CFWorkersKV) GetComponentMetadata() (metadataInfo metadata.MetadataMap)
- func (q *CFWorkersKV) Init(_ context.Context, metadata state.Metadata) error
- func (q *CFWorkersKV) Set(parentCtx context.Context, stateReq *state.SetRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CFWorkersKV ¶
CFWorkersKV is a state store backed by Cloudflare Workers KV.
func (*CFWorkersKV) Delete ¶
func (q *CFWorkersKV) Delete(parentCtx context.Context, stateReq *state.DeleteRequest) error
func (CFWorkersKV) Features ¶
func (q CFWorkersKV) Features() []state.Feature
Features returns the features supported by this state store.
func (*CFWorkersKV) Get ¶
func (q *CFWorkersKV) Get(parentCtx context.Context, stateReq *state.GetRequest) (*state.GetResponse, error)
func (*CFWorkersKV) GetComponentMetadata ¶
func (q *CFWorkersKV) GetComponentMetadata() (metadataInfo metadata.MetadataMap)
func (*CFWorkersKV) Set ¶
func (q *CFWorkersKV) Set(parentCtx context.Context, stateReq *state.SetRequest) error
Click to show internal directories.
Click to hide internal directories.