Documentation ¶
Index ¶
- func New() (interface{}, error)
- type ArangoDB
- func (a ArangoDB) Close() error
- func (a ArangoDB) Connection(ctx context.Context) (interface{}, error)
- func (a *ArangoDB) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)
- func (a *ArangoDB) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)
- func (a *ArangoDB) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (dbplugin.NewUserResponse, error)
- func (a *ArangoDB) Type() (string, error)
- func (a *ArangoDB) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArangoDB ¶
type ArangoDB struct {
// contains filtered or unexported fields
}
ArangoDB is an implementation of Database interface
func (ArangoDB) Connection ¶
Connection creates a database connection
func (*ArangoDB) DeleteUser ¶
func (a *ArangoDB) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)
DeleteUser deletes a user account
func (*ArangoDB) Initialize ¶
func (a *ArangoDB) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)
Initialize sets up the ArangoDB Plugin
func (*ArangoDB) NewUser ¶
func (a *ArangoDB) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (dbplugin.NewUserResponse, error)
NewUser creates a new user account
func (*ArangoDB) UpdateUser ¶
func (a *ArangoDB) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)
UpdateUser updates a user's password
Click to show internal directories.
Click to hide internal directories.