targzgpg

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package targzgpg provides gpg encrypted tar.gz 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