kvutility

package
v0.0.0-...-d8c7374 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBucket

func CreateBucket(bucketName, authenticationType, saslBucketPassword, serverUserName, serverPassword, hostaddress, bucketRamQuota, proxyPort string)

func Delete

func Delete(key string, bucketName string, password string, hostaddress string)

func DeleteBucket

func DeleteBucket(bucketName, bucketPassword, serverUserName, serverPassword, hostaddress string)

func DeleteKeys

func DeleteKeys(keyValues tc.KeyValues, bucketName string, password string, hostaddress string)

func EditBucket

func EditBucket(bucketName, bucketPassword, serverUserName, serverPassword, hostaddress, bucketRamQuota string)

func EnableBucketFlush

func EnableBucketFlush(bucketName, bucketPassword, serverUserName, serverPassword, hostaddress string)

func FlushBucket

func FlushBucket(bucketName, bucketPassword, serverUserName, serverPassword, hostaddress string)

func Get

func Get(key string, rv interface{}, bucketName string, password string, hostaddress string)

func GetItemCountInBucket

func GetItemCountInBucket(bucketName, bucketPassword, serverUserName, serverPassword, hostaddress string) int

func Set

func Set(key string, v interface{}, bucketName string, password string, hostaddress string)

ToDo: Refactor Code

func SetKeyValues

func SetKeyValues(keyValues tc.KeyValues, bucketName string, password string, hostaddress string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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