aerospike

package
v4.0.0-rc5+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncodedObjectIter

type EncodedObjectIter struct {
	// contains filtered or unexported fields
}

func (*EncodedObjectIter) Close

func (i *EncodedObjectIter) Close()

func (*EncodedObjectIter) ForEach

func (i *EncodedObjectIter) ForEach(cb func(obj plumbing.EncodedObject) error) error

func (*EncodedObjectIter) Next

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

func NewStorage

func NewStorage(client *driver.Client, ns, url string) (*Storage, error)

func (*Storage) Config

func (s *Storage) Config() (*config.Config, error)

func (*Storage) EncodedObject

func (s *Storage) EncodedObject(t plumbing.ObjectType, h plumbing.Hash) (plumbing.EncodedObject, error)

func (*Storage) IterEncodedObjects

func (s *Storage) IterEncodedObjects(t plumbing.ObjectType) (storer.EncodedObjectIter, error)

func (*Storage) IterReferences

func (s *Storage) IterReferences() (storer.ReferenceIter, error)

func (*Storage) NewEncodedObject

func (s *Storage) NewEncodedObject() plumbing.EncodedObject

func (*Storage) Reference

func (s *Storage) Reference(n plumbing.ReferenceName) (*plumbing.Reference, error)

func (*Storage) SetConfig

func (s *Storage) SetConfig(r *config.Config) error

func (*Storage) SetEncodedObject

func (s *Storage) SetEncodedObject(obj plumbing.EncodedObject) (plumbing.Hash, error)

func (*Storage) SetReference

func (s *Storage) SetReference(ref *plumbing.Reference) error

func (*Storage) SetShallow

func (s *Storage) SetShallow(hash []plumbing.Hash) error

func (*Storage) Shallow

func (s *Storage) Shallow() ([]plumbing.Hash, error)

Jump to

Keyboard shortcuts

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