cassandra

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: MPL-2.0 Imports: 17 Imported by: 69

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 Cassandra

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

Cassandra is an implementation of Database interface

func (Cassandra) Close added in v0.10.0

func (c Cassandra) Close() error

func (Cassandra) Connection added in v0.10.0

func (c Cassandra) Connection(ctx context.Context) (interface{}, error)

func (*Cassandra) DeleteUser added in v1.6.0

DeleteUser attempts to drop the specified user.

func (*Cassandra) Initialize added in v0.10.0

func (*Cassandra) NewUser added in v1.6.0

NewUser generates the username/password on the underlying Cassandra secret backend as instructed by the statements provided.

func (*Cassandra) Type

func (c *Cassandra) Type() (string, error)

Type returns the TypeName for this backend

func (*Cassandra) 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