packer

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gocryptfs added in v1.2.0

type Gocryptfs struct {
	*Squashfs

	Pass string
	// contains filtered or unexported fields
}

func NewGocryptfs added in v1.2.0

func NewGocryptfs(keyInfo *cryptkey.KeyInfo) *Gocryptfs

func (*Gocryptfs) Create added in v1.2.0

func (g *Gocryptfs) Create(src []string, dest string, opts []string, tmpDir string) error

func (*Gocryptfs) HasGocryptfs added in v1.2.0

func (g *Gocryptfs) HasGocryptfs() bool

type Squashfs

type Squashfs struct {
	MksquashfsPath string
}

Squashfs represents a squashfs packer

func NewSquashfs

func NewSquashfs() *Squashfs

NewSquashfs initializes and returns a Squashfs packer instance

func (Squashfs) Create

func (s Squashfs) Create(src []string, dest string, opts []string) error

Create makes a squashfs filesystem from a list of source files/directories to a destination file

func (Squashfs) HasMksquashfs

func (s Squashfs) HasMksquashfs() bool

HasMksquashfs returns if mksquashfs binary has set or not

Jump to

Keyboard shortcuts

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