Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for attributes (0.27 sec)

  1. 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)
  2. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. internal/config/identity/openid/provider/provider.go

    	ErrAccessTokenExpired = errors.New("access_token expired or unauthorized")
    )
    
    // Provider implements identity provider specific admin operations, such as
    // looking up users, fetching additional attributes etc.
    type Provider interface {
    	LoginWithUser(username, password string) error
    	LoginWithClientID(clientID, clientSecret string) error
    	LookupUser(userid string) (User, error)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 17:45:03 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. internal/config/identity/ldap/ldap.go

    	for _, dn := range userDistNames {
    		searchRequest := ldap.NewSearchRequest(
    			dn,
    			ldap.ScopeBaseObject, ldap.NeverDerefAliases, 0, 0, false,
    			filter,
    			[]string{}, // only need DN, so pass no attributes here
    			nil,
    		)
    
    		searchResult, err := conn.Search(searchRequest)
    		if err != nil {
    			// Object does not exist error?
    			if ldap.IsErrorWithCode(err, 32) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. internal/http/headers.go

    	AmzMaxParts             = "X-Amz-Max-Parts"
    	AmzPartNumberMarker     = "X-Amz-Part-Number-Marker"
    
    	// Constants used for GetObjectAttributes and GetObjectVersionAttributes
    	AmzObjectAttributes = "X-Amz-Object-Attributes"
    
    	AmzMetaUnencryptedContentLength = "X-Amz-Meta-X-Amz-Unencrypted-Content-Length"
    	AmzMetaUnencryptedContentMD5    = "X-Amz-Meta-X-Amz-Unencrypted-Content-Md5"
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  8. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  9. 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 Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  10. src/archive/tar/reader.go

    			}
    			continue // This is a meta header affecting the next header
    		default:
    			// The old GNU sparse format is handled here since it is technically
    			// just a regular file with additional attributes.
    
    			if err := mergePAX(hdr, paxHdrs); err != nil {
    				return nil, err
    			}
    			if gnuLongName != "" {
    				hdr.Name = gnuLongName
    			}
    			if gnuLongLink != "" {
    				hdr.Linkname = gnuLongLink
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top