Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ForwardInput ¶
type ForwardInput struct { helper.InputOperator // contains filtered or unexported fields }
ForwardInput is an operator that reads input from stdin
func (*ForwardInput) ServeHTTP ¶
func (f *ForwardInput) ServeHTTP(wr http.ResponseWriter, req *http.Request)
func (*ForwardInput) Start ¶
func (f *ForwardInput) Start() error
Start will start generating log entries.
type ForwardInputConfig ¶
type ForwardInputConfig struct { helper.InputConfig `yaml:",inline"` ListenAddress string `json:"listen_address" yaml:"listen_address"` TLS *TLSConfig `json:"tls" yaml:"tls"` }
ForwardInputConfig is the configuration of a forward input operator
func NewForwardInputConfig ¶
func NewForwardInputConfig(operatorID string) *ForwardInputConfig
NewForwardInputConfig creates a new stdin input config with default values
func (*ForwardInputConfig) Build ¶
func (c *ForwardInputConfig) Build(context operator.BuildContext) ([]operator.Operator, error)
Build will build a forward input operator.
Click to show internal directories.
Click to hide internal directories.