type Loader … type fsLoader … // NewFsLoader returns a Loader that loads a KubeletConfiguration from the `kubeletFile` func NewFsLoader(fs utilfs.Filesystem, kubeletFile string) (Loader, error) { … } func (loader *fsLoader) Load() (*kubeletconfig.KubeletConfiguration, error) { … } func (loader *fsLoader) LoadIntoJSON() ([]byte, *schema.GroupVersionKind, error) { … } // resolveRelativePaths makes relative paths absolute by resolving them against `root` func resolveRelativePaths(paths []*string, root string) { … }