Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Elias (0.12 sec)

  1. internal/config/subnet/subnet.go

    func (c Config) Upload(reqURL string, filename string, payload []byte) (string, error) {
    	if !c.Registered() {
    		return "", errors.New("Deployment is not registered with SUBNET. Please register the deployment via 'mc license register ALIAS'")
    	}
    
    	var body bytes.Buffer
    	writer := multipart.NewWriter(&body)
    	part, e := writer.CreateFormFile("file", filename)
    	if e != nil {
    		return "", e
    	}
    
    	if _, e = part.Write(payload); e != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 27 16:35:36 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  2. cmd/bucket-quota.go

    		if quotaCfg.Type == "fifo" {
    			internalLogIf(GlobalContext, errors.New("Detected older 'fifo' quota config, 'fifo' feature is removed and not supported anymore. Please clear your quota configs using 'mc admin bucket quota alias/bucket --clear' and use 'mc ilm add' for expiration of objects"), logger.WarningKind)
    			return quotaCfg, fmt.Errorf("invalid quota type 'fifo'")
    		}
    		return quotaCfg, fmt.Errorf("Invalid quota config %#v", quotaCfg)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/transition.go

    	if tDate.Time.IsZero() {
    		return nil
    	}
    	return e.EncodeElement(tDate.Format(time.RFC3339), startElement)
    }
    
    // TransitionDays is a type alias to unmarshal Days in Transition
    type TransitionDays int
    
    // UnmarshalXML parses number of days from Transition and validates if
    // >= 0
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  4. internal/s3select/sql/utils.go

    		parts[0] = e.BaseKey.String()
    		for i, pe := range e.PathExpr {
    			parts[i+1] = pe.String()
    		}
    		e.pathString = strings.Join(parts, "")
    	}
    	return e.pathString
    }
    
    // StripTableAlias removes a table alias from the path. The result is also
    // cached for repeated lookups during SQL query evaluation.
    func (e *JSONPath) StripTableAlias(tableAlias string) []*JSONPathElement {
    	if e.strippedTableAlias == tableAlias {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 10 16:12:50 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  5. utils/utils_unix_test.go

    			want: "/Users/name/go/pkg/mod/gorm.io/",
    		},
    		{
    			file: "/go/work/proj/gorm/utils/utils.go",
    			want: "/go/work/proj/gorm/",
    		},
    		{
    			file: "/go/work/proj/gorm_alias/utils/utils.go",
    			want: "/go/work/proj/gorm_alias/",
    		},
    		{
    			file: "/go/work/proj/my.gorm.io/gorm@v1.2.3/utils/utils.go",
    			want: "/go/work/proj/my.gorm.io/gorm@v1.2.3/",
    		},
    	}
    	for _, c := range cases {
    		s := sourceDir(c.file)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Nov 21 02:48:13 GMT 2022
    - 731 bytes
    - Viewed (0)
  6. utils/utils_windows_test.go

    			want: `C:/Users/name/go/pkg/mod/gorm.io/`,
    		},
    		{
    			file: `C:/go/work/proj/gorm/utils/utils.go`,
    			want: `C:/go/work/proj/gorm/`,
    		},
    		{
    			file: `C:/go/work/proj/gorm_alias/utils/utils.go`,
    			want: `C:/go/work/proj/gorm_alias/`,
    		},
    		{
    			file: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/utils/utils.go`,
    			want: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/`,
    		},
    	}
    	for _, c := range cases {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Nov 21 02:48:13 GMT 2022
    - 715 bytes
    - Viewed (0)
  7. clause/clause.go

    	PrimaryColumn = Column{Table: CurrentTable, Name: PrimaryKey}
    )
    
    // Column quote with name
    type Column struct {
    	Table string
    	Name  string
    	Alias string
    	Raw   bool
    }
    
    // Table quote with name
    type Table struct {
    	Name  string
    	Alias string
    	Raw   bool
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Feb 02 09:15:08 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. migrator/column_type.go

    	ScaleValue         sql.NullInt64
    	NullableValue      sql.NullBool
    	ScanTypeValue      reflect.Type
    	CommentValue       sql.NullString
    	DefaultValueValue  sql.NullString
    }
    
    // Name returns the name or alias of the column.
    func (ct ColumnType) Name() string {
    	if ct.NameValue.Valid {
    		return ct.NameValue.String
    	}
    	return ct.SQLColumnType.Name()
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  9. internal/s3select/sql/parser_test.go

    func TestParseSelectStatement(t *testing.T) {
    	exp, err := ParseSelectStatement("select _3,_1,_2 as 'mytest'  from S3object")
    	if err != nil {
    		t.Fatalf("parse alias sql error: %v", err)
    	}
    	if exp.selectAST.Expression.Expressions[2].As != "mytest" {
    		t.Fatalf("parse alias sql error: %s not equal %s", exp.selectAST.Expression.Expressions[2].As, err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  10. clause/expression_test.go

    		Vars:   []interface{}{clause.Column{Table: "table", Name: "col", Alias: "alias"}},
    		Result: "`table`.`col` AS `alias`",
    	}, {
    		SQL:    "?",
    		Vars:   []interface{}{clause.Column{Table: "table", Name: "col", Alias: "alias", Raw: true}},
    		Result: "table.col AS alias",
    	}, {
    		SQL:    "?",
    		Vars:   []interface{}{clause.Table{Name: "table", Alias: "alias"}},
    		Result: "`table` `alias`",
    	}, {
    		SQL:    "?",
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Aug 10 05:34:33 GMT 2023
    - 8.4K bytes
    - Viewed (0)
Back to top