Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 101 for badpod (0.17 sec)

  1. platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec.groovy

            buildFile << """
                apply plugin: "groovy"
                ${mavenCentralRepository()}
                compileGroovy.options.failOnError = false
            """.stripIndent()
    
            and:
            badCode()
    
            expect:
            succeeds 'compileGroovy'
        }
    
        def "compile bad groovy code do not fail the build when groovyOptions.failOnError is false"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 27K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/cache/desired_state_of_world.go

    type DesiredStateOfWorld interface {
    	// AddNode adds the given node to the list of nodes managed by the attach/
    	// detach controller.
    	// If the node already exists this is a no-op.
    	AddNode(nodeName k8stypes.NodeName)
    
    	// AddPod adds the given pod to the list of pods that reference the
    	// specified volume and is scheduled to the specified node.
    	// A unique volumeName is generated from the volumeSpec and returned on
    	// success.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            this.settingsIndexName = settingsIndexName;
            this.initialSettings = initialSettings;
            this.timeoutSettings = timeoutSettings;
    
            this.badWordIndexName = settingsIndexName + "-badword";
            this.elevateWordIndexName = settingsIndexName + "-elevateword";
        }
    
        public void init() {
            if (initialized) {
                return;
            }
            initialized = true;
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    func randIP(s *string, r *rand.Rand) {
    	*s = fmt.Sprintf("10.20.%d.%d", r.Int31n(256), r.Int31n(256))
    }
    
    // randPod changes fields in pod to mimic another pod from the same replicaset.
    // The list fields here has been generated by picking two pods in the same replicaset
    // and checking diff of their jsons.
    func randPod(b *testing.B, pod *v1.Pod, r *rand.Rand) {
    	pod.Name = fmt.Sprintf("%s-%x", pod.GenerateName, r.Int63n(1000))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. plugin/pkg/auth/authorizer/node/graph.go

    	})
    	g.destinationEdgeIndex[n.ID()] = index
    }
    
    // AddPod should only be called once spec.NodeName is populated.
    // It sets up edges for the following relationships (which are immutable for a pod once bound to a node):
    //
    //	pod       -> node
    //	secret    -> pod
    //	configmap -> pod
    //	pvc       -> pod
    //	svcacct   -> pod
    func (g *Graph) AddPod(pod *corev1.Pod) {
    	start := time.Now()
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/cycle_state.go

    type StateData interface {
    	// Clone is an interface to make a copy of StateData. For performance reasons,
    	// clone should make shallow copies for members (e.g., slices or maps) that are not
    	// impacted by PreFilter's optional AddPod/RemovePod methods.
    	Clone() StateData
    }
    
    // StateKey is the type of keys stored in CycleState.
    type StateKey string
    
    // CycleState provides a mechanism for plugins to store and retrieve arbitrary data.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 06:48:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set.go

    	curPod := cur.(*v1.Pod)
    	oldPod := old.(*v1.Pod)
    	if curPod.ResourceVersion == oldPod.ResourceVersion {
    		// In the event of a re-list we may receive update events for all known pods.
    		// Two different versions of the same pod will always have different RVs.
    		return
    	}
    
    	labelChanged := !reflect.DeepEqual(curPod.Labels, oldPod.Labels)
    
    	curControllerRef := metav1.GetControllerOf(curPod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. pkg/controller/statefulset/stateful_set_test.go

    	om.setsIndexer.Add(set1)
    	om.setsIndexer.Add(set2)
    
    	ssc.addPod(logger, pod1)
    	key, done := ssc.queue.Get()
    	if key == "" || done {
    		t.Error("failed to enqueue StatefulSet")
    	} else if expectedKey, _ := controller.KeyFunc(set1); expectedKey != key {
    		t.Errorf("expected StatefulSet key %s found %s", expectedKey, key)
    	}
    	ssc.queue.Done(key)
    
    	ssc.addPod(logger, pod2)
    	key, done = ssc.queue.Get()
    	if key == "" || done {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go

    			return err
    		}
    		status := pl.fh.RunPreFilterExtensionRemovePod(ctx, state, pod, rpi, nodeInfo)
    		if !status.IsSuccess() {
    			return status.AsError()
    		}
    		return nil
    	}
    	addPod := func(api *framework.PodInfo) error {
    		nodeInfo.AddPodInfo(api)
    		status := pl.fh.RunPreFilterExtensionAddPod(ctx, state, pod, api, nodeInfo)
    		if !status.IsSuccess() {
    			return status.AsError()
    		}
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 25 19:36:04 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/metrics/metrics_test.go

    	volumeName := v1.UniqueVolumeName("volume-name")
    	volumeSpec := controllervolumetesting.GetTestVolumeSpec(string(volumeName), volumeName)
    	nodeName := k8stypes.NodeName("node-name")
    
    	dsw.AddNode(nodeName)
    	_, err := dsw.AddPod(types.UniquePodName(podName), controllervolumetesting.NewPod(podName, podName), volumeSpec, nodeName)
    	if err != nil {
    		t.Fatalf("Expected no error, got %v", err)
    	}
    	logger, _ := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top