INNER CODE UNIT · Go

writeToPathToTagsMapping

danielfoehrKn/kubeswitch · pkg/main.go:339

func writeToPathToTagsMapping(key string, value map[string]string) {
	pathToTagsMappingLock.Lock()
	defer pathToTagsMappingLock.Unlock()
	pathToTagsMapping[key] = value
}

func readFromPathToStoreID(key string) string {
	pathToStoreLock.RLock()
	defer pathToStoreLock.RUnlock()
	return pathToStoreID[key]
}

func writeToPathToStoreID(key string, value string) {
	pathToStoreLock.Lock()
	defer pathToStoreLock.Unlock()
	pathToStoreID[key] = value
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…