cassandra

package
v0.0.0-...-a0f6db5 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MPL-2.0 Imports: 21 Imported by: 0

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

func (c Cassandra) Close() error

func (Cassandra) Connection

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

func (*Cassandra) DeleteUser

DeleteUser attempts to drop the specified user.

func (*Cassandra) Initialize

func (*Cassandra) NewUser

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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