Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for patternsByNamespace (0.15 sec)

  1. pkg/config/crd/validator.go

    		vi.Add(parts[0], parts[1])
    	}
    	return vi
    }
    
    func (iv *ValidationIgnorer) Add(namespace, pattern string) {
    	iv.mu.Lock()
    	defer iv.mu.Unlock()
    	if iv.patternsByNamespace[namespace] == nil {
    		iv.patternsByNamespace[namespace] = sets.String{}
    	}
    	iv.patternsByNamespace[namespace].Insert(pattern)
    }
    
    // ShouldIgnore checks if a given namespaced name should be ignored based on the patterns.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 15:38:40 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top