vaultClient

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Address     string
	Sealed      bool
	Initialized bool
	Client      *vault.Client
}

func GetVaultClusterNode

func GetVaultClusterNode(ctx context.Context, address string, cfg config.Config) (*Node, error)

func (*Node) Initialize

func (n *Node) Initialize(cfg config.Config, ctx context.Context) ([]string, string, error)

func (*Node) Join

func (n *Node) Join(cfg config.Config, ctx context.Context, node0 *Node) error

func (*Node) Unseal

func (n *Node) Unseal(ctx context.Context, key string, keyIndex int) error

Jump to

Keyboard shortcuts

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