Documentation ¶
Overview ¶
Package kubernetes_events implements the loki.source.kubernetes_events component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ JobName: "loki.source.kubernetes_events", Client: kubernetes.ClientArguments{ HTTPClientConfig: config.DefaultHTTPClientConfig, }, }
DefaultArguments holds default settings for loki.source.kubernetes_events.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { ForwardTo []loki.LogsReceiver `river:"forward_to,attr"` JobName string `river:"job_name,attr,optional"` Namespaces []string `river:"namespaces,attr,optional"` // Client settings to connect to Kubernetes. Client kubernetes.ClientArguments `river:"client,block,optional"` }
Arguments holds values which are used to configure the loki.source.kubernetes_events component.
func (*Arguments) SetToDefault ¶ added in v0.35.0
func (args *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
Component implements the loki.source.kubernetes_events component, which watches events from Kubernetes and forwards received events to other Loki components.
func (*Component) DebugInfo ¶
func (c *Component) DebugInfo() interface{}
DebugInfo implements component.DebugComponent.
Click to show internal directories.
Click to hide internal directories.