redis

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 NewClusterManager

func NewClusterManager(managedClient *redis.ManagedClusterClient) vault.Manager

NewManager returns a new vault manager with default options.

func NewClusterManagerWithConfigPath

func NewClusterManagerWithConfigPath(managedClient *redis.ManagedClusterClient, path string) (vault.Manager, error)

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

func NewClusterManagerWithOptions

func NewClusterManagerWithOptions(managedClient *redis.ManagedClusterClient, options *vault.ManagerOptions) vault.Manager

NewManagerWithOptions returns a new vault manager with options.

func NewManager

func NewManager(managedClient *redis.ManagedClient) vault.Manager

NewManager returns a new vault manager with default options.

func NewManagerWithConfigPath

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

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

func NewManagerWithOptions

func NewManagerWithOptions(managedClient *redis.ManagedClient, options *vault.ManagerOptions) vault.Manager

NewManagerWithOptions returns a new vault manager with options.

Types

type ClusterManager

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

Manager represents a vault manager for redis cluster client.

func (*ClusterManager) Close

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

Close closes redis cluster client.

func (*ClusterManager) Configure

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

Configure configures redis cluster client.

func (*ClusterManager) Options

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

Options returns vault manager options.

type Manager

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

Manager represents a vault manager for redis client.

func (*Manager) Close

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

Close closes redis client.

func (*Manager) Configure

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

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