config

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package config holds configuration options for suitcases

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SuitCaseOpts

type SuitCaseOpts struct {
	Format            string
	Destination       string
	EncryptInner      bool // Encrypt all files in the archive
	EncryptOuter      bool // Encrypt the archive itself
	HashInner         bool // Hash files inside the archive
	HashOuter         bool // Hash the archive itself
	EncryptTo         *openpgp.EntityList
	PostProcessScript string
	PostProcessEnv    map[string]string
}

SuitCaseOpts is options for a given suitcase

func (*SuitCaseOpts) EncryptToCobra

func (s *SuitCaseOpts) EncryptToCobra(cmd *cobra.Command) error

EncryptToCobra fills in the EncryptTo option using cobra.Command options

Jump to

Keyboard shortcuts

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