package
1.18.0
Repository: https://github.com/elastic/package-spec.git
Documentation: pkg.go.dev

# Functions

ValidateChangelogLinks returns validation errors if the link(s) do not have a valid PR github.com link.
ValidateDimensionFields verifies if dimension fields are of one of the expected types.
ValidateFieldGroups verifies if field groups don't have units and metric types defined.
ValidateFieldsLimits verifies limits on fields.
ValidateKibanaNoDanglingObjectIDs returns validation errors if there are any dangling references to Kibana objects in any Kibana object files.
ValidateKibanaObjectIDs returns validation errors if there are any Kibana object files that define IDs not matching the file's name.
ValidatePrerelease validates additional restrictions on the prerelease tags.
ValidateRequiredFields validates that required fields are present and have the expected types.
ValidateUniqueFields verifies that any field is defined only once on each data stream.
ValidateVersionIntegrity returns validation errors if the version defined in manifest isn't referenced in the latest entry of the changelog file.
ValidateVisualizationsUsedByValue warns if there are any Kibana Dashboard that defines visualizations by reference instead of value.

# Structs

ChangelogLinkError records the link and the error.