Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for isCreate (0.28 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/ConfigurationSpec.groovy

    @CompileStatic
    class ConfigurationSpec extends MultiSectionHandler {
        private final String name
        private final Supplier<Boolean> isCreate
    
        ConfigurationSpec(String name, Supplier<Boolean> isCreate) {
            this.name = name
            this.isCreate = isCreate
        }
    
        @Override
        String getSectionName() {
            name
        }
    
        void extendsFrom(String... superConfs) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. cmd/iam-etcd-store.go

    						isCreateEvent := event.IsModify() || event.IsCreate()
    						isDeleteEvent := event.Type == etcd.EventTypeDelete
    
    						switch {
    						case isCreateEvent:
    							ch <- iamWatchEvent{
    								isCreated: true,
    								keyPath:   string(event.Kv.Key),
    							}
    						case isDeleteEvent:
    							ch <- iamWatchEvent{
    								isCreated: false,
    								keyPath:   string(event.Kv.Key),
    							}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/cache/secretcache.go

    		case event, ok := <-sc.certWatcher.Events:
    			// Channel is closed.
    			if !ok {
    				return
    			}
    			// We only care about updates that change the file content
    			if !(isWrite(event) || isRemove(event) || isCreate(event)) {
    				continue
    			}
    			sc.certMutex.RLock()
    			resources := make(map[FileCert]struct{})
    			for k, v := range sc.fileCerts {
    				resources[k] = v
    			}
    			sc.certMutex.RUnlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/project/ProjectLifecycleController.java

            this.buildServices = buildServices;
            controller = factory.newController(displayName, State.NotCreated);
        }
    
        public boolean isCreated() {
            return project != null;
        }
    
        public void createMutableModel(
            DefaultProjectDescriptor descriptor,
            BuildState build,
            ProjectState owner,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/build/AbstractBuildState.java

            BuildProjectRegistry projectsForThisBuild = getProjectStateRegistry().findProjectsFor(getBuildIdentifier());
            return projectsForThisBuild != null && projectsForThisBuild.getRootProject().isCreated();
        }
    
        @Override
        public void ensureProjectsConfigured() {
            getBuildController().configureProjects();
        }
    
        @Override
        public GradleInternal getMutableModel() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    		}
    		namespaceScoped = scoper.NamespaceScoped()
    	}
    
    	// what verbs are supported by the storage, used to know what verbs we support per path
    	creater, isCreater := storage.(rest.Creater)
    	namedCreater, isNamedCreater := storage.(rest.NamedCreater)
    	lister, isLister := storage.(rest.Lister)
    	getter, isGetter := storage.(rest.Getter)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_control.go

    }
    
    func computeReplicaStatus(pods []*v1.Pod, minReadySeconds int32, currentRevision, updateRevision *apps.ControllerRevision) replicaStatus {
    	status := replicaStatus{}
    	for _, pod := range pods {
    		if isCreated(pod) {
    			status.replicas++
    		}
    
    		// count the number of running and ready replicas
    		if isRunningAndReady(pod) {
    			status.readyReplicas++
    			// count the number of running and available replicas
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  8. pkg/controller/statefulset/stateful_set_utils.go

    }
    
    func isRunningAndAvailable(pod *v1.Pod, minReadySeconds int32) bool {
    	return podutil.IsPodAvailable(pod, minReadySeconds, metav1.Now())
    }
    
    // isCreated returns true if pod has been created and is maintained by the API server
    func isCreated(pod *v1.Pod) bool {
    	return pod.Status.Phase != ""
    }
    
    // isPending returns true if pod has a Phase of PodPending
    func isPending(pod *v1.Pod) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    		d.Policy = doc.Policy
    		return nil
    	}
    	*d = doc
    	return nil
    }
    
    // key options
    type options struct {
    	ttl int64 // expiry in seconds
    }
    
    type iamWatchEvent struct {
    	isCreated bool // !isCreated implies a delete event.
    	keyPath   string
    }
    
    // iamCache contains in-memory cache of IAM data.
    type iamCache struct {
    	updatedAt time.Time
    
    	// map of policy names to policy definitions
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_control_test.go

    		t.Error(err)
    	}
    	recreatedPod := findPodByOrdinal(pods, terminalPodOrdinal)
    	// new recreated pod should have empty phase
    	if recreatedPod == nil || isCreated(recreatedPod) {
    		t.Error("StatefulSet did not recreate failed Pod")
    	}
    	expectedNumberOfCreateRequests := 2
    	if monotonic := !allowsBurst(set); !monotonic {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
Back to top