importer

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFromFile

func ReadFromFile(file string) (data []byte, err error)

ReadFromFile reads the content of a file

Types

type ParsedYaml

type ParsedYaml map[string]map[string]interface{}

ParsedYaml is a map for the parsed data The format will be: map["path/to/secret"]["secret_key"]=interface{}

func Import

func Import(byteValue []byte) (parsedYaml ParsedYaml, err error)

Import parses the byte stream into yaml struct. The go yaml library is able to handle both yaml and json

type RawYaml

type RawYaml map[interface{}]interface{}

RawYaml is a interface for arbitrary data

Jump to

Keyboard shortcuts

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