tarantool

package module
v0.0.0-...-c961b41 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 4 Imported by: 0

README

NON PRODUCTION READY

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (interface{}, error)

Types

type Tarantool

type Tarantool struct {
	credsutil.CredentialsProducer
	// contains filtered or unexported fields
}

Tarantool todo

func (*Tarantool) Close

func (d *Tarantool) Close() error

func (*Tarantool) DeleteUser

func (d *Tarantool) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)

DeleteUser from the database. This should not error if the user didn't exist prior to this call.

func (*Tarantool) Initialize

func (d *Tarantool) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)

Initialize the database plugin. This is the equivalent of a constructor for the database object itself.

func (*Tarantool) NewUser

func (d *Tarantool) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (dbplugin.NewUserResponse, error)

NewUser creates a new user within the database. This user is temporary in that it will exist until the TTL expires.

func (*Tarantool) Type

func (d *Tarantool) Type() (string, error)

func (*Tarantool) UpdateUser

func (d *Tarantool) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)

UpdateUser updates an existing user within the database.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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