elasticsearch

package
v1.14.0-beta.9 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 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(managedClient *elasticsearch.ManagedClient) vault.Manager

NewManager returns a new vault manager with default options.

func NewManagerWithConfigPath

func NewManagerWithConfigPath(managedClient *elasticsearch.ManagedClient, path string) (vault.Manager, error)

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

func NewManagerWithOptions

func NewManagerWithOptions(managedClient *elasticsearch.ManagedClient, 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 elasticsearch client.

func (*Manager) Close

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

Close closes elasticsearch client.

func (*Manager) Configure

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

Configure configures elasticsearch 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