metadata

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 4 Imported by: 6

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

type IntegrationMetadata struct {
	source.Metadata
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL