package
2.16.1
Repository: https://github.com/elastic/cloud-on-k8s.git
Documentation: pkg.go.dev

# Functions

EmptyConfig creates a new empty config.
FromSpec creates a new pipeline from spec.
MustFromSpec creates a new pipeline and panics on errors.
MustParse parses the given pipeline content into a Pipelines.
Parse parses the given pipeline content into a PipelinesConfig.
ParsePipelinesRef retrieves the content of a secret referenced in `pipelinesRef`, sets up dynamic watches for that secret, and parses the secret content into a PipelinesConfig.
RefWatchName returns the name of the watch registered on the secret referenced in `pipelinesRef`.

# Variables

Options are config options for the YAML file.

# Type aliases

Config contains configuration for Logstash pipeline ("pipelines.yml"), `.` in between the key, pipeline.id, is treated as string pipelines.yml is expected an array of pipeline definition.