Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NewSet (0.09 sec)

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

    // and should not be modified by the user.
    func (svcStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set {
    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    // PrepareForCreate sets contextual defaults and 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 Apr 11 13:09:36 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. pkg/apis/resource/validation/validation.go

    			// but not added.
    			if resourceClaim.DeletionTimestamp != nil || resourceClaim.Status.DeallocationRequested {
    				oldSet := sets.New(oldClaim.Status.ReservedFor...)
    				newSet := sets.New(resourceClaim.Status.ReservedFor...)
    				newItems := newSet.Difference(oldSet)
    				if len(newItems) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    throw new RuntimeException(e);
                }
            }
    
            private <T> Set<T> concat(Set<T> set, T elem) {
                Set<T> newSet = new HashSet<>(set);
                newSet.add(elem);
                return newSet;
            }
    
            @SuppressWarnings("checkstyle:parameternumber")
            private InterimResult build(
                    Map<File, MavenProject> projectIndex,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_node_status.go

    		newCMAAnnotation, newSet = node.Annotations[volutil.ControllerManagedAttachAnnotation]
    	)
    
    	if newCMAAnnotation == existingCMAAnnotation {
    		return false
    	}
    
    	// If the just-constructed node and the existing node do
    	// not have the same value, update the existing node with
    	// the correct value of the annotation.
    	if !newSet {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. pkg/test/framework/testcontext.go

    	}
    	return tmp
    }
    
    func (c *testContext) newChildContext(test *testImpl) *testContext {
    	return newTestContext(test, test.goTest, c.suite, c.scope, label.NewSet(test.labels...))
    }
    
    func (c *testContext) NewSubTest(name string) Test {
    	if c.test == nil {
    		panic(fmt.Sprintf("Attempting to create subtest %s from a TestContext with no associated Test", name))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. 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)
  7. tests/integration/pilot/common/routing.go

    					Timeout: time.Millisecond * 100,
    					Count:   1,
    					Check:   c.checker,
    				},
    			})
    		}
    	}
    }
    
    func jwtClaimRoute(t TrafficContext) {
    	if t.Settings().Selector.Excludes(label.NewSet(label.IPv4)) {
    		t.Skipf("https://github.com/istio/istio/issues/35835")
    	}
    	configRoute := `
    apiVersion: networking.istio.io/v1alpha3
    kind: Gateway
    metadata:
      name: gateway
    spec:
      selector:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
Back to top