Documentation ¶
Index ¶
- func CreateKeys(fs afero.Fs, name, keyfile string, cipherStrength int)
- func DeleteKeys(fs afero.Fs, keyfile, name string)
- func ExtractKeys(fs afero.Fs, keyfile, name, outfile string)
- func ImportKey(fs afero.Fs, repoName, keyName, fileName string) error
- func ListContents(fs afero.Fs, archive, keystore, pubkey, privkey string, output io.Writer)
- func ListKeys(fs afero.Fs, keyfile string)
- func PackRepository(fs afero.Fs, args map[string]string)
- func UnpackRepository(fs afero.Fs, archive, keystore, privKeyName, pubKeyName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKeys ¶
CreateKeys builds a public and private key and saves them to a file
func DeleteKeys ¶
DeleteKeys removes a key from the keystore
func ExtractKeys ¶
ExtractKeys extracts a key into PEM encoded formats
func ImportKey ¶
ImportKey imports a key into the repository with the given key name. The PEM encoded key is read from the io.Reader. The function then saves the keystore with the new key.
func ListContents ¶
ListContents lists the contents of an archive
func PackRepository ¶
PackRepository packages a repository
func UnpackRepository ¶
UnpackRepository unpacks a repository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.