Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Attributes (0.26 sec)

  1. docs/debugging/xattr/main.go

    	flag.StringVar(&name, "name", "", "attribute name or it can be a wildcard if '.' is specified")
    	flag.Uint64Var(&value, "value", 0, "attribute value expects the value to be uint64")
    	flag.BoolVar(&set, "set", false, "this is a set attribute operation")
    
    	flag.Parse()
    
    	if set && value == 0 {
    		log.Fatalln("setting an attribute requires a non-zero value")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. internal/event/name.go

    	case ObjectAccessedGetLegalHold:
    		return "s3:ObjectAccessed:GetLegalHold"
    	case ObjectAccessedHead:
    		return "s3:ObjectAccessed:Head"
    	case ObjectAccessedAttributes:
    		return "s3:ObjectAccessed:Attributes"
    	case ObjectCreatedAll:
    		return "s3:ObjectCreated:*"
    	case ObjectCreatedCompleteMultipartUpload:
    		return "s3:ObjectCreated:CompleteMultipartUpload"
    	case ObjectCreatedCopy:
    		return "s3:ObjectCreated:Copy"
    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)
  3. internal/logger/console.go

    	// and freely move in the screen.
    	for _, line := range strings.Split(errMsg, "\n") {
    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    		for {
    			// Save the attributes of the current cursor helps
    			// us save the text color of the passed error message
    			ansiSaveAttributes()
    			// Print banner with or without the log tag
    			if !tagPrinted {
    				fmt.Fprint(Output, logBanner)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/table/writer.go

    type Cell struct {
    	Value      string
    	Attributes []color.Attribute
    }
    
    type Row struct {
    	Cells []Cell
    }
    
    func NewCell(value string, attributes ...color.Attribute) Cell {
    	attrs := append([]color.Attribute{}, attributes...)
    	return Cell{value, attrs}
    }
    
    func (cell Cell) String() string {
    	if len(cell.Attributes) == 0 {
    		return cell.Value
    	}
    	s := color.New(cell.Attributes...)
    	s.EnableColor()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  5. internal/s3select/select_test.go

    {
      "name": "small_pdf1.pdf",
      "lume_id": "9507193e-572d-4f95-bcf1-e9226d96be65",
      "elements": [
        {
          "element_type": "__elem__image",
          "element_id": "859d09c4-7cf1-4a37-9674-3a7de8b56abc",
          "attributes": {
            "__attr__image_dpi": 300,
            "__attr__image_size": [
              2550,
              3299
            ],
            "__attr__image_index": 1,
            "__attr__image_format": "JPEG",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  6. finisher_api.go

    func (db *DB) Update(column string, value interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Dest = map[string]interface{}{column: value}
    	return tx.callbacks.Update().Execute(tx)
    }
    
    // Updates updates attributes using callbacks. values must be a struct or map. Reference: https://gorm.io/docs/update.html#Update-Changed-Fields
    func (db *DB) Updates(values interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Dest = values
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload.go

    			// Explicit status port set, use that
    			excludePorts += fmt.Sprintf(",%d", config.StatusPort)
    		} else {
    			// use default status port
    			excludePorts += ",15020"
    		}
    	}
    	// default attributes and service name, namespace, ports, service account, service CIDR
    	overrides := map[string]string{
    		"ISTIO_INBOUND_PORTS":       portBehavior,
    		"ISTIO_NAMESPACE":           wg.Namespace,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  8. cmd/object-api-options.go

    			valid = false
    			return
    		}
    	}
    
    	return
    }
    
    func parseObjectAttributes(h http.Header) (attributes map[string]struct{}) {
    	attributes = make(map[string]struct{})
    	for _, v := range strings.Split(strings.TrimSpace(h.Get(xhttp.AmzObjectAttributes)), ",") {
    		if v != "" {
    			attributes[v] = struct{}{}
    		}
    	}
    
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		Code:           "InvalidRequest",
    		Description:    "This copy request is illegal because it is trying to copy an object to itself without changing the object's metadata, storage class, website redirect location or encryption attributes.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCopySource: {
    		Code:           "InvalidArgument",
    		Description:    "Copy Source must mention the source bucket and key: sourcebucket/sourcekey.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  10. chainable_api.go

    	if tx.Statement.Preloads == nil {
    		tx.Statement.Preloads = map[string][]interface{}{}
    	}
    	tx.Statement.Preloads[query] = args
    	return
    }
    
    // Attrs provide attributes used in [FirstOrCreate] or [FirstOrInit]
    //
    // Attrs only adds attributes if the record is not found.
    //
    //	// assign an email if the record is not found
    //	db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
Back to top