hana

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: MPL-2.0 Imports: 11 Imported by: 61

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (interface{}, error)

New implements builtinplugins.BuiltinFactory

Types

type HANA

type HANA struct {
	*connutil.SQLConnectionProducer
}

HANA is an implementation of Database interface

func (*HANA) DeleteUser added in v1.6.0

func (h *HANA) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)

Revoking hana user will deactivate user and try to perform a soft drop

func (*HANA) Initialize added in v1.6.0

func (h *HANA) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)

func (*HANA) NewUser added in v1.6.0

func (h *HANA) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (response dbplugin.NewUserResponse, err error)

NewUser generates the username/password on the underlying HANA secret backend as instructed by the CreationStatement provided.

func (*HANA) Type

func (h *HANA) Type() (string, error)

Type returns the TypeName for this backend

func (*HANA) UpdateUser added in v1.6.0

func (h *HANA) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)

UpdateUser allows for updating the expiration or password of the user mentioned in the UpdateUserRequest

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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