Documentation ¶
Overview ¶
encoding is a package of default encodings supplied with mimic.
Each of the encodings match the following func declaration: ``` func XXX(in interface{}) io.Reader { ```
Encodings are called when generating the desired output for a configuration.
Additional encoders should return `io.Reader` and can be imported directly into the configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GhodssYAML ¶
GhodssYAML returns reader that encodes anything to YAML using github.com/ghodss/yaml. Recommended for e.g: * Kubernetes
Types ¶
type MarshalFunc ¶
Click to show internal directories.
Click to hide internal directories.