These transformer classes do a specific job, and the customization allows you to change the parameters/configuration required for performing the specific job.
In most cases, these classes have one internal implementation, and you will find a transformer configuration in here.
The general steps to use these transformer classes are:
- Find the internal implementation in here.
- Copy the directory
- Change the configuration like transformer name, templates, etc..
- Set the override to override the internal implementation.
To understand the configuration provided by each of these transformers, the yaml in the built-in transformer should give a good hint. The other location to look for is the struct in the transformer implementation. In most classes which have a config, there will be a struct with name ending in
YamlConfig. For example, In Kubernetes transformer class, you can find KubernetesYamlConfig. This is the config that is specified in the spec.config field.