Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 259 for asString (0.14 sec)

  1. internal/s3select/sql/value.go

    		return nil
    	}
    	if x, ok := v.bytesToBool(); ok {
    		v.setBool(x)
    		return nil
    	}
    
    	asString := strings.TrimSpace(v.bytesToString())
    	if len(b) > 0 &&
    		(strings.HasPrefix(asString, "{") || strings.HasPrefix(asString, "[")) {
    		return nil
    	}
    
    	if t, err := parseSQLTimestamp(asString); err == nil {
    		v.setTimestamp(t)
    		return nil
    	}
    	if !utf8.Valid(b) {
    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/object-api-datatypes.go

    	CacheControl string
    
    	// Specify object storage class
    	StorageClass string
    
    	ReplicationStatusInternal string
    	ReplicationStatus         replication.StatusType
    	// User-Defined metadata
    	UserDefined map[string]string
    
    	// User-Defined object tags
    	UserTags string
    
    	// List of individual parts, maximum size of upto 10,000
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. cmd/iam-etcd-store.go

    	var u UserIdentity
    	err := getIAMConfig(&u, userkv.Value, string(userkv.Key))
    	if err != nil {
    		if err == errConfigNotFound {
    			return errNoSuchUser
    		}
    		return err
    	}
    	user := extractPathPrefixAndSuffix(string(userkv.Key), basePrefix, path.Base(string(userkv.Key)))
    	return ies.addUser(ctx, user, userType, u, m)
    }
    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)
  4. cmd/signature-v4_test.go

    	testCases := []struct {
    		queryParams map[string]string
    		headers     map[string]string
    		region      string
    		expected    APIErrorCode
    	}{
    		// (0) Should error without a set URL query.
    		{
    			region:   globalMinioDefaultRegion,
    			expected: ErrInvalidQueryParams,
    		},
    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":     signV4Algorithm,
    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)
  5. istioctl/pkg/workload/workload_test.go

    	tests := []struct {
    		name string
    		arg  []string
    		want map[string]string
    	}{
    		{name: "empty", arg: []string{""}, want: map[string]string{"": ""}},
    		{name: "one-valid", arg: []string{"key=value"}, want: map[string]string{"key": "value"}},
    		{name: "one-valid-double-equals", arg: []string{"key==value"}, want: map[string]string{"key": "=value"}},
    		{name: "one-key-only", arg: []string{"key"}, want: map[string]string{"key": ""}},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  6. cmd/peer-rest-client.go

    		peerRESTBucket: bucket,
    	}))
    	return err
    }
    
    // DeletePolicy - delete a specific canned policy.
    func (client *peerRESTClient) DeletePolicy(policyName string) (err error) {
    	_, err = deletePolicyRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTPolicy: policyName,
    	}))
    	return err
    }
    
    // LoadPolicy - reload a specific canned policy.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  7. cni/pkg/plugin/sidecar_redirect.go

    type Redirect struct {
    	targetPort           string
    	redirectMode         string
    	noRedirectUID        string
    	noRedirectGID        string
    	includeIPCidrs       string
    	excludeIPCidrs       string
    	excludeInboundPorts  string
    	excludeOutboundPorts string
    	includeInboundPorts  string
    	includeOutboundPorts string
    	kubevirtInterfaces   string
    	excludeInterfaces    string
    	dnsRedirect          bool
    	dualStack            bool
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. internal/event/target/elasticsearch.go

    	stop()
    	entryExists(context.Context, string, string) (bool, error)
    	removeEntry(context.Context, string, string) error
    	updateEntry(context.Context, string, string, event.Event) error
    	addEntry(context.Context, string, event.Event) error
    }
    
    // ElasticsearchArgs - Elasticsearch target arguments.
    type ElasticsearchArgs struct {
    	Enable     bool            `json:"enable"`
    	Format     string          `json:"format"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/listener.go

    }
    
    type filterchain struct {
    	match       string
    	destination string
    }
    
    var (
    	plaintextHTTPALPNs = []string{"http/1.0", "http/1.1", "h2c"}
    	istioHTTPPlaintext = []string{"istio", "istio-http/1.0", "istio-http/1.1", "istio-h2"}
    	httpTLS            = []string{"http/1.0", "http/1.1", "h2c", "istio-http/1.0", "istio-http/1.1", "istio-h2"}
    	tcpTLS             = []string{"istio-peer-exchange", "istio"}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest_shared_test.go

    // flags is passed to the command verbatim. If you set both flags and path, make sure to not use -f in flags.
    func runManifestCommand(command string, filenames []string, flags string, chartSource chartSourceType, fileSelect []string) (string, error) {
    	var args string
    	if command == "install" {
    		args = "install"
    	} else {
    		args = "manifest " + command
    	}
    	for _, f := range filenames {
    		args += " -f " + f
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
Back to top