Documentation ¶
Index ¶
- func New() (interface{}, error)
- type HANA
- func (h *HANA) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)
- func (h *HANA) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)
- func (h *HANA) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (response dbplugin.NewUserResponse, err error)
- func (h *HANA) Type() (string, error)
- func (h *HANA) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HANA ¶
type HANA struct { *connutil.SQLConnectionProducer // contains filtered or unexported fields }
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 (*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.
Click to show internal directories.
Click to hide internal directories.