Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for Values (0.14 sec)

  1. internal/s3select/sql/value.go

    func FromBool(b bool) *Value {
    	return &Value{value: b}
    }
    
    // FromTimestamp creates a Value from a timestamp
    func FromTimestamp(t time.Time) *Value {
    	return &Value{value: t}
    }
    
    // FromNull creates a Value with Null value
    func FromNull() *Value {
    	return &Value{value: nil}
    }
    
    // FromMissing creates a Value with Missing value
    func FromMissing() *Value {
    	return &Value{value: Missing{}}
    }
    
    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)
  2. cmd/listen-notification-handlers.go

    			return
    		}
    	}
    
    	values := r.Form
    
    	var prefix string
    	if len(values[peerRESTListenPrefix]) > 1 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrFilterNamePrefix), r.URL)
    		return
    	}
    
    	if len(values[peerRESTListenPrefix]) == 1 {
    		if err := event.ValidateFilterRuleValue(values[peerRESTListenPrefix][0]); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. internal/grid/types.go

    func NewURLValuesWith(values map[string][]string) *URLValues {
    	u := URLValues(values)
    	return &u
    }
    
    // Values returns the url.Values.
    // If u is nil, an empty url.Values is returned.
    // The values are a shallow copy of the underlying map.
    func (u *URLValues) Values() url.Values {
    	if u == nil {
    		return url.Values{}
    	}
    	return url.Values(*u)
    }
    
    // Recycle the underlying map.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. internal/config/identity/openid/provider/keycloak.go

    func (k *KeycloakProvider) LoginWithClientID(clientID, clientSecret string) error {
    	values := url.Values{}
    	values.Set("client_id", clientID)
    	values.Set("client_secret", clientSecret)
    	values.Set("grant_type", "client_credentials")
    
    	req, err := http.NewRequest(http.MethodPost, k.oeConfig.TokenEndpoint, strings.NewReader(values.Encode()))
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 4.6K bytes
    - Viewed (0)
  5. cmd/kms-handlers.go

    		pattern += "*"
    	}
    
    	var values []kes.KeyInfo
    	for name, err := keys.SeekTo(ctx, pattern); err != io.EOF; name, err = keys.Next(ctx) {
    		if err != nil {
    			writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    			return
    		}
    		values = append(values, kes.KeyInfo{
    			Name: name,
    		})
    	}
    	if res, err := json.Marshal(values); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. cmd/bootstrap-peer-server.go

    		}
    	}
    	msg := "Expected same MINIO_ environment variables and values across all servers: "
    	if len(missing) > 0 {
    		msg += fmt.Sprintf(`Missing environment values: %v. `, missing)
    	}
    	if len(mismatching) > 0 {
    		msg += fmt.Sprintf(`Mismatching environment values: %v. `, mismatching)
    	}
    	if len(extra) > 0 {
    		msg += fmt.Sprintf(`Extra environment values: %v. `, extra)
    	}
    
    	return errors.New(strings.TrimSpace(msg))
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[invalidVersionType-0]
    	_ = x[ObjectType-1]
    	_ = x[DeleteType-2]
    	_ = x[LegacyType-3]
    	_ = x[lastVersionType-4]
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Dec 02 19:29:16 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  8. internal/config/api/help.go

    import "github.com/minio/minio/internal/config"
    
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// Help holds configuration keys and their default values for api subsystem.
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         apiRequestsMax,
    			Description: `set the maximum number of concurrent requests` + defaultHelpPostfix(apiRequestsMax),
    			Optional:    true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 15 01:07:19 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  9. cmd/metrics-v2.go

    			),
    			metricType,
    			metric.Value,
    			values...)
    		return true
    	})
    }
    
    func getOrderedLabelValueArrays(labelsWithValue map[string]string) (labels, values []string) {
    	labels = make([]string, 0, len(labelsWithValue))
    	values = make([]string, 0, len(labelsWithValue))
    	for l, v := range labelsWithValue {
    		labels = append(labels, l)
    		values = append(values, v)
    	}
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  10. internal/event/name.go

    // for most basic values we have since extend this and its not really much applicable other than a reference point.
    // "s3:Replication:OperationCompletedReplication" is a MinIO extension.
    type Name int
    
    // Values of event Name
    const (
    	// Single event types (does not require expansion)
    
    	ObjectAccessedGet Name = 1 + iota
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top