Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ContentNames (0.11 sec)

  1. pilot/pkg/config/file/store.go

    	s.shas = make(map[kubeResourceKey]resourceSha)
    	s.byFile = make(map[string]map[kubeResourceKey]config.GroupVersionKind)
    	s.inner = memory.MakeSkipValidation(*s.schemas)
    }
    
    // ContentNames returns the names known to this source.
    func (s *KubeSource) ContentNames() map[string]struct{} {
    	s.mu.Lock()
    	defer s.mu.Unlock()
    
    	result := sets.New[string]()
    	for n := range s.byFile {
    		result.Insert(n)
    	}
    
    	return result
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top