aerospike

package
v1.8.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAerospikeStateStore

func NewAerospikeStateStore(logger logger.Logger) state.Store

NewAerospikeStateStore returns a new Aerospike state store.

Types

type Aerospike

type Aerospike struct {
	state.DefaultBulkStore
	// contains filtered or unexported fields
}

Aerospike is a state store.

func (*Aerospike) Delete

func (aspike *Aerospike) Delete(req *state.DeleteRequest) error

Delete performs a delete operation.

func (*Aerospike) Features added in v1.1.1

func (aspike *Aerospike) Features() []state.Feature

Features returns the features available in this state store.

func (*Aerospike) Get

func (aspike *Aerospike) Get(req *state.GetRequest) (*state.GetResponse, error)

Get retrieves state from Aerospike with a key.

func (*Aerospike) Init

func (aspike *Aerospike) Init(metadata state.Metadata) error

Init does metadata and connection parsing.

func (*Aerospike) Set

func (aspike *Aerospike) Set(req *state.SetRequest) error

Set stores value for a key to Aerospike. It honors ETag (for concurrency) and consistency settings.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL