Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeletConfigFetcher ¶
type KubeletConfigFetcher interface { // GetKubeletConfig returns the configuration of kubelet. GetKubeletConfig(ctx context.Context) (*native.KubeletConfiguration, error) }
KubeletConfigFetcher is used to get the configuration of kubelet.
func NewFakeKubeletConfigFetcher ¶
func NewFakeKubeletConfigFetcher(kubeletConfig native.KubeletConfiguration) KubeletConfigFetcher
NewFakeKubeletConfigFetcher returns a fakeKubeletConfigFetcherImpl.
func NewKubeletConfigFetcher ¶
func NewKubeletConfigFetcher(baseConf *global.BaseConfiguration, emitter metrics.MetricEmitter) KubeletConfigFetcher
NewKubeletConfigFetcher returns a KubeletConfigFetcher
Click to show internal directories.
Click to hide internal directories.