Documentation ¶
Index ¶
- Variables
- func Call(ctx context.Context, ps types.PlugScope, req *pluginapi.Request) (resp *pluginapi.Response, err error)
- func Init(svc buildin.Services, cfg config.Loader) error
- func MustShutdown()
- func Register(spec types.PluginSpec, builder Builder)
- func SourceInfo(ctx context.Context, ps types.PlugScope) (info string, err error)
- type Builder
- type DelayProcessPlugin
- type Plugin
- type ProcessPlugin
- type SourcePlugin
- type ThreeBodyPlugin
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("PluginNotFound")
)
Functions ¶
func MustShutdown ¶
func MustShutdown()
func Register ¶
func Register(spec types.PluginSpec, builder Builder)
Types ¶
type DelayProcessPlugin ¶
type DelayProcessPlugin struct {
// contains filtered or unexported fields
}
func (*DelayProcessPlugin) Name ¶
func (d *DelayProcessPlugin) Name() string
func (*DelayProcessPlugin) Type ¶
func (d *DelayProcessPlugin) Type() types.PluginType
func (*DelayProcessPlugin) Version ¶
func (d *DelayProcessPlugin) Version() string
type ProcessPlugin ¶
type SourcePlugin ¶
type SourcePlugin interface { ProcessPlugin SourceInfo() (string, error) }
type ThreeBodyPlugin ¶
type ThreeBodyPlugin struct{}
func (*ThreeBodyPlugin) Name ¶
func (d *ThreeBodyPlugin) Name() string
func (*ThreeBodyPlugin) SourceInfo ¶
func (d *ThreeBodyPlugin) SourceInfo() (string, error)
func (*ThreeBodyPlugin) Type ¶
func (d *ThreeBodyPlugin) Type() types.PluginType
func (*ThreeBodyPlugin) Version ¶
func (d *ThreeBodyPlugin) Version() string
Click to show internal directories.
Click to hide internal directories.