Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for delete (0.14 sec)

  1. internal/event/config.go

    	type config Config
    	parsedConfig := config{}
    	if err := d.DecodeElement(&parsedConfig, &start); err != nil {
    		return err
    	}
    
    	// Empty queue list means user wants to delete the notification configuration.
    	if len(parsedConfig.QueueList) > 0 {
    		for i, q1 := range parsedConfig.QueueList[:len(parsedConfig.QueueList)-1] {
    			for _, q2 := range parsedConfig.QueueList[i+1:] {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  2. cmd/config.go

    	historyFile := pathJoin(minioConfigHistoryPrefix, uuidKV+kvPrefix)
    	_, err := objAPI.DeleteObject(ctx, minioMetaBucket, historyFile, ObjectOptions{
    		DeletePrefix:       true,
    		DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    	})
    	return err
    }
    
    func readServerConfigHistory(ctx context.Context, objAPI ObjectLayer, uuidKV string) ([]byte, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/config.go

    	l = Config{}
    
    	// Purge all removed keys first
    	kvs := s[config.IdentityLDAPSubSys][config.Default]
    	if len(kvs) > 0 {
    		for _, k := range removedKeys {
    			kvs.Delete(k)
    		}
    		s[config.IdentityLDAPSubSys][config.Default] = kvs
    	}
    
    	if err := s.CheckValidKeys(config.IdentityLDAPSubSys, removedKeys); err != nil {
    		return l, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  4. cni/pkg/config/config.go

    	NodeName string
    
    	// Key and value for broken pod label
    	LabelKey   string
    	LabelValue string
    
    	// Whether to fix race condition by repairing them
    	RepairPods bool
    
    	// Whether to fix race condition by delete broken pods
    	DeletePods bool
    
    	// Whether to label broken pods
    	LabelPods bool
    
    	// Filters for race repair, including name of sidecar annotation, name of init container,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. internal/config/config.go

    func (kvs KVS) Get(key string) string {
    	v, ok := kvs.Lookup(key)
    	if ok {
    		return v
    	}
    	return ""
    }
    
    // Delete - deletes the key if present from the KV list.
    func (kvs *KVS) Delete(key string) {
    	for i, kv := range *kvs {
    		if kv.Key == key {
    			*kvs = append((*kvs)[:i], (*kvs)[i+1:]...)
    			return
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top