Documentation ¶
Index ¶
- func New() (interface{}, error)
- type Influxdb
- func (i Influxdb) Close() error
- func (i Influxdb) Connection(_ context.Context) (interface{}, error)
- func (i *Influxdb) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)
- func (i Influxdb) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)
- func (i *Influxdb) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (resp dbplugin.NewUserResponse, err error)
- func (i *Influxdb) Type() (string, error)
- func (i *Influxdb) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Influxdb ¶
type Influxdb struct {
// contains filtered or unexported fields
}
Influxdb is an implementation of Database interface
func (Influxdb) Connection ¶
func (*Influxdb) DeleteUser ¶ added in v1.6.0
func (i *Influxdb) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)
func (Influxdb) Initialize ¶
func (i Influxdb) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)
func (*Influxdb) NewUser ¶ added in v1.6.0
func (i *Influxdb) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (resp dbplugin.NewUserResponse, err error)
NewUser generates the username/password on the underlying Influxdb secret backend as instructed by the statements provided.
func (*Influxdb) UpdateUser ¶ added in v1.6.0
func (i *Influxdb) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)
Click to show internal directories.
Click to hide internal directories.