Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostName ¶
func GetHostName(f *options.KubeletFlags) (string, string, error)
Types ¶
type DeviceAdvertiser ¶
type DeviceAdvertiser struct { KubeClient *clientset.Clientset DevMgr *device.DevicesManager // contains filtered or unexported fields }
func NewDeviceAdvertiser ¶
func NewDeviceAdvertiser(s *options.KubeletServer, dm *device.DevicesManager, thisNodeName string) (*DeviceAdvertiser, error)
func StartDeviceAdvertiser ¶
func StartDeviceAdvertiser(s *options.KubeletServer, done chan bool) (*DeviceAdvertiser, error)
func (*DeviceAdvertiser) AdvertiseLoop ¶
func (da *DeviceAdvertiser) AdvertiseLoop(intervalMs int, tryAgainIntervalMs int, done chan bool)
Click to show internal directories.
Click to hide internal directories.