Documentation ¶
Index ¶
- func NewChannelForwarder(ch chan []byte) *channelForwarder
- func NewDiscardForwarder() *discardForwarder
- func NewLogForwarder(log logr.Logger) *logForwarder
- func NewRawChannelForwarder(ch chan types.SignalReport) *rawChannelForwarder
- func NewTLSForwarder(address string, logger logr.Logger, tlsOpts ...TLSOpt) (*tlsForwarder, error)
- type TLSOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChannelForwarder ¶
func NewChannelForwarder(ch chan []byte) *channelForwarder
NewChannelForwarder creates new channelForwarder.
func NewDiscardForwarder ¶
func NewDiscardForwarder() *discardForwarder
NewDiscardForwarder creates a new discardForwarder which discards all received data.
func NewLogForwarder ¶
NewLogForwarder creates new logForwarded which uses the provided logger to print all the received data.
func NewRawChannelForwarder ¶
func NewRawChannelForwarder(ch chan types.SignalReport) *rawChannelForwarder
NewRawChannelForwarder creates new rawChannelForwarder.
Types ¶
Click to show internal directories.
Click to hide internal directories.