Documentation
¶
Index ¶
- type Controller
- type ControllerConfig
- type LigoloAgent
- func (la *LigoloAgent) AddListener(addr string, network string, to string) (*proxy.LigoloListener, error)
- func (la *LigoloAgent) Alive() bool
- func (la *LigoloAgent) DeleteListener(id int)
- func (la *LigoloAgent) GetListener(id int) *proxy.LigoloListener
- func (la *LigoloAgent) Kill() error
- func (la *LigoloAgent) MarshalJSON() ([]byte, error)
- func (la *LigoloAgent) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
Network string
Connection chan net.Conn
ControllerConfig
// contains filtered or unexported fields
}
func New ¶
func New(config ControllerConfig) Controller
func (*Controller) GetSelfCertificateSignature ¶ added in v0.8.1
func (c *Controller) GetSelfCertificateSignature() (*tls.Certificate, error)
func (*Controller) ListenAndServe ¶
func (c *Controller) ListenAndServe()
func (*Controller) WaitForFinished ¶ added in v0.8.1
func (c *Controller) WaitForFinished() error
func (*Controller) WaitForReady ¶
func (c *Controller) WaitForReady() error
type ControllerConfig ¶
type ControllerConfig struct {
Address string
CertManagerConfig *tlsutils.CertManagerConfig
// contains filtered or unexported fields
}
type LigoloAgent ¶
type LigoloAgent struct {
Name string
Network []protocol.NetInterface
Session *yamux.Session
SessionID string
CloseChan chan bool `json:"-"`
Interface string
Running bool
Listeners []*proxy.LigoloListener
}
func (*LigoloAgent) AddListener ¶ added in v0.7.3
func (la *LigoloAgent) AddListener(addr string, network string, to string) (*proxy.LigoloListener, error)
func (*LigoloAgent) Alive ¶ added in v0.8.1
func (la *LigoloAgent) Alive() bool
func (*LigoloAgent) DeleteListener ¶ added in v0.7.3
func (la *LigoloAgent) DeleteListener(id int)
func (*LigoloAgent) GetListener ¶ added in v0.7.3
func (la *LigoloAgent) GetListener(id int) *proxy.LigoloListener
func (*LigoloAgent) Kill ¶ added in v0.8.1
func (la *LigoloAgent) Kill() error
func (*LigoloAgent) MarshalJSON ¶ added in v0.8.1
func (la *LigoloAgent) MarshalJSON() ([]byte, error)
func (*LigoloAgent) String ¶
func (la *LigoloAgent) String() string
Click to show internal directories.
Click to hide internal directories.