Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for NewSet (0.35 sec)

  1. pkg/registry/core/pod/strategy.go

    // and should not be modified by the user.
    func (podStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set {
    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    // PrepareForCreate clears fields that are not allowed to be set by end users on creation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go

    	fields := map[fieldpath.APIVersion]*fieldpath.Set{}
    
    	if a.status != nil {
    		fields[fieldpath.APIVersion(a.kind.GroupVersion().String())] = fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		)
    	}
    
    	return fields
    }
    
    // PrepareForCreate clears the status of a CustomResource before creation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 21:22:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. pkg/test/framework/suite.go

    	s := &suiteImpl{
    		testID:      testID,
    		mRun:        fn,
    		osExit:      osExit,
    		getSettings: getSettingsFn,
    		labels:      label.NewSet(),
    	}
    
    	return s
    }
    
    func (s *suiteImpl) EnvironmentFactory(fn resource.EnvironmentFactory) Suite {
    	if fn != nil && s.envFactory != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top