Documentation ¶
Overview ¶
Package metadata contains tools to discover metadata from Camel routes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Each ¶
func Each(catalog *camel.RuntimeCatalog, sources []v1.SourceSpec, consumer func(int, IntegrationMetadata) bool) error
Each traverses the sources with the provided consumer function.
Types ¶
type IntegrationMetadata ¶
IntegrationMetadata contains aggregate metadata about all Camel routes in a integrations.
func Extract ¶
func Extract(catalog *camel.RuntimeCatalog, source v1.SourceSpec) (IntegrationMetadata, error)
Extract returns metadata information from the source code.
func ExtractAll ¶
func ExtractAll(catalog *camel.RuntimeCatalog, sources []v1.SourceSpec) (IntegrationMetadata, error)
ExtractAll returns metadata information from all listed source codes.
Click to show internal directories.
Click to hide internal directories.