Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for embedFileInZip (0.12 seconds)

  1. cmd/admin-handlers.go

    		sb.WriteString(pool.CmdLine)
    	}
    	sb.WriteString("\n")
    	adminLogIf(ctx, embedFileInZip(inspectZipW, "inspect-input.txt", sb.Bytes(), 0o600))
    
    	err := o.GetRawData(ctx, volume, file, rawDataFn)
    	if err != nil {
    		if errors.Is(err, errFileNotFound) {
    			addErr("GetRawData: No files matched the given pattern")
    			return
    		}
    		embedFileInZip(inspectZipW, "GetRawData-err.txt", []byte(err.Error()), 0o600)
    		adminLogIf(ctx, err)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  2. cmd/notification.go

    	// of profiling data of all nodes
    	zipWriter := zip.NewWriter(writer)
    	defer zipWriter.Close()
    
    	// Start by embedding cluster info.
    	if b := getClusterMetaInfo(ctx); len(b) > 0 {
    		internalLogIf(ctx, embedFileInZip(zipWriter, "cluster.info", b, 0o600))
    	}
    
    	// Profiles can be quite big, so we limit to max 16 concurrent downloads.
    	ng := WithNPeersThrottled(len(sys.peerClients), 16)
    	var writeMu sync.Mutex
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
Back to Top