Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Barnes (0.18 sec)

  1. internal/kms/single-key.go

    	"github.com/secure-io/sio-go/sioutil"
    	"golang.org/x/crypto/chacha20"
    	"golang.org/x/crypto/chacha20poly1305"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    // Parse parses s as single-key KMS. The given string
    // is expected to have the following format:
    //
    //	<key-id>:<base64-key>
    //
    // The returned KMS implementation uses the parsed
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  2. cmd/encryption-v1.go

    	k, err := crypto.SSECopy.ParseHTTP(h)
    	return k[:], err
    }
    
    // ParseSSECustomerRequest parses the SSE-C header fields of the provided request.
    // It returns the client provided key on success.
    func ParseSSECustomerRequest(r *http.Request) (key []byte, err error) {
    	return ParseSSECustomerHeader(r.Header)
    }
    
    // ParseSSECustomerHeader parses the SSE-C header fields and returns
    // the client provided key on success.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle.go

    	OutputLocation   OutputLocation     `xml:"OutputLocation,omitempty"`
    }
    
    // Maximum 2MiB size per restore object request.
    const maxRestoreObjectRequestSize = 2 << 20
    
    // parseRestoreRequest parses RestoreObjectRequest from xml
    func parseRestoreRequest(reader io.Reader) (*RestoreObjectRequest, error) {
    	req := RestoreObjectRequest{}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  4. cmd/handler-utils.go

    	xnet "github.com/minio/pkg/v2/net"
    	"golang.org/x/exp/maps"
    	"golang.org/x/exp/slices"
    )
    
    const (
    	copyDirective    = "COPY"
    	replaceDirective = "REPLACE"
    	accessDirective  = "ACCESS"
    )
    
    // Parses location constraint from the incoming reader.
    func parseLocationConstraint(r *http.Request) (location string, s3Error APIErrorCode) {
    	// If the request has no body with content-length set to 0,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  5. cmd/iam-store.go

    }
    
    func (d *PolicyDoc) update(p policy.Policy) {
    	now := UTCNow().Round(time.Millisecond)
    	d.UpdateDate = now
    	if d.CreateDate.IsZero() {
    		d.CreateDate = now
    	}
    	d.Policy = p
    }
    
    // parseJSON parses both the old and the new format for storing policy
    // definitions.
    //
    // The on-disk format of policy definitions has changed (around early 12/2021)
    // from policy.Policy to PolicyDoc. To avoid a migration, loading supports
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. src/cmd/asm/internal/asm/parse.go

    		ext = tok.String()
    	}
    	if p.peek() == lex.LSH {
    		// parses left shift amount applied after extension: <<Amount
    		p.get(lex.LSH)
    		tok := p.get(scanner.Int)
    		amount, err := strconv.ParseInt(tok.String(), 10, 16)
    		if err != nil {
    			p.errorf("parsing left shift amount: %s", err)
    		}
    		num = int16(amount)
    	} else if p.peek() == '[' {
    		// parses an element: [Index]
    		p.get('[')
    		tok := p.get(scanner.Int)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. internal/event/name.go

    	if err := json.Unmarshal(data, &s); err != nil {
    		return err
    	}
    
    	eventName, err := ParseName(s)
    	if err != nil {
    		return err
    	}
    
    	*name = eventName
    	return nil
    }
    
    // ParseName - parses string to Name.
    func ParseName(s string) (Name, error) {
    	switch s {
    	case "s3:BucketCreated:*":
    		return BucketCreated, nil
    	case "s3:BucketRemoved:*":
    		return BucketRemoved, nil
    	case "s3:ObjectAccessed:*":
    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)
  8. cmd/update.go

    	updateTimeout     = 10 * time.Second
    )
    
    // For windows our files have .exe additionally.
    var minioReleaseWindowsInfoURL = MinioReleaseURL + "minio.exe.sha256sum"
    
    // minioVersionToReleaseTime - parses a standard official release
    // MinIO version string.
    //
    // An official binary's version string is the release time formatted
    // with RFC3339 (in UTC) - e.g. `2017-09-29T19:16:56Z`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  9. cmd/iam.go

    		}
    		sys.rolesMap[arn] = rolePolicies
    	}
    }
    
    // Prints IAM role ARNs.
    func (sys *IAMSys) printIAMRoles() {
    	if len(sys.rolesMap) == 0 {
    		return
    	}
    	var arns []string
    	for arn := range sys.rolesMap {
    		arns = append(arns, arn.String())
    	}
    	sort.Strings(arns)
    	msgs := make([]string, 0, len(arns))
    	for _, arn := range arns {
    		msgs = append(msgs, color.Bold(arn))
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  10. internal/bucket/lifecycle/expiration.go

    )
    
    // ExpirationDays is a type alias to unmarshal Days in Expiration
    type ExpirationDays int
    
    // UnmarshalXML parses number of days from Expiration and validates if
    // greater than zero
    func (eDays *ExpirationDays) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error {
    	var numDays int
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
Back to top