Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Delete (0.54 sec)

  1. istioctl/pkg/waypoint/waypoint.go

    	waypointDeleteCmd := &cobra.Command{
    		Use:   "delete",
    		Short: "Delete a waypoint configuration",
    		Long:  "Delete a waypoint configuration from the cluster",
    		Example: `  # Delete a waypoint from the default namespace
      istioctl x waypoint delete
    
      # Delete a waypoint by name, which can obtain from istioctl x waypoint list
      istioctl x waypoint delete waypoint-name --namespace default
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 16:16:40 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    			if versioned || suspended {
    				// Bucket is versioned and no version was explicitly
    				// mentioned for deletes, create a delete marker instead.
    				vr.ModTime = UTCNow()
    				vr.Deleted = true
    				// Versioning suspended means that we add a `null` version
    				// delete marker, if not add a new version for this delete
    				// marker.
    				if versioned {
    					vr.VersionID = mustGetUUID()
    				}
    			}
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  3. cmd/iam-store.go

    					delete(cache.iamUsersMap, k)
    				}
    			}
    			for k, u := range cache.iamSTSAccountsMap {
    				if u.Credentials.ParentUser == accessKey {
    					delete(cache.iamSTSAccountsMap, k)
    				}
    			}
    		}
    
    		// 3. Delete any mapped policy
    		cache.iamUserPolicyMap.Delete(accessKey)
    
    		return nil
    	}
    
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  4. cni/pkg/ipset/nldeps_linux.go

    	err := netlink.IpsetDel(name, &netlink.IPSetEntry{
    		IP:       net.IP(ip.AsSlice()),
    		Protocol: &ipProto,
    	})
    	if err != nil {
    		return fmt.Errorf("failed to delete IP %s with and proto %d from ipset %s: %w", ip, ipProto, name, err)
    	}
    	return nil
    }
    
    func (m *realDeps) flush(name string) error {
    	err := netlink.IpsetFlush(name)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net.go

    	}
    
    	log.Debug("in pod mode - removing pod from ztunnel")
    	if err := s.ztunnelServer.PodDeleted(ctx, string(pod.UID)); err != nil {
    		log.Errorf("failed to delete pod from ztunnel: %v", err)
    	}
    	return nil
    }
    
    // Delete pod from mesh: pod is deleted. iptables rules will die with it, we just need to update ztunnel
    func (s *NetServer) DelPodFromMesh(ctx context.Context, pod *corev1.Pod) error {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  6. cmd/erasure-multipart.go

    			// the object. The presence of parts that don't belong in the object doesn't affect correctness.
    			_ = storageDisks[index].Delete(context.TODO(), minioMetaMultipartBucket, curpartPath, DeleteOptions{
    				Recursive: false,
    				Immediate: false,
    			})
    			_ = storageDisks[index].Delete(context.TODO(), minioMetaMultipartBucket, curpartPath+".meta", DeleteOptions{
    				Recursive: false,
    				Immediate: false,
    			})
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    	for k := range foundDirs {
    		delete(foundDirs, k)
    	}
    
    	// Populate into map
    	for _, k := range dirs {
    		foundDirs[k] = struct{}{}
    	}
    
    	// Delete all directories we expect to be there.
    	for _, dir := range wantDirs {
    		delete(foundDirs, dir)
    	}
    
    	// Nothing to delete
    	if len(foundDirs) == 0 {
    		return nil
    	}
    
    	// Delete excessive inline entries.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    			var deleteMarkers uint64
    
    			for i, nerr := range errs {
    				if nerr != nil {
    					continue
    				}
    				for _, fi := range versions[i].Versions {
    					if fi.Deleted {
    						// Delete markers are a write operation not a permanent delete.
    						deleteMarkers++
    						continue
    					}
    					permanentDeletes++
    				}
    			}
    			if deleteMarkers > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    			return objInfo, InsufficientWriteQuorum{}
    		}
    		return objInfo, err
    	}
    
    	// Delete marker already present we are not going to create new delete markers.
    	if pinfo.ObjInfo.DeleteMarker && opts.VersionID == "" {
    		pinfo.ObjInfo.Name = decodeDirObject(object)
    		return pinfo.ObjInfo, nil
    	}
    
    	// Delete concurrently in all server pools with read quorum error for unversioned objects.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  10. cmd/erasure-metadata.go

    func (e ErasureInfo) ShardSize() int64 {
    	return ceilFrac(e.BlockSize, int64(e.DataBlocks))
    }
    
    // IsValid - tells if erasure info fields are valid.
    func (fi FileInfo) IsValid() bool {
    	if fi.Deleted {
    		// Delete marker has no data, no need to check
    		// for erasure coding information
    		return true
    	}
    	dataBlocks := fi.Erasure.DataBlocks
    	parityBlocks := fi.Erasure.ParityBlocks
    	correctIndexes := (fi.Erasure.Index > 0 &&
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
Back to top