Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExtensionTypes = []string{
"none", "internal", "native", "portable", "service", "wasm", "js",
}
View Source
var PluginTypeMap = map[string]PluginType{ "sources": SOURCE, "sinks": SINK, "functions": FUNCTION, "portable": PORTABLE, }
View Source
var PluginTypes = []string{"sources", "sinks", "functions", "portable"}
Functions ¶
This section is empty.
Types ¶
type EXTENSION_TYPE ¶
type EXTENSION_TYPE int
const ( NONE_EXTENSION EXTENSION_TYPE = iota INTERNAL NATIVE_EXTENSION PORTABLE_EXTENSION SERVICE_EXTENSION JS_EXTENSION )
type FuncPlugin ¶
type FuncPlugin struct { IOPlugin // Optional, if not specified, a default element with the same name of the file will be registered Functions []string `json:"functions"` }
func (*FuncPlugin) GetSymbols ¶
func (fp *FuncPlugin) GetSymbols() []string
type IOPlugin ¶
type IOPlugin struct { Name string `json:"name" yaml:"name"` File string `json:"file" yaml:"file"` ShellParas []string `json:"shellParas,omitempty" yaml:"shellParas,omitempty"` }
IOPlugin Unify model. Flat all properties for each kind.
func (*IOPlugin) GetInstallScripts ¶
func (*IOPlugin) GetShellParas ¶
func (*IOPlugin) GetSymbols ¶
Click to show internal directories.
Click to hide internal directories.