vault

package
v0.0.0-...-252c7c2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_VAULT_NAMESPACE = "admin"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(config *Config) (*Client, error)

func (*Client) Backup

func (v *Client) Backup(w io.Writer) error

func (*Client) Restore

func (v *Client) Restore(f io.Reader) error

type Config

type Config struct {
	Address      string
	Token        string
	Namespace    string
	ForceRestore bool
	TmpPath      string
	FileName     string
	Timeout      time.Duration
}

Jump to

Keyboard shortcuts

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