dsl

package
v0.0.0-...-d09eed2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToUnstructured

func ToUnstructured(flows []camelApi.Flow) ([]map[string]interface{}, error)

func ToYamlDSL

func ToYamlDSL(flows []camelApi.Flow) ([]byte, error)

Types

type Capability

type Capability int
const (
	CapabilityDAPR Capability = iota
	CapabilityKNATIVE
)

type Inspector

type Inspector struct {
}

func NewInspector

func NewInspector() *Inspector

func (*Inspector) Extract

func (i *Inspector) Extract(flows []camelApi.Flow) (*Metadata, error)

Extract --.

type Metadata

type Metadata struct {
	// All starting URIs of defined routes
	FromURIs []string
	// All end URIs of defined routes
	ToURIs []string
}

func NewMetadata

func NewMetadata() *Metadata

func (*Metadata) Capabilities

func (m *Metadata) Capabilities() []Capability

Jump to

Keyboard shortcuts

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