Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 436 for Value (0.13 sec)

  1. cmd/iam-etcd-store.go

    	for _, kv := range kvs {
    		user := extractPathPrefixAndSuffix(string(kv.Key), prefix, path.Base(string(kv.Key)))
    		users.Add(user)
    	}
    	return users
    }
    
    // Extract path string by stripping off the `prefix` value and the suffix,
    // value, usually in the following form.
    //
    //	s := "config/iam/users/foo/config.json"
    //	prefix := "config/iam/users/"
    //	suffix := "config.json"
    //	result is foo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/data-usage-utils.go

    		metrics = append(metrics, MetricV2{
    			Description:    getClusterTransitionedBytesMD(),
    			Value:          float64(st.TotalSize),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    		metrics = append(metrics, MetricV2{
    			Description:    getClusterTransitionedObjectsMD(),
    			Value:          float64(st.NumObjects),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-diff.go

    		Short: "Compare manifests and generate diff",
    		Long: "The diff subcommand compares manifests from two files or directories. The output is a list of\n" +
    			"changed paths with the value changes shown as OLD-VALUE -> NEW-VALUE.\n" +
    			"List order changes are shown as [OLD-INDEX->NEW-INDEX], with ? used where a list item is added or\n" +
    			"removed.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 2 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle-handlers_test.go

    			accessKey:          creds.AccessKey,
    			secretKey:          creds.SecretKey,
    			body:               []byte(`<LifecycleConfiguration><Rule><ID>id</ID><Filter><Prefix>logs/</Prefix><Tag><Key>Key1</Key><Value>Value1</Value></Tag></Filter><Status>Enabled</Status><Expiration><Days>365</Days></Expiration></Rule></LifecycleConfiguration>`),
    			expectedRespStatus: http.StatusBadRequest,
    			lifecycleResponse:  []byte(``),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  5. internal/config/bool-flag.go

    func FormatBool(b bool) string {
    	if b {
    		return "on"
    	}
    	return "off"
    }
    
    // ParseBool returns the boolean value represented by the string.
    // It accepts 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False.
    // Any other value returns an error.
    func ParseBool(str string) (bool, error) {
    	switch str {
    	case "1", "t", "T", "true", "TRUE", "True", "on", "ON", "On":
    		return true, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 07 15:10:40 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  6. internal/config/cache/cache.go

    )
    
    // DefaultKVS - default KV config for cache settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   Enable,
    		Value: "off",
    	},
    	config.KV{
    		Key:   Endpoint,
    		Value: "",
    	},
    	config.KV{
    		Key:   BlockSize,
    		Value: "",
    	},
    }
    
    // Config represents the subnet related configuration
    type Config struct {
    	// Flag indicating whether cache is enabled.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. istioctl/pkg/internaldebug/internal-debug.go

    	mappedResp := map[string]string{}
    	for id, dr := range drs {
    		for _, resource := range dr.Resources {
    			if s.InternalDebugAllIstiod {
    				mappedResp[id] = string(resource.Value) + "\n"
    			} else {
    				_, _ = s.Writer.Write(resource.Value)
    				_, _ = s.Writer.Write([]byte("\n"))
    			}
    		}
    	}
    	if len(mappedResp) > 0 {
    		mresp, err := json.MarshalIndent(mappedResp, "", "  ")
    		if err != nil {
    			return err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. cmd/signature-v4_test.go

    		query := url.Values{}
    		for key, value := range testCase.queryParams {
    			query.Set(key, value)
    		}
    
    		// Create a request to use.
    		req, e := http.NewRequest(http.MethodGet, "http://host/a/b?"+query.Encode(), nil)
    		if e != nil {
    			t.Errorf("(%d) failed to create http.Request, got %v", i, e)
    		}
    
    		// Do the same for the headers.
    		for key, value := range testCase.headers {
    			req.Header.Set(key, value)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  9. internal/s3select/errors.go

    		code:       "InvalidRequestParameter",
    		message:    "The value of a parameter in SelectRequest element is invalid. Check the service API documentation and try again.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidScanRangeParameter(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidRequestParameter",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 14 16:48:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  10. src/archive/tar/format.go

    // If the checksum fails, then FormatUnknown is returned.
    func (b *block) getFormat() Format {
    	// Verify checksum.
    	var p parser
    	value := p.parseOctal(b.toV7().chksum())
    	chksum1, chksum2 := b.computeChecksum()
    	if p.err != nil || (value != chksum1 && value != chksum2) {
    		return FormatUnknown
    	}
    
    	// Guess the magic values.
    	magic := string(b.toUSTAR().magic())
    	version := string(b.toUSTAR().version())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
Back to top