influxdb

package
v1.7.10 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: MPL-2.0 Imports: 18 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (interface{}, error)

New returns a new Cassandra instance

Types

type Influxdb

type Influxdb struct {
	// contains filtered or unexported fields
}

Influxdb is an implementation of Database interface

func (Influxdb) Close

func (i Influxdb) Close() error

func (Influxdb) Connection

func (i Influxdb) Connection(_ context.Context) (interface{}, error)

func (*Influxdb) DeleteUser added in v1.6.0

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) Type

func (i *Influxdb) Type() (string, error)

Type returns the TypeName for this backend

func (*Influxdb) UpdateUser added in v1.6.0

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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