gocql

package
v1.14.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManager

func NewManager(managedSession *gocql.ManagedSession) vault.Manager

NewManager returns a new vault manager with default options.

func NewManagerWithConfigPath

func NewManagerWithConfigPath(managedSession *gocql.ManagedSession, path string) (vault.Manager, error)

NewManagerWithConfigPath returns a new vault manager with options from config path.

func NewManagerWithOptions

func NewManagerWithOptions(managedSession *gocql.ManagedSession, options *vault.ManagerOptions) vault.Manager

NewManagerWithOptions returns a new vault manager with options.

Types

type Manager

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

Manager represents a vault manager for cassandra client.

func (*Manager) Close

func (m *Manager) Close(ctx context.Context) error

Close closes cassandra client.

func (*Manager) Configure

func (m *Manager) Configure(ctx context.Context, data map[string]interface{}) error

Configure configures cassandra client.

func (*Manager) Options

func (m *Manager) Options() *vault.ManagerOptions

Options returns vault manager options.

Jump to

Keyboard shortcuts

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