Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 662 for store2 (0.2 sec)

  1. internal/store/store.go

    	DelList(key []string) error
    	Open() error
    	Delete() error
    	Extension() string
    }
    
    // Key denotes the key present in the store.
    type Key struct {
    	Name   string
    	IsLast bool
    }
    
    // replayItems - Reads the items from the store and replays.
    func replayItems[I any](store Store[I], doneCh <-chan struct{}, log logger, id string) <-chan Key {
    	keyCh := make(chan Key)
    
    	go func() {
    		defer xioutil.SafeClose(keyCh)
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    // operation, we fetch this info from storage, and refresh the cache as well.
    func (store *IAMStoreSys) ListGroups(ctx context.Context) (res []string, err error) {
    	cache := store.lock()
    	defer store.unlock()
    
    	if store.getUsersSysType() == MinIOUsersSysType {
    		m := map[string]GroupInfo{}
    		err = store.loadGroups(ctx, m)
    		if err != nil {
    			return
    		}
    		cache.iamGroupsMap = m
    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)
  3. docs/kms/IAM.md

    - Run MinIO without a KMS. In this case all IAM data will be stored in plain-text.
    - Run MinIO with a single secret key. MinIO supports a static cryptographic key
      that can act as minimal KMS. With this method all IAM data will be stored
      encrypted. The encryption key has to be passed as environment variable.
    - Run MinIO with KES (minio/kes) in combination with any supported KMS as
      secure key store. For example, you can run MinIO + KES + Hashicorp Vault.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. cmd/iam-object-store.go

    		if listKey == iamFormatFile {
    			continue
    		}
    
    		res[listKey] = append(res[listKey], trimmedItem)
    	}
    	// Store the listing for later re-use.
    	iamOS.cachedIAMListing.Store(res)
    	return res, nil
    }
    
    // PurgeExpiredSTS - purge expired STS credentials from object store.
    func (iamOS *IAMObjectStore) PurgeExpiredSTS(ctx context.Context) error {
    	if iamOS.objAPI == nil {
    		return errServerNotInitialized
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  5. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2.hpackjson
    
    /**
     * Representation of one story, a set of request headers to encode or decode. This class is used
     * reflectively with Moshi to parse stories from files.
     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  6. cmd/iam-etcd-store.go

    	var p MappedPolicy
    	err := ies.loadIAMConfig(ctx, &p, getMappedPolicyPath(name, userType, isGroup))
    	if err != nil {
    		if err == errConfigNotFound {
    			return errNoSuchPolicy
    		}
    		return err
    	}
    	m.Store(name, p)
    	return nil
    }
    
    func getMappedPolicy(kv *mvccpb.KeyValue, m *xsync.MapOf[string, MappedPolicy], basePrefix string) error {
    	var p MappedPolicy
    	err := getIAMConfig(&p, kv.Value, string(kv.Key))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * bytes in length.
     *
     * The cache stores its data in a directory on the filesystem. This directory must be exclusive to
     * the cache; the cache may delete or overwrite files from its directory. It is an error for
     * multiple processes to use the same cache directory at the same time.
     *
     * This cache limits the number of bytes that it will store on the filesystem. When the number of
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

    /**
     * Contains metadata about an artifact, and methods to retrieve/store it from an artifact repository.
     * TODO merge with artifactmetadatasource
     * TODO retrieval exception not appropriate for store
     *
     */
    public interface ArtifactMetadata {
        /**
         * Whether this metadata should be stored alongside the artifact.
         *
         * @return whether this metadata should be stored alongside the artifact
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Serialization.java

        for (int i = 0; i < size; i++) {
          @SuppressWarnings("unchecked") // reading data stored by writeMap
          K key = (K) stream.readObject();
          @SuppressWarnings("unchecked") // reading data stored by writeMap
          V value = (V) stream.readObject();
          map.put(key, value);
        }
      }
    
      /**
       * Stores the contents of a multiset in an output stream, as part of serialization. It does not
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  10. internal/store/queuestore.go

    	store.RLock()
    	l := len(store.entries)
    	defer store.RUnlock()
    	return l
    }
    
    // lockless call
    func (store *QueueStore[_]) del(key string) error {
    	err := os.Remove(filepath.Join(store.directory, key+store.fileExt))
    
    	// Delete as entry no matter the result
    	delete(store.entries, key)
    
    	return err
    }
    
    // List - lists all files registered in the store.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top