kubeletconfig

package
v0.5.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL