etcd

package
v5.1.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backupper

type Backupper interface {
	Create() (string, error)
	Cleanup()
	Encrypt() (string, error)
	Version() string
}

type V3Backup

type V3Backup struct {
	EncPass   string
	Endpoints string
	Logger    micrologger.Logger
	Prefix    string
	// contains filtered or unexported fields
}

func NewV3Backup

func NewV3Backup(tlsConfig *tls.Config, p *proxy.Proxy, encPass string, endpoints string, logger micrologger.Logger, prefix string) (V3Backup, error)

func (V3Backup) Cleanup

func (b V3Backup) Cleanup()

Cleanup clears temporary directory

func (V3Backup) Create

func (b V3Backup) Create() (string, error)

Create etcd in temporary directory.

func (V3Backup) Encrypt

func (b V3Backup) Encrypt() (string, error)

Encrypt backup.

func (V3Backup) Version

func (b V3Backup) Version() string

Directories

Path Synopsis
internal
Package proxy implements kubeadm proxy functionality.
Package proxy implements kubeadm proxy functionality.

Jump to

Keyboard shortcuts

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