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: 3 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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