Documentation ¶
Index ¶
Constants ¶
View Source
const EXTENSION_NAME = "ssh"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extension ¶
type Extension struct {
*lib.BaseExtension
}
func NewExtension ¶
func NewExtension() (e *Extension)
func (*Extension) InstallExtensionPoints ¶
func (e *Extension) InstallExtensionPoints(em *lib.ExtensionManager)
type InputEntry ¶
type InputEntry struct { *entity.InputEntryBase Host string Port uint16 Cred *entity.Credential Command string }
extssh.InputEntry implements config entry that uses ssh.
func (*InputEntry) BuildFromData ¶
func (ie *InputEntry) BuildFromData(c *entity.Config, data map[interface{}]interface{}) (err error)
Initialize its self by given data.
func (*InputEntry) GetName ¶
func (ie *InputEntry) GetName() string
type InputEntryParser ¶
type InputEntryParser struct {
*lib.BaseExtensionPoint
}
func NewInputEntryParser ¶
func NewInputEntryParser() (iep *InputEntryParser)
func (*InputEntryParser) CreateInputEntriesFromData ¶
func (iep *InputEntryParser) CreateInputEntriesFromData(config *entity.Config, name string, data map[interface{}]interface{}) (inputEntries []entity.InputEntry, err error)
type InputHandler ¶
type InputHandler struct { *ext.BaseHandler // contains filtered or unexported fields }
func (*InputHandler) GetName ¶
func (ih *InputHandler) GetName() string
func (*InputHandler) ReadInput ¶
func (ih *InputHandler) ReadInput(ch chan entity.InputData)
type InputHandlerFactory ¶
type InputHandlerFactory struct {
*lib.BaseExtensionPoint
}
func NewInputHandlerFactory ¶
func NewInputHandlerFactory() (ihf *InputHandlerFactory)
func (*InputHandlerFactory) NewInputHandler ¶
func (ihf *InputHandlerFactory) NewInputHandler(ie entity.InputEntry) ext.InputHandler
Click to show internal directories.
Click to hide internal directories.