exporter

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter interface {
	// GetFlowName get nbame of the flow
	GetFlowName() string
	// GetFlowDefinition get definition of the faas-flow
	GetFlowDefinition(*sdk.Pipeline, *sdk.Context) error
}

Exporter

type FlowExporter

type FlowExporter struct {
	// contains filtered or unexported fields
}

FlowExporter faasflow exporter

func CreateFlowExporter

func CreateFlowExporter(exporter Exporter) (fexp *FlowExporter)

CreateFlowExporter initiate a FlowExporter with a provided Executor

func (*FlowExporter) Export

func (fexp *FlowExporter) Export() ([]byte, error)

Export retrieve faasflow definition

Jump to

Keyboard shortcuts

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