Documentation ¶
Index ¶
- Variables
- func Create(config Config) error
- func PostResolveData[T []byte | string](data map[string]interface{}, mapper func(interface{}) (T, error)) (map[string]T, error)
- func PostResolveTls(resolvedTls map[string]interface{}) (*types.ResolvedTls, error)
- func PreResolveData(data interface{}) (interface{}, error)
- func PreResolveTls(tls *types.Tls) (map[string]interface{}, error)
- func ShowTemplate(config Config) error
- type Config
- type InputReader
- type Marshaller
- type OutputWriter
- type Unmarshaller
Constants ¶
This section is empty.
Variables ¶
View Source
var InputReaders []InputReader
View Source
var Marshallers []Marshaller
View Source
var OutputWriters []OutputWriter
View Source
var Unmarshallers []Unmarshaller
Functions ¶
func PostResolveData ¶
func PostResolveTls ¶
func PostResolveTls(resolvedTls map[string]interface{}) (*types.ResolvedTls, error)
func PreResolveData ¶
func PreResolveData(data interface{}) (interface{}, error)
func ShowTemplate ¶
Types ¶
type Config ¶
type Config struct { InputFiles []string InputReader io.Reader // will be used if InputFiles contains "-" OutputFormats []types.Format InputFormat types.Format // best effort determination of the input format, if there are multiple inputs with different formats then one of them is selected randomly // extra configuration for specific providers/outputs/... Extra map[string]interface{} }
type Marshaller ¶
type OutputWriter ¶
type Unmarshaller ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.