Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for retrieved (0.22 sec)

  1. internal/bpool/bpool_test.go

    	}
    
    	// Check with width cap
    	if bufPool.WidthCap() != capWidth {
    		t.Fatalf("bytepool capWidth invalid: got %v want %v", bufPool.WidthCap(), capWidth)
    	}
    
    	// Check that retrieved buffer are of the expected width
    	b := bufPool.Get()
    	if len(b) != width {
    		t.Fatalf("bytepool length invalid: got %v want %v", len(b), width)
    	}
    	if cap(b) != capWidth {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 19:13:27 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. cmd/api-utils.go

    	if strings.ToLower(encodingType) == "url" {
    		return s3URLEncode(name)
    	}
    	return name
    }
    
    // getHandlerName returns the name of the handler function. It takes the type
    // name as a string to clean up the name retrieved via reflection. This function
    // only works correctly when the type is present in the cmd package.
    func getHandlerName(f http.HandlerFunc, cmdType string) string {
    	name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. cmd/metrics-v3-types.go

    		Help:           help,
    		VariableLabels: labels,
    	}
    }
    
    type metricValue struct {
    	Labels map[string]string
    	Value  float64
    }
    
    // MetricValues - type to set metric values retrieved while loading metrics. A
    // value of this type is passed to the `MetricsLoaderFn`.
    type MetricValues struct {
    	values      map[MetricName][]metricValue
    	descriptors map[MetricName]MetricDescriptor
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. cmd/sts-handlers.go

    		return
    	}
    
    	claims[expClaim] = UTCNow().Add(duration).Unix()
    	claims[parentClaim] = user.AccessKey
    
    	// Validate that user.AccessKey's policies can be retrieved - it may not
    	// be in case the user is disabled.
    	if _, err = globalIAMSys.PolicyDBGet(user.AccessKey, user.Groups...); err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  5. chainable_api.go

    					Column: clause.Column{Name: v, Raw: true},
    				}},
    			})
    		}
    	}
    	return
    }
    
    // Limit specify the number of records to be retrieved
    //
    // Limit conditions can be cancelled by using `Limit(-1)`.
    //
    //	// retrieve 3 users
    //	db.Limit(3).Find(&users)
    //	// retrieve 3 users into users1, and all users into users2
    //	db.Limit(3).Find(&users1).Limit(-1).Find(&users2)
    func (db *DB) Limit(limit int) (tx *DB) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  6. cmd/metrics-resource.go

    	latestDriveStats      map[string]madmin.DiskIOStats
    	latestDriveStatsMu    sync.RWMutex
    	lastDriveStatsRefresh time.Time
    )
    
    // PeerResourceMetrics represents the resource metrics
    // retrieved from a peer, along with errors if any
    type PeerResourceMetrics struct {
    	Metrics map[MetricSubsystem]ResourceMetrics
    	Errors  []string
    }
    
    // ResourceMetrics is a map of unique key identifying
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/proxyconfig.go

    		Use:   "cluster [<type>/]<name>[.<namespace>]",
    		Short: "Retrieves cluster configuration for the Envoy in the specified pod",
    		Long:  `Retrieve information about cluster configuration for the Envoy instance in the specified pod.`,
    		Example: `  # Retrieve summary about cluster configuration for a given pod from Envoy.
      istioctl proxy-config clusters <pod-name[.namespace]>
    
      # Retrieve cluster summary for clusters with port 9080.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		},
    		{ // supplying valid pod name retrieves Envoy config (fails because we don't check in Envoy config unit tests)
    			execClientConfig: loggingConfig,
    			args:             strings.Split("clusters httpbin-794b576b6c-qx6pf", " "),
    			expectedString:   `config dump has no configuration type`,
    			wantException:    true,
    		},
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. istioctl/pkg/util/configdump/secret.go

    				returnStr = base64.StdEncoding.EncodeToString(inlineBytes)
    				returnErr = nil
    			} else {
    				returnStr = ""
    				returnErr = fmt.Errorf("can not retrieve inlineBytes from trustCA section")
    			}
    		} else {
    			returnStr = ""
    			returnErr = fmt.Errorf("can not retrieve trustedCa from secret ROOTCA")
    		}
    	} else {
    		returnStr = ""
    		returnErr = fmt.Errorf("can not find ROOTCA from secret config dump")
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 25 04:09:53 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  10. internal/handlers/proxy.go

    	protoRegex = regexp.MustCompile(`(?i)^(;|,| )+(?:proto=)(https|http)`)
    )
    
    // GetSourceScheme retrieves the scheme from the X-Forwarded-Proto and RFC7239
    // Forwarded headers (in that order).
    func GetSourceScheme(r *http.Request) string {
    	var scheme string
    
    	// Retrieve the scheme from X-Forwarded-Proto.
    	if proto := r.Header.Get(xForwardedProto); proto != "" {
    		scheme = strings.ToLower(proto)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
Back to top