Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PasswordIdentityDef ¶
func PasswordIdentityDef() *eventline.IdentityDef
func TokenIdentityDef ¶
func TokenIdentityDef() *eventline.IdentityDef
Types ¶
type Connector ¶
type Connector struct { Def *eventline.ConnectorDef Cfg *ConnectorCfg Log *dlog.Logger }
func NewConnector ¶
func NewConnector() *Connector
func (*Connector) DefaultCfg ¶
func (c *Connector) DefaultCfg() eventline.ConnectorCfg
func (*Connector) Definition ¶
func (c *Connector) Definition() *eventline.ConnectorDef
func (*Connector) Init ¶
func (c *Connector) Init(ccfg eventline.ConnectorCfg, initData eventline.ConnectorInitData) error
type ConnectorCfg ¶
type ConnectorCfg struct { }
func (*ConnectorCfg) Check ¶
func (cfg *ConnectorCfg) Check(c *check.Checker)
type PasswordIdentity ¶
type PasswordIdentity struct { Username string `json:"username"` Password string `json:"password"` }
func (*PasswordIdentity) Check ¶
func (i *PasswordIdentity) Check(c *check.Checker)
func (*PasswordIdentity) Def ¶
func (i *PasswordIdentity) Def() *eventline.IdentityDataDef
func (*PasswordIdentity) Environment ¶
func (i *PasswordIdentity) Environment() map[string]string
type TokenIdentity ¶
func (*TokenIdentity) Check ¶
func (i *TokenIdentity) Check(c *check.Checker)
func (*TokenIdentity) Def ¶
func (i *TokenIdentity) Def() *eventline.IdentityDataDef
func (*TokenIdentity) Environment ¶
func (i *TokenIdentity) Environment() map[string]string
Click to show internal directories.
Click to hide internal directories.