Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProtocolVersion = 1 MagicCookieKey = "DODO_PLUGIN" MagicCookieValue = "69318785-d741-4150-ac91-8f03fa703530" FailedPlugin = "error" )
Variables ¶
This section is empty.
Functions ¶
func PathByName ¶
Types ¶
type CancelCopier ¶
func NewCancelCopier ¶
func NewCancelCopier(src io.Reader, dst io.Writer) *CancelCopier
func (*CancelCopier) Close ¶
func (c *CancelCopier) Close()
func (*CancelCopier) Copy ¶
func (c *CancelCopier) Copy() error
type DemuxCopier ¶
type DemuxCopier struct { Src io.Reader DstOut io.Writer DstErr io.Writer // contains filtered or unexported fields }
func NewDemuxCopier ¶
func (*DemuxCopier) Copy ¶
func (c *DemuxCopier) Copy() error
type ErrCircularDependency ¶ added in v0.2.0
type ErrCircularDependency struct {
Dependencies map[dependency]mapset.Set
}
func (ErrCircularDependency) Error ¶ added in v0.3.0
func (e ErrCircularDependency) Error() string
type ErrInvalidPlugin ¶ added in v0.3.0
type ErrInvalidPlugin struct { Plugin *api.PluginName Message string }
func (ErrInvalidPlugin) Error ¶ added in v0.3.0
func (e ErrInvalidPlugin) Error() string
type ErrPluginNotFound ¶
type ErrPluginNotFound struct {
Plugin *api.PluginName
}
func (ErrPluginNotFound) Error ¶ added in v0.3.0
func (e ErrPluginNotFound) Error() string
type Manager ¶ added in v0.2.0
type Manager struct {
// contains filtered or unexported fields
}
func (Manager) GetPlugins ¶ added in v0.2.0
func (Manager) IncludePlugins ¶ added in v0.2.0
func (Manager) LoadPlugins ¶ added in v0.2.0
func (m Manager) LoadPlugins()
func (Manager) RegisterPluginTypes ¶ added in v0.2.0
func (Manager) ServePlugins ¶ added in v0.2.0
func (Manager) UnloadPlugins ¶ added in v0.2.0
func (Manager) UnloadPlugins()
type MuxCopier ¶
type Plugin ¶
type Plugin interface { PluginInfo() *api.PluginInfo Init() (PluginConfig, error) Type() Type }
type PluginConfig ¶ added in v0.2.0
type StdioClient ¶
type StdioClient struct {
// contains filtered or unexported fields
}
func NewStdioClient ¶
func NewStdioClient(url string) (*StdioClient, error)
type StdioServer ¶
type StdioServer struct {
// contains filtered or unexported fields
}
func NewStdioServer ¶
func NewStdioServer() (*StdioServer, error)
func (*StdioServer) Endpoint ¶
func (s *StdioServer) Endpoint() string
type StreamConfig ¶
Click to show internal directories.
Click to hide internal directories.