spikeutils

package
v0.0.0-...-b210ffa Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient(clientPolicy *aero.ClientPolicy, host string, port int) (*aero.Client, error)

GetClient get a client connected to the target aerospike cluster

func Info

func Info(client *aero.Client, host string, port int, asinfo string)

Info runs asinfo command

func LoadData

func LoadData(client *aero.Client, wpolicy *aero.WritePolicy, fileName string, setName string, ns ...string)

LoadData loading scorecard.csv file for testing

func PanicOnError

func PanicOnError(err error)

PanicOnError logs error before fail

func Query

func Query(client *aero.Client, ns string, setName string, binNames []string, limit int)

Query scorecard test data

func Scan

func Scan(client *aero.Client, namespace string, setName string)

Scan to discover bin names in a set. This scan does not do thorough scan every record. It takes the first record, and returns

Types

This section is empty.

Jump to

Keyboard shortcuts

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