roles

package
v0.0.0-...-756d7ae Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CypherDriver

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

CypherDriver - CypherDriver

func NewCypherDriver

func NewCypherDriver(cypherRunner neoutils.NeoConnection) CypherDriver

NewCypherDriver instantiate driver

func (CypherDriver) Check

func (pcd CypherDriver) Check() error

Check - Feeds into the Healthcheck and checks whether we can connect to Neo and that the datastore isn't empty

func (CypherDriver) Count

func (pcd CypherDriver) Count() (int, error)

Count - Returns a count of the number of roles in this Neo instance

func (CypherDriver) DecodeJSON

func (pcd CypherDriver) DecodeJSON(dec *json.Decoder) (interface{}, string, error)

DecodeJSON - Decodes JSON into role

func (CypherDriver) Delete

func (pcd CypherDriver) Delete(uuid, transactionID string) (bool, error)

Delete - Deletes a Role

func (CypherDriver) Initialise

func (pcd CypherDriver) Initialise() error

Initialise initialisation of the indexes

func (CypherDriver) Read

func (pcd CypherDriver) Read(uuid, transactionID string) (interface{}, bool, error)

Read - reads a role given a UUID

func (CypherDriver) Write

func (pcd CypherDriver) Write(thing interface{}, transactionID string) error

Write - Writes a Role node

Jump to

Keyboard shortcuts

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