bundler

package
v0.0.0-...-91ead5b Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFinalFilename

func GetFinalFilename(filenameWitoutExtension string) string

Types

type BundleReader

type BundleReader struct {
	TarReader  *tar.Reader
	GzipReader io.Reader
	AgeReader  io.Reader
}

func NewReader

func NewReader(buffer io.Reader, ageIdentity *age.X25519Identity) (*BundleReader, error)

func (*BundleReader) Next

func (bundleReader *BundleReader) Next() (*tar.Header, error)

type BundleWriter

type BundleWriter struct {
	TarWriter  *tar.Writer
	GzipWriter *gzip.Writer
	AgeWriter  io.WriteCloser
}

func NewWriter

func NewWriter(buffer io.Writer, ageRecipient *age.X25519Recipient) (*BundleWriter, error)

func (*BundleWriter) Close

func (bundleWriter *BundleWriter) Close() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳