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