Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for isRemove (0.15 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. 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)
  7. 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)
  8. 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)
  9. pkg/proxy/winkernel/hns.go

    		return nil, err
    	}
    	return &endpointInfo{ //TODO: fill out PA
    		ip:         hnsendpoint.IpConfigurations[0].IpAddress,
    		isLocal:    uint32(hnsendpoint.Flags&hcn.EndpointFlagsRemoteEndpoint) == 0, //TODO: Change isLocal to isRemote
    		macAddress: hnsendpoint.MacAddress,
    		hnsID:      hnsendpoint.Id,
    		hns:        hns,
    	}, nil
    }
    func (hns hns) getEndpointByIpAddress(ip string, networkName string) (*endpointInfo, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 21:21:12 UTC 2023
    - 15K bytes
    - Viewed (0)
  10. cmd/erasure-healing.go

    			// Legacy means heal always
    			// always check first.
    			return true, errLegacyXLMeta
    		}
    		if !latestMeta.Equals(meta) {
    			return true, errOutdatedXLMeta
    		}
    		if !meta.Deleted && !meta.IsRemote() {
    			// If xl.meta was read fine but there may be problem with the part.N files.
    			for _, partErr := range partsErrs {
    				if slices.Contains([]int{
    					checkPartFileNotFound,
    					checkPartFileCorrupt,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
Back to top