Documentation ¶
Index ¶
- func AddSinkToCamelFlow(flow map[interface{}]interface{}, sink string) map[interface{}]interface{}
- func BuildComponentIntegrationSpec(args *CamelArguments) (camelv1alpha1.IntegrationSpec, error)
- func CopyCamelFlow(flow interface{}) (map[interface{}]interface{}, error)
- func MakeIntegration(args *CamelArguments) (*camelv1alpha1.Integration, error)
- func MarshalCamelFlow(flow map[interface{}]interface{}) (string, error)
- func MarshalCamelFlows(flows []map[interface{}]interface{}) (string, error)
- func UnmarshalCamelFlow(data string) (map[interface{}]interface{}, error)
- type CamelArguments
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
MarshalCamelFlow marshals a flow into its standard yaml representation
func MarshalCamelFlows ¶ added in v0.8.0
MarshalCamelFlows marshals a list of flows into their standard yaml representation
func UnmarshalCamelFlow ¶ added in v0.8.0
UnmarshalCamelFlow unmarshals a flow from its standard yaml representation
Types ¶
type CamelArguments ¶
type CamelArguments struct { Name string Namespace string Source v1alpha1.CamelSourceOriginSpec Sink string }
Click to show internal directories.
Click to hide internal directories.