Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTranslator ¶
func NewTranslator(opts ...Option) common.Translator[component.Config]
func NewTranslatorWithName ¶ added in v1.300031.0
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithDataType ¶
WithDataType determines where the translator should look to find the configuration.
func WithInstanceNum ¶ added in v1.300034.0
Click to show internal directories.
Click to hide internal directories.