Documentation ¶
Index ¶
- Variables
- func New() (interface{}, error)
- type Neo4j
- func (c Neo4j) Close() error
- func (c Neo4j) Connection(ctx context.Context) (neo4j.SessionWithContext, error)
- func (m *Neo4j) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)
- func (m *Neo4j) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)
- func (m *Neo4j) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (dbplugin.NewUserResponse, error)
- func (p *Neo4j) PluginVersion() logical.PluginVersion
- func (m *Neo4j) Type() (string, error)
- func (m *Neo4j) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)
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 ¶
Types ¶
type Neo4j ¶
type Neo4j struct {
// contains filtered or unexported fields
}
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 (*Neo4j) Initialize ¶
func (*Neo4j) PluginVersion ¶
func (p *Neo4j) PluginVersion() logical.PluginVersion
Click to show internal directories.
Click to hide internal directories.