tarzstgpg

package
v0.14.7 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package tarzstgpg provides gpg encrypted tar.zst suitcases

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Suitcase

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

Suitcase holds all the pieces

func New

func New(target io.Writer, opts *config.SuitCaseOpts) Suitcase

New tar archive.

func (Suitcase) Add

func (s Suitcase) Add(f inventory.File) (*config.HashSet, error)

Add file to the archive.

func (Suitcase) AddEncrypt

func (s Suitcase) AddEncrypt(f inventory.File) error

AddEncrypt Add and encrypt file to the archive.

func (Suitcase) Close

func (s Suitcase) Close() error

Close all closeables.

func (Suitcase) Config

func (s Suitcase) Config() *config.SuitCaseOpts

Config returns configuration options

func (Suitcase) GetHashes

func (s Suitcase) GetHashes() []config.HashSet

GetHashes returns hashses

Jump to

Keyboard shortcuts

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