Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fieldPtr (0.13 sec)

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

    		return nil
    	}
    	return fmt.Errorf("couldn't assign/convert %v to %v", field.Type(), destValue.Type())
    }
    
    // FieldPtr puts the address of fieldName, which must be a member of v,
    // into dest, which must be an address of a variable to which this field's
    // address can be assigned.
    func FieldPtr(v reflect.Value, fieldName string, dest interface{}) error {
    	field := v.FieldByName(fieldName)
    	if !field.IsValid() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 13 22:54:34 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/algorithm.go

    	}
    	fieldErr := c.coerce(pth, obj, s, schemaOpts)
    	sort.Strings(schemaOpts.UnknownFieldPaths)
    	return fieldErr, schemaOpts.UnknownFieldPaths
    }
    
    // Coerce calls CoerceWithOptions without returning unknown field paths.
    func Coerce(pth *field.Path, obj interface{}, s *structuralschema.Structural, isResourceRoot, dropInvalidFields bool) *field.Error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 14:55:12 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/capmanagers.go

    			APIVersion: version,
    		})
    		if err != nil {
    			return managed, fmt.Errorf("failed to create bucket manager for version %v: %v", version, err)
    		}
    
    		// Merge the fieldets if this is not the first time the version was seen.
    		// Otherwise just record the manager name in versionToFirstManager
    		if first, ok := versionToFirstManager[version]; ok {
    			// If the bucket doesn't exists yet, create one.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top