kubernetes/vendor/github.com/google/gnostic-models/compiler/reader.go

var verboseReader

var fileCache

var infoCache

var fileCacheEnable

var infoCacheEnable

var fileCacheMutex

var infoCacheMutex

func initializeFileCache() {}

func initializeInfoCache() {}

// EnableFileCache turns on file caching.
func EnableFileCache() {}

// EnableInfoCache turns on parsed info caching.
func EnableInfoCache() {}

// DisableFileCache turns off file caching.
func DisableFileCache() {}

// DisableInfoCache turns off parsed info caching.
func DisableInfoCache() {}

// RemoveFromFileCache removes an entry from the file cache.
func RemoveFromFileCache(fileurl string) {}

// RemoveFromInfoCache removes an entry from the info cache.
func RemoveFromInfoCache(filename string) {}

// GetInfoCache returns the info cache map.
func GetInfoCache() map[string]*yaml.Node {}

// ClearFileCache clears the file cache.
func ClearFileCache() {}

// ClearInfoCache clears the info cache.
func ClearInfoCache() {}

// ClearCaches clears all caches.
func ClearCaches() {}

// FetchFile gets a specified file from the local filesystem or a remote location.
func FetchFile(fileurl string) ([]byte, error) {}

func fetchFile(fileurl string) ([]byte, error) {}

// ReadBytesForFile reads the bytes of a file.
func ReadBytesForFile(filename string) ([]byte, error) {}

func readBytesForFile(filename string) ([]byte, error) {}

// ReadInfoFromBytes unmarshals a file as a *yaml.Node.
func ReadInfoFromBytes(filename string, bytes []byte) (*yaml.Node, error) {}

func readInfoFromBytes(filename string, bytes []byte) (*yaml.Node, error) {}

// ReadInfoForRef reads a file and return the fragment needed to resolve a $ref.
func ReadInfoForRef(basefile string, ref string) (*yaml.Node, error) {}