Documentation
¶
Index ¶
- type Config
- func (c *Config) AddSecretBackend(backendName string, cfg map[string]any)
- func (c *Config) AddSinkUntyped(key string, cfg map[string]any)
- func (c *Config) AddSourceUntyped(key string, cfg map[string]any)
- func (c *Config) AddTransformUntyped(key string, cfg map[string]any)
- func (c *Config) JSON() (string, error)
- func (c *Config) Sinks() map[string]map[string]any
- func (c *Config) Sources() map[string]map[string]any
- func (c *Config) Transforms() map[string]map[string]any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is the configuration supplied to vector. It is converted into JSON format before being written to a file.
func (*Config) AddSecretBackend ¶
AddSecretBackend adds the specified configuration as a secret backend under key.
The backendName is what Vector will refer to when using the secret backend. https://vector.dev/highlights/2022-07-07-secrets-management/
func (*Config) AddSinkUntyped ¶
AddSinkUntyped adds the specified configuration as a vector sink under key.
func (*Config) AddSourceUntyped ¶
AddSourceUntyped adds the specified configuration as a vector source under key.
func (*Config) AddTransformUntyped ¶
AddTransformUntyped adds the specified configuration as a vector transform under key.
Click to show internal directories.
Click to hide internal directories.