Help us shape the future of Go! Take the 2026 Go Developer Survey

hana

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 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

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

func (*HANA) Initialize added in v1.6.0

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

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