cli

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(configFilename, outputFormat, outputDir string) (Serializer, EncryptUpdater, error)

New creates an instance of Serializer and EncryptUpdater

func ParseDataSources

func ParseDataSources(fromFile, fromLiteral []string) (data map[string][]byte, err error)

ParseDataSources reads files and literals converting them to a map suitable for encryption.

Types

type EncryptUpdater

type EncryptUpdater interface {
	// contains filtered or unexported methods
}

EncryptUpdater encrypts raw secrets and updates encrypted secrets

type Serializer

type Serializer interface {
	// contains filtered or unexported methods
}

Serializer reads and transforms objects into a serialized outputFormat and back.

Jump to

Keyboard shortcuts

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