Documentation ¶
Overview ¶
Package kubelet implements a discovery.kubelet component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Arguments{ URL: config.URL{ URL: defaultKubeletURL, }, HTTPClientConfig: config.DefaultHTTPClientConfig, }
DefaultConfig holds defaults for SDConfig.
Functions ¶
Types ¶
type Arguments ¶
type Arguments struct { URL config.URL `river:"url,attr,optional"` Interval time.Duration `river:"refresh_interval,attr,optional"` HTTPClientConfig config.HTTPClientConfig `river:",squash"` Namespaces []string `river:"namespaces,attr,optional"` }
Arguments configures the discovery.kubelet component.
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.