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
Click to show internal directories.
Click to hide internal directories.