secrets

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SecretsFileName = "secrets.oya"

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(workDir string) ([]byte, error)

func Encrypt

func Encrypt(workDir string) error

func ViewCmd

func ViewCmd(workDir string) *exec.Cmd

Types

type ErrNoSecretsFile

type ErrNoSecretsFile struct {
	FileName    string
	OyafilePath string
}

func (ErrNoSecretsFile) Error

func (err ErrNoSecretsFile) Error() string

type ErrSecretsAlreadyEncrypted

type ErrSecretsAlreadyEncrypted struct {
	FileName    string
	OyafilePath string
}

func (ErrSecretsAlreadyEncrypted) Error

func (err ErrSecretsAlreadyEncrypted) Error() string

type ErrSecretsFailure

type ErrSecretsFailure struct {
	FileName    string
	OyafilePath string
	CmdError    string
}

func (ErrSecretsFailure) Error

func (err ErrSecretsFailure) Error() string

Jump to

Keyboard shortcuts

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