Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ Client: kubernetes.ClientArguments{ HTTPClientConfig: config.DefaultHTTPClientConfig, }, }
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct {
// Client settings to connect to Kubernetes.
Client kubernetes.ClientArguments `river:"client,block,optional"`
ForwardTo []storage.Appendable `river:"forward_to,attr"`
// Namespaces to search for monitor resources. Empty implies All namespaces
Namespaces []string `river:"namespaces,attr,optional"`
// LabelSelector allows filtering discovered monitor resources by labels
LabelSelector *config.LabelSelector `river:"selector,block,optional"`
}
func (*Arguments) UnmarshalRiver ¶
type DebugInfo ¶
type DebugInfo struct {
DiscoveredCRDs []*DiscoveredResource `river:"crds,block"`
Targets []scrape.TargetStatus `river:"targets,block,optional"`
}
Click to show internal directories.
Click to hide internal directories.