Documentation ¶
Index ¶
- Variables
- func Create(config Config) error
- func NewStarterTemplate(config Config, templateType types.StarterTemplateType) (*types.SecretTemplate, error)
- func PostResolveData[T []byte | string](data map[string]interface{}, mapper func(interface{}) (T, error)) (map[string]T, error)
- func PostResolveTls(resolvedTls *types.ResolvedTls) (*types.PostResolvedTls, error)
- func PreResolveData(data interface{}) (interface{}, error)
- func PreResolveTls(tls *types.Tls) (types.PreResolvedTls, error)
- func ShowTemplate(config Config) error
- func StarterTemplate(config Config, templateType types.StarterTemplateType) 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 NewStarterTemplate ¶ added in v0.7.0
func NewStarterTemplate(config Config, templateType types.StarterTemplateType) (*types.SecretTemplate, error)
func PostResolveData ¶
func PostResolveTls ¶
func PostResolveTls(resolvedTls *types.ResolvedTls) (*types.PostResolvedTls, error)
func PreResolveData ¶
func PreResolveData(data interface{}) (interface{}, error)
func PreResolveTls ¶
func PreResolveTls(tls *types.Tls) (types.PreResolvedTls, error)
func ShowTemplate ¶
func StarterTemplate ¶ added in v0.7.0
func StarterTemplate(config Config, templateType types.StarterTemplateType) error
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 InputReader ¶
type Marshaller ¶
type OutputWriter ¶
type Unmarshaller ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.