helper

package
v3.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EscapeValue

func EscapeValue(value string) string

EscapeValue ...

func FormatHclFile

func FormatHclFile(file string) (bytes.Buffer, error)

FormatHclFile ...

func IndexRemoteSecrets

func IndexRemoteSecrets(environment string, concurrency int) config.VaultSecrets

IndexRemoteSecrets ...

func ReadRemoteSecrets

func ReadRemoteSecrets(secrets config.VaultSecrets, concurrency int) (config.VaultSecrets, error)

readRemoteSecrets Take an array of secret paths to read

Types

type SecretWriter

type SecretWriter struct {
	// contains filtered or unexported fields
}

SecretWriter ...

func (SecretWriter) WriteSecret

func (w SecretWriter) WriteSecret(secret *config.Secret) error

WriteSecret ...

Jump to

Keyboard shortcuts

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