Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 64 for Us (0.19 sec)

  1. cmd/net.go

    // The logic to sort by last octet is implemented to
    // prefer CIDRs with higher octets, this in-turn skips the
    // localhost/loopback address to be not preferred as the
    // first ip on the list. Subsequently this list helps us print
    // a user friendly message with appropriate values.
    func sortIPs(ipList []string) []string {
    	if len(ipList) == 1 {
    		return ipList
    	}
    
    	var ipV4s []net.IP
    	var nonIPs []string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	// create user policy mapping on peer cluster if missing
    	us := info.UserStats[user]
    
    	c.RLock()
    	defer c.RUnlock()
    	if !c.enabled {
    		return nil
    	}
    	var (
    		latestID, latestPeerName string
    		lastUpdate               time.Time
    		latestUserStat           srUserStatsSummary
    	)
    	for dID, ss := range us {
    		if lastUpdate.IsZero() {
    			lastUpdate = ss.userPolicy.UpdatedAt
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  3. docs/metrics/prometheus/grafana/node/minio-node.json

          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "minio_node_drive_latency_us{job=~\"$scrape_jobs\",server=\"$server\"}",
              "interval": "",
              "legendFormat": "[{{drive}}:{{api}}]",
              "refId": "B"
            }
          ],
          "title": "Drive Latency (micro sec)",
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 15:14:26 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. cmd/api-response.go

    	if err.HTTPStatusCode == http.StatusServiceUnavailable {
    		// Set retry-after header to indicate user-agents to retry request after 120secs.
    		// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
    		w.Header().Set(xhttp.RetryAfter, "120")
    	}
    
    	switch err.Code {
    	case "InvalidRegion":
    		err.Description = fmt.Sprintf("Region does not match; expecting '%s'.", globalSite.Region)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  5. internal/event/config_test.go

    		{config1, "", []ARN{{TargetID{"1", "webhook"}, ""}}},
    		{config2, "us-east-1", []ARN{{TargetID{"1", "webhook"}, "us-east-1"}}},
    		{config2, "", []ARN{{TargetID{"1", "webhook"}, ""}}},
    		{config3, "us-east-1", []ARN{{TargetID{"1", "webhook"}, "us-east-1"}, {TargetID{"2", "amqp"}, "us-east-1"}}},
    		{config3, "", []ARN{{TargetID{"1", "webhook"}, ""}, {TargetID{"2", "amqp"}, ""}}},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 29K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom.go

    	Version int          `msg:"v"`
    	Pools   []PoolStatus `msg:"pls"`
    
    	// Value should not be saved when we have not loaded anything yet.
    	dontSave bool `msg:"-"`
    }
    
    // A decommission resumable tells us if decommission is worth
    // resuming upon restart of a cluster.
    func (p *poolMeta) returnResumablePools() []PoolStatus {
    	var newPools []PoolStatus
    	for _, pool := range p.Pools {
    		if pool.Decommission == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  7. internal/config/lambda/event/arn_test.go

    	testCases := []struct {
    		arn            ARN
    		expectedResult string
    	}{
    		{ARN{}, ""},
    		{ARN{TargetID{"1", "webhook"}, ""}, "arn:minio:s3-object-lambda::1:webhook"},
    		{ARN{TargetID{"1", "webhook"}, "us-east-1"}, "arn:minio:s3-object-lambda:us-east-1:1:webhook"},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.arn.String()
    
    		if result != testCase.expectedResult {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/list.md

    | `minio_node_drive_free_inodes`         | Total free inodes.                                                  |
    | `minio_node_drive_latency_us`          | Average last minute latency in µs for drive API storage operations. |
    | `minio_node_drive_offline_total`       | Total drives offline in this node.                                  |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
  9. internal/arn/arn_test.go

    				Service:      "iam",
    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "my-role",
    			},
    			want: "arn:minio:iam:us-east-1::role/my-role",
    		},
    		{
    			arn: ARN{
    				Partition:    "minio",
    				Service:      "",
    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "my-role",
    			},
    			want: "arn:minio::us-east-1::role/my-role",
    		},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. internal/disk/stat_windows.go

    import (
    	"errors"
    	"fmt"
    	"os"
    	"syscall"
    	"unsafe"
    
    	"golang.org/x/sys/windows"
    )
    
    var (
    	kernel32 = windows.NewLazySystemDLL("kernel32.dll")
    
    	// GetDiskFreeSpaceEx - https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx
    	// Retrieves information about the amount of space that is available on a disk volume,
    	// which is the total amount of space, the total amount of free space, and the total
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top