Documentation ¶
Index ¶
- Variables
- func ArrOutputData(data *[]interface{})
- func CompressPath(src string, buf io.Writer) error
- func CreateGPGKey(name string, email string) (string, string, crypto.Key)
- func DecodeFromBase64(input string) (string, error)
- func DecodePigeonHoleJWT() (map[string]interface{}, error)
- func DecompressFile(src string, dst string) error
- func DecryptBytes(input []byte, destinationPath string) (decryptedFilePath string, err error)
- func DisplayHelp(cmd *cobra.Command, args []string)
- func EncodeToBase64(input string) string
- func EncryptFile(filePath string, armoredPubKeys []string) (encryptedFilePath string, err error)
- func GenerateCodeWord(numWords int) string
- func GetUserGPGArmoredPubKeysFromIdSlice(recipients []string) ([]string, error)
- func NewIdPClient(token string) (sdk.ClientWithResponses, context.Context)
- func NewPigeonHoleClient() (sdk.ClientWithResponses, context.Context)
- func OutputData(data interface{})
- func SecureDelete(filePath string) error
- func ShredFile(path string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalCtx context.Context
View Source
var GlobalPigeonHoleClient sdk.ClientWithResponses
Functions ¶
func ArrOutputData ¶
func ArrOutputData(data *[]interface{})
func DecodeFromBase64 ¶
func DecodePigeonHoleJWT ¶
func DecompressFile ¶
func DecryptBytes ¶
func DisplayHelp ¶
func EncodeToBase64 ¶
EncodeToBase64 takes a string and returns its base64 encoded version
func EncryptFile ¶
func GenerateCodeWord ¶
func NewIdPClient ¶
func NewIdPClient(token string) (sdk.ClientWithResponses, context.Context)
func NewPigeonHoleClient ¶
func NewPigeonHoleClient() (sdk.ClientWithResponses, context.Context)
func OutputData ¶
func OutputData(data interface{})
func SecureDelete ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.