Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for regular (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// IndexerFuncs is used for optimizing amount of watchers that
    	// needs to process an incoming event.
    	IndexerFuncs storage.IndexerFuncs
    
    	// Indexers is used to accelerate the list operation, falls back to regular list
    	// operation if no indexer found.
    	Indexers *cache.Indexers
    
    	// NewFunc is a function that creates new empty object storing a object of type Type.
    	NewFunc func() runtime.Object
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	}
    	m.recorder.Event(ref, eventType, reason, eventMessage)
    }
    
    // startSpec wraps the spec required to start a container, either a regular/init container
    // or an ephemeral container. Ephemeral containers contain all the fields of regular/init
    // containers, plus some additional fields. In both cases startSpec.container will be set.
    type startSpec struct {
    	container          *v1.Container
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  3. pkg/registry/core/pod/strategy_test.go

    	}
    }
    
    func TestEphemeralContainerStrategyValidateUpdate(t *testing.T) {
    
    	test := []struct {
    		name   string
    		newPod *api.Pod
    		oldPod *api.Pod
    	}{
    		{
    			name: "add ephemeral container to regular pod and expect success",
    			oldPod: &api.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:            "test-pod",
    					Namespace:       "test-ns",
    					ResourceVersion: "1",
    				},
    				Spec: api.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    				ContainersToStart:     []int{},
    				ContainersToKill:      getKillMapWithInitContainers(basePod, baseStatus, []int{}),
    			},
    		},
    		"restart terminated restartable init container and regular containers": {
    			mutatePodFn: func(pod *v1.Pod) { pod.Spec.RestartPolicy = v1.RestartPolicyAlways },
    			mutateStatusFn: func(pod *v1.Pod, status *kubecontainer.PodStatus) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/runtime/framework.go

    		// Reorder plugins. Here is the expected order:
    		// - part 1: overridePlugins. Their order stay intact as how they're specified in regular extension point.
    		// - part 2: multiPointEnabled - i.e., plugin defined in multipoint but not in regular extension point.
    		// - part 3: other plugins (excluded by part 1 & 2) in regular extension point.
    		newPlugins := reflect.New(reflect.TypeOf(e.slicePtr).Elem()).Elem()
    		// part 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  6. src/testing/testing.go

    //
    // To write a new test suite, create a file that
    // contains the TestXxx functions as described here,
    // and give that file a name ending in "_test.go".
    // The file will be excluded from regular
    // package builds but will be included when the "go test" command is run.
    //
    // The test file can be in the same package as the one being tested,
    // or in a corresponding package with the suffix "_test".
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. pkg/apis/batch/validation/validation.go

    		}
    	}
    	if opts.RejectFailedIndexesForNoBackoffLimitPerIndex {
    		// Note that this check also verifies that FailedIndexes are not used for
    		// regular (non-indexed) jobs, because regular jobs have backoffLimitPerIndex = nil.
    		if job.Spec.BackoffLimitPerIndex == nil && status.FailedIndexes != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  8. src/runtime/malloc.go

    		// processes.
    		//
    		// Space mapped for user arenas comes immediately after the range
    		// originally reserved for the regular heap when race mode is not
    		// enabled because user arena chunks can never be used for regular heap
    		// allocations and we want to avoid fragmenting the address space.
    		//
    		// In race mode we have no choice but to just use the same hints because
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	}
    
    	// Close the file descriptor.
    	defer file.Close()
    
    	st, err := file.Stat()
    	if err != nil {
    		return 0, err
    	}
    
    	// Verify it is a regular file, otherwise subsequent Seek is
    	// undefined.
    	if !st.Mode().IsRegular() {
    		return 0, errIsNotRegular
    	}
    
    	if verifier == nil {
    		n, err = file.ReadAt(buffer, offset)
    		return int64(n), err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    		return &v1.Pod{
    			Spec: v1.PodSpec{
    				Containers: []v1.Container{
    					{Name: "regular"},
    				},
    			},
    		}
    	}
    	newPodWithRestartableInitContainers := func() *v1.Pod {
    		restartPolicyAlways := v1.ContainerRestartPolicyAlways
    		return &v1.Pod{
    			Spec: v1.PodSpec{
    				Containers: []v1.Container{
    					{Name: "regular"},
    				},
    				InitContainers: []v1.Container{
    					{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
Back to top