Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for isRemove (0.22 sec)

  1. security/pkg/nodeagent/cache/secretcache.go

    	for {
    		select {
    		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)
  2. cmd/admin-handlers-users_test.go

    	c.mustListObjects(ctx, uClient, bucket)
    
    	// 6. Verify that group cannot be deleted with users.
    	err = s.adm.UpdateGroupMembers(ctx, madmin.GroupAddRemove{
    		Group:    group,
    		IsRemove: true,
    	})
    	if err == nil {
    		c.Fatalf("group was removed!")
    	}
    	groupInfo, err = s.adm.GetGroupDescription(ctx, group)
    	if err != nil {
    		c.Fatalf("group desc err: %v", err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    		if member == globalActiveCred.AccessKey {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errIAMActionNotAllowed), r.URL)
    			return
    		}
    	}
    
    	var updatedAt time.Time
    	if updReq.IsRemove {
    		updatedAt, err = globalIAMSys.RemoveUsersFromGroup(ctx, updReq.Group, updReq.Members)
    	} else {
    		// Check if group already exists
    		if _, gerr := globalIAMSys.GetGroupDescription(updReq.Group); gerr != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    	if !updatedAt.IsZero() {
    		if gd, err := globalIAMSys.GetGroupDescription(updReq.Group); err == nil && gd.UpdatedAt.After(updatedAt) {
    			return nil
    		}
    	}
    
    	if updReq.IsRemove {
    		_, err = globalIAMSys.RemoveUsersFromGroup(ctx, updReq.Group, updReq.Members)
    	} else {
    		if updReq.Status != "" && len(updReq.Members) == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  5. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/DefaultWatchableFileSystemDetector.java

                        fileSystem.getMountPoint(),
                        fileSystem.getDeviceName(),
                        fileSystem.isRemote()
                    );
                    // We don't support network file systems
                    if (fileSystem.isRemote()) {
                        return true;
                    }
                    return !SUPPORTED_FILE_SYSTEM_TYPES.contains(fileSystem.getFileSystemType());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle_test.go

    		// Set transition status to complete
    		fi.TransitionStatus = lifecycle.TransitionComplete
    		fi.Metadata = tc.meta
    		if got := fi.IsRemote(); got != tc.remote {
    			t.Fatalf("Test %d.a: expected %v got %v", i+1, tc.remote, got)
    		}
    		oi := fi.ToObjectInfo("bucket", "object", false)
    		if got := oi.IsRemote(); got != tc.remote {
    			t.Fatalf("Test %d.b: expected %v got %v", i+1, tc.remote, got)
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  7. pkg/test/framework/components/cluster/cluster.go

    	// IsConfig returns true if this is a config cluster, used as the source of
    	// Istio config for one or more control planes.
    	IsConfig() bool
    
    	// IsRemote returns true if this is a remote cluster, which uses a control plane
    	// residing in another cluster.
    	IsRemote() bool
    
    	// IsExternalControlPlane returns true if this is a cluster containing an instance
    	// of the Istio control plane but with its source of config in another cluster.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/tasks/incremental/InputFileDetails.java

         * @return if the file was modified
         */
        boolean isModified();
    
        /**
         * Was the file removed?
         * @return true if the file was removed since the last execution
         */
        boolean isRemoved();
    
        /**
         * The input file, which may no longer exist.
         * @return the input file
         */
        File getFile();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 05 07:18:07 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  9. pkg/test/framework/components/cluster/topology.go

    	if _, f := knownClusterNames[c.Name()]; f {
    		return c.Name()
    	}
    	if c.IsPrimary() {
    		if c.IsConfig() {
    			prefix = "primary"
    		} else {
    			prefix = "externalistiod"
    		}
    	} else if c.IsRemote() {
    		if c.IsConfig() {
    			prefix = "config"
    		} else {
    			prefix = "remote"
    		}
    	}
    
    	return fmt.Sprintf("%s-%d", prefix, c.Index)
    }
    
    func (c Topology) IsPrimary() bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/NonIncrementalInputChanges.java

                return false;
            }
    
            @Override
            public boolean isModified() {
                return false;
            }
    
            @Override
            public boolean isRemoved() {
                return false;
            }
    
            @Override
            public boolean equals(Object o) {
                if (this == o) {
                    return true;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top