Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for reporting (0.17 sec)

  1. cmd/admin-handlers-config-kv.go

    // 2. `subsys:` -> request for config of a single subsystem and the default target.
    // 3. `subsys` -> request for config of all targets for the given subsystem.
    //
    // This is a reporting API and config secrets are redacted in the response.
    func (a adminAPIHandlers) GetConfigKVHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/archive/tar/writer.go

    func (zeroWriter) Write(b []byte) (int, error) {
    	for i, c := range b {
    		if c != 0 {
    			return i, errWriteHole
    		}
    	}
    	return len(b), nil
    }
    
    // ensureEOF checks whether r is at EOF, reporting ErrWriteTooLong if not so.
    func ensureEOF(r io.Reader) error {
    	n, err := tryReadFull(r, []byte{0})
    	switch {
    	case n > 0:
    		return ErrWriteTooLong
    	case err == io.EOF:
    		return nil
    	default:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  3. cmd/veeam-sos-api.go

    // - Model Name of the vendor plus version for statistical analysis.
    // - List of Smart Object Storage protocol capabilities supported by the server.
    // Currently, there are three capabilities supported:
    //   - Capacity Reporting
    //   - Backup data locality for upload sessions (Veeam Smart Entity)
    //   - Handover of IAM & STS Endpoints instead of manual definition in Veeam Backup & Replication. This allows Veeam
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  4. cmd/background-heal-ops.go

    				} else {
    					res, err = objAPI.HealObject(ctx, task.bucket, task.object, task.versionID, task.opts)
    				}
    			}
    
    			if bgSeq != nil {
    				// We increment relevant counter based on the heal result for prometheus reporting.
    				if err != nil {
    					bgSeq.countFailed(res)
    				} else {
    					bgSeq.countHeals(res.Type, false)
    				}
    			}
    
    			if task.respCh != nil {
    				task.respCh <- healResult{result: res, err: err}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    		return nil, ErrFieldTooLong
    	}
    	return buf, err
    }
    
    // discard skips n bytes in r, reporting an error if unable to do so.
    func discard(r io.Reader, n int64) error {
    	// If possible, Seek to the last byte before the end of the data section.
    	// Do this because Seek is often lazy about reporting errors; this will mask
    	// the fact that the stream may be truncated. We can rely on the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. istioctl/pkg/analyze/analyze.go

    	analysisCmd.PersistentFlags().BoolVarP(&allNamespaces, "all-namespaces", "A", false,
    		"Analyze all namespaces")
    	analysisCmd.PersistentFlags().StringArrayVarP(&suppress, "suppress", "S", []string{},
    		"Suppress reporting a message code on a specific resource. Values are supplied in the form "+
    			`<code>=<resource> (e.g. '--suppress "IST0102=DestinationRule primary-dr.default"'). Can be repeated. `+
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. cmd/admin-handler-utils.go

    		return toAPIError(ctx, fmt.Errorf("error exporting %s with: %w", fname, err))
    	}
    	return toAPIError(ctx, fmt.Errorf("error exporting %s from %s with: %w", entity, fname, err))
    }
    
    // wraps import error for more context
    func importError(ctx context.Context, err error, fname, entity string) APIError {
    	if entity == "" {
    		return toAPIError(ctx, fmt.Errorf("error importing %s with: %w", fname, err))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. internal/http/request-recorder.go

    	"io"
    )
    
    // RequestRecorder - records the
    // of a given io.Reader
    type RequestRecorder struct {
    	// Data source to record
    	io.Reader
    	// Response body should be logged
    	LogBody bool
    
    	// internal recording buffer
    	buf bytes.Buffer
    	// total bytes read including header size
    	bytesRead int
    }
    
    // Close is a no operation closer
    func (r *RequestRecorder) Close() error {
    	// no-op
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 12 21:37:19 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. internal/s3select/sql/value.go

    				return fmt.Errorf("Could not convert %s to a boolean", a.String())
    			}
    
    		default:
    			return errCmpMismatchedTypes
    		}
    		return nil
    
    	case !okA && okB:
    		// swap arguments to avoid repeating code
    		return inferTypesForCmp(b, a)
    
    	default:
    		// Does not happen
    		return nil
    	}
    }
    
    // Value arithmetic functions: we do not expose them outside the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    // contains reports whether c is inside the set.
    func (as *asciiSet) contains(c byte) bool {
    	return (as[c/32] & (1 << (c % 32))) != 0
    }
    
    // containsRune is a simplified version of strings.ContainsRune
    // to avoid importing the strings package.
    // We avoid bytes.ContainsRune to avoid allocating a temporary copy of s.
    func containsRune(s string, r rune) bool {
    	for _, c := range s {
    		if c == r {
    			return true
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top