resources

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CamelVersion is the version of the Apache Camel core library to use
	CamelVersion = "2.23.1"

	// IntegrationPlatformName is the standard name of the Camel K IntegrationPlatform resource
	IntegrationPlatformName = "camel-k"
)

Variables

This section is empty.

Functions

func MakeContext

func MakeContext(namespace string, image string) *camelv1alpha1.IntegrationContext

func MakeIntegration

func MakeIntegration(args *CamelArguments) (*camelv1alpha1.Integration, error)

func MakePlatform

func MakePlatform(namespace string) *camelv1alpha1.IntegrationPlatform

Types

type CamelArguments

type CamelArguments struct {
	Name               string
	Namespace          string
	Source             CamelArgumentsSource
	ServiceAccountName string
	Context            string
	Sink               string
}

type CamelArgumentsSource

type CamelArgumentsSource struct {
	Name       string
	Content    string
	Properties map[string]string
}

func BuildSourceCode

func BuildSourceCode(source *v1alpha1.CamelSource) (CamelArgumentsSource, error)

BuildSourceCode creates the Camel flow code corresponding to the requested source

Jump to

Keyboard shortcuts

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