resources

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSinkToCamelFlow added in v0.8.0

func AddSinkToCamelFlow(flow map[interface{}]interface{}, sink string) map[interface{}]interface{}

AddSinkToCamelFlow adds the knative endpoint sink to a user-provided yaml flow

func BuildComponentIntegrationSpec

func BuildComponentIntegrationSpec(args *CamelArguments) (camelv1alpha1.IntegrationSpec, error)

BuildComponentIntegrationSpec creates a integration spec corresponding to a component flow

func CopyCamelFlow added in v0.8.0

func CopyCamelFlow(flow interface{}) (map[interface{}]interface{}, error)

CopyCamelFlow returns a copy of the flow obtained through marshal and unmarshal into the standard yaml representation

func MakeIntegration

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

func MarshalCamelFlow added in v0.8.0

func MarshalCamelFlow(flow map[interface{}]interface{}) (string, error)

MarshalCamelFlow marshals a flow into its standard yaml representation

func MarshalCamelFlows added in v0.8.0

func MarshalCamelFlows(flows []map[interface{}]interface{}) (string, error)

MarshalCamelFlows marshals a list of flows into their standard yaml representation

func UnmarshalCamelFlow added in v0.8.0

func UnmarshalCamelFlow(data string) (map[interface{}]interface{}, error)

UnmarshalCamelFlow unmarshals a flow from its standard yaml representation

Types

type CamelArguments

type CamelArguments struct {
	Name      string
	Namespace string
	Source    v1alpha1.CamelSourceOriginSpec
	Sink      string
}

Jump to

Keyboard shortcuts

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