Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginWatcher ¶
基于云原生的场景,我们其实可以不把插件放到minio等网络存储中,直接本地存储更高效 原因在于:云原生下使用pv来共享目录,多个pod公用共一个pv,再加上路径监听,就可以实现多个pod的插件加载
func NewPluginWatcher ¶
func NewPluginWatcher(dir string) (*PluginWatcher, error)
NewWatch creates a directory watcher and updates the cache when any file changes in that dir
func (*PluginWatcher) Watch ¶
func (w *PluginWatcher) Watch()
Watch watches for when kubelet updates the volume mount content
Click to show internal directories.
Click to hide internal directories.