neo4j

package
v0.0.0-...-332ad31 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ReportedVersion is used to report a specific version to Vault.
	ReportedVersion = "v1.0.0-beta"
)

Functions

func New

func New() (interface{}, error)

Types

type Neo4j

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

func (Neo4j) Close

func (c Neo4j) Close() error

Close terminates the database connection.

func (Neo4j) Connection

func (c Neo4j) Connection(ctx context.Context) (neo4j.SessionWithContext, error)

Connection creates or returns an existing a database connection. If the session fails on a ping check, the session will be closed and then re-created. This method does locks the mutex on its own.

func (*Neo4j) DeleteUser

func (m *Neo4j) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)

func (*Neo4j) Initialize

func (m *Neo4j) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)

func (*Neo4j) NewUser

func (m *Neo4j) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (dbplugin.NewUserResponse, error)

func (*Neo4j) PluginVersion

func (p *Neo4j) PluginVersion() logical.PluginVersion

func (*Neo4j) Type

func (m *Neo4j) Type() (string, error)

Type returns the TypeName for this backend

func (*Neo4j) UpdateUser

func (m *Neo4j) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)

Directories

Path Synopsis
helper

Jump to

Keyboard shortcuts

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