Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getXListMapKeys (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/openapi/extensions.go

    	s, _ := schema.Extensions.GetString(extListType)
    	return s
    }
    
    func getXMapType(schema *spec.Schema) string {
    	s, _ := schema.Extensions.GetString(extMapType)
    	return s
    }
    
    func getXListMapKeys(schema *spec.Schema) []string {
    	mapKeys, ok := schema.Extensions.GetStringSlice(extListMapKeys)
    	if !ok {
    		return nil
    	}
    	return mapKeys
    }
    
    type ValidationRule struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 10 21:26:55 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/openapi/adaptor.go

    func (s *Schema) XListType() string {
    	return getXListType(s.Schema)
    }
    
    func (s *Schema) XMapType() string {
    	return getXMapType(s.Schema)
    }
    
    func (s *Schema) XListMapKeys() []string {
    	return getXListMapKeys(s.Schema)
    }
    
    func (s *Schema) XValidations() []common.ValidationRule {
    	return getXValidations(s.Schema)
    }
    
    func (s *Schema) WithTypeAndObjectMeta() common.Schema {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 10 21:26:55 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top