Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for Seys (0.18 sec)

  1. internal/store/batch.go

    // Batch represents an ordered batch
    type Batch[K key, T any] struct {
    	keys  []K
    	items map[K]T
    	limit uint32
    
    	sync.Mutex
    }
    
    // Add adds the item to the batch
    func (b *Batch[K, T]) Add(key K, item T) error {
    	b.Lock()
    	defer b.Unlock()
    
    	if b.isFull() {
    		return ErrBatchFull
    	}
    
    	if _, ok := b.items[key]; !ok {
    		b.keys = append(b.keys, key)
    	}
    	b.items[key] = item
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  2. internal/event/targetlist.go

    	return targets
    }
    
    // List - returns available target IDs.
    func (list *TargetList) List() []TargetID {
    	list.RLock()
    	defer list.RUnlock()
    
    	keys := []TargetID{}
    	for k := range list.targets {
    		keys = append(keys, k)
    	}
    
    	return keys
    }
    
    func (list *TargetList) get(id TargetID) (Target, bool) {
    	list.RLock()
    	defer list.RUnlock()
    
    	target, ok := list.targets[id]
    	return target, ok
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  3. cmd/signature-v2.go

    	var keys []string
    	keyval := make(map[string]string, len(headers))
    	for key := range headers {
    		lkey := strings.ToLower(key)
    		if !strings.HasPrefix(lkey, "x-amz-") {
    			continue
    		}
    		keys = append(keys, lkey)
    		keyval[lkey] = strings.Join(headers[key], ",")
    	}
    	sort.Strings(keys)
    	var canonicalHeaders []string
    	for _, key := range keys {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  4. internal/auth/credentials_test.go

    	testCases := []struct {
    		accessKey   string
    		secretKey   string
    		valid       bool
    		expectedErr error
    	}{
    		// Valid access and secret keys with minimum length.
    		{alphaNumericTable[:accessKeyMinLen], alphaNumericTable[:secretKeyMinLen], true, nil},
    		// Valid access and/or secret keys are longer than minimum length.
    		{alphaNumericTable[:accessKeyMinLen+1], alphaNumericTable[:secretKeyMinLen+1], true, nil},
    		// Smaller access key.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  5. cmd/encryption-v1.go

    				ETag, err := etag.Parse(batch[i].ETag)
    				if err != nil {
    					return err
    				}
    				if SSES3SinglePartObjects[i] && ETag.IsEncrypted() {
    					ETag, err = etag.Decrypt(keys[0][:], ETag)
    					if err != nil {
    						return err
    					}
    					keys = keys[1:]
    				}
    				batch[i].ETag = ETag.Format().String()
    			}
    		}
    		objects = objects[N:]
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  6. cmd/api-response.go

    	// specified. If response does not include the NextMaker and it is truncated,
    	// you can use the value of the last Key in the response as the marker in the
    	// subsequent request to get the next set of object keys.
    	NextKeyMarker string `xml:"NextKeyMarker,omitempty"`
    
    	// When the number of responses exceeds the value of MaxKeys,
    	// NextVersionIdMarker specifies the first object version not
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  7. helm/minio/templates/_helpers.tpl

    .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets }} {{- end -}} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets }} {{- end -}} {{- end -}} {{/* Formats volumeMount for MinIO TLS keys and trusted certs */}} {{- define "minio.tlsKeysVolumeMount" -}} {{- if .Values.tls.enabled }} - name: cert-secret-volume mountPath: {{ .Values.certsPath }} {{- end }} {{- if or .Values.tls.enabled (ne .Values.trustedCertsSecret "") }} {{- $casPath...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 17 06:04:15 GMT 2023
    - 6.5K bytes
    - Viewed (2)
  8. internal/config/callhome/callhome.go

    package callhome
    
    import (
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v2/env"
    )
    
    // Callhome related keys
    const (
    	Enable    = "enable"
    	Frequency = "frequency"
    )
    
    // DefaultKVS - default KV config for subnet settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   Enable,
    		Value: "off",
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. docs/iam/identity-management-plugin.md

    | claims             | key-value pairs                         | Claims to be associated with the requested credentials |
    
    The keys "exp", "parent" and "sub" in the `claims` object are reserved and if present are ignored by MinIO.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  10. cmd/metacache-server-pool.go

    			return entries, io.EOF
    		}
    	}
    
    	// With max keys of zero we have reached eof, return right here.
    	if o.Limit == 0 {
    		return entries, io.EOF
    	}
    
    	// For delimiter and prefix as '/' we do not list anything at all
    	// along // with the prefix. On a flat namespace with 'prefix'
    	// as '/' we don't have any entries, since all the keys are
    	// of form 'keyName/...'
    	if strings.HasPrefix(o.Prefix, SlashSeparator) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
Back to top