Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for unversionedKinds (0.13 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/scheme.go

    		// TODO: when we move to server API versions, we should completely remove the unversioned concept
    		if unversionedKind, ok := s.unversionedTypes[t]; ok {
    			if gvk, ok := target.KindForGroupVersionKinds([]schema.GroupVersionKind{unversionedKind}); ok {
    				return copyAndSetTargetKind(copy, in, gvk)
    			}
    			return copyAndSetTargetKind(copy, in, unversionedKind)
    		}
    		return nil, NewNotRegisteredErrForTarget(s.schemeName, t, target)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 25.2K bytes
    - Viewed (0)
  2. pkg/auth/authorizer/abac/abac.go

    	if err != nil {
    		return nil, err
    	}
    	defer file.Close()
    
    	scanner := bufio.NewScanner(file)
    	pl := make(PolicyList, 0)
    
    	decoder := abac.Codecs.UniversalDecoder()
    
    	i := 0
    	unversionedLines := 0
    	for scanner.Scan() {
    		i++
    		p := &abac.Policy{}
    		b := scanner.Bytes()
    
    		// skip comment lines and blank lines
    		trimmed := strings.TrimSpace(string(b))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 11 03:11:30 UTC 2021
    - 7.4K bytes
    - Viewed (0)
Back to top