Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 251 for watch (0.15 sec)

  1. cmd/iam-etcd-store.go

    					if !ok {
    						time.Sleep(1 * time.Second)
    						// Upon an error on watch channel
    						// re-init the watch channel.
    						goto outerLoop
    					}
    					if err := watchResp.Err(); err != nil {
    						iamLogIf(ctx, err)
    						// log and retry.
    						time.Sleep(1 * time.Second)
    						// Upon an error on watch channel
    						// re-init the watch channel.
    						goto outerLoop
    					}
    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)
  2. cmd/iam.go

    }
    
    func (sys *IAMSys) periodicRoutines(ctx context.Context, baseInterval time.Duration) {
    	// Watch for IAM config changes for iamStorageWatcher.
    	watcher, isWatcher := sys.store.IAMStorageAPI.(iamStorageWatcher)
    	if isWatcher {
    		go func() {
    			ch := watcher.watch(ctx, iamConfigPrefix)
    			for event := range ch {
    				if err := sys.loadWatchedEvent(ctx, event); err != nil {
    					// we simply log errors
    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)
  3. cmd/iam-store.go

    }
    
    // iamStorageWatcher is implemented by `IAMStorageAPI` implementers that
    // additionally support watching storage for changes.
    type iamStorageWatcher interface {
    	watch(ctx context.Context, keyPath string) <-chan iamWatchEvent
    }
    
    // Set default canned policies only if not already overridden by users.
    func setDefaultCannedPolicies(policies map[string]PolicyDoc) {
    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)
  4. cmd/common-main.go

    			if err != nil {
    				logger.Fatal(err, "Failed to load KES client certificate")
    			}
    			certificate.Watch(context.Background(), 15*time.Minute, syscall.SIGHUP)
    			certificate.Notify(reloadCertEvents)
    
    			kmsConf = kms.Config{
    				Endpoints:        endpoints,
    				DefaultKeyID:     env.Get(kms.EnvKESKeyName, ""),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  5. docs/bucket/lifecycle/README.md

    --restore-request Days=3
    ```
    
    ### 4.1 Monitoring transition events
    
    `s3:ObjectTransition:Complete` and `s3:ObjectTransition:Failed` events can be used to monitor transition events between the source cluster and transition tier. To watch lifecycle events, you can enable bucket notification on the source bucket with `mc event add`  and specify `--event ilm` flag.
    
    Note that transition event notification is a MinIO extension.
    
    ## Explore Further
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Aug 26 07:33:25 GMT 2023
    - 9K bytes
    - Viewed (1)
  6. internal/store/batch.go

    	"fmt"
    	"sync"
    )
    
    // ErrBatchFull indicates that the batch is full
    var ErrBatchFull = errors.New("batch is full")
    
    type key interface {
    	string | int | int64
    }
    
    // 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()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. cmd/batch-replicate_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1693333643 -0700
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 29 18:27:23 GMT 2023
    - 14.2K bytes
    - Viewed (1)
  8. cmd/batch-expire_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1701514293 -0800
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types_gen.go

    					return
    				}
    			}
    		case "Batch":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Batch")
    					return
    				}
    				z.Batch = nil
    			} else {
    				if z.Batch == nil {
    					z.Batch = new(int)
    				}
    				*z.Batch, err = dc.ReadInt()
    				if err != nil {
    					err = msgp.WrapError(err, "Batch")
    					return
    				}
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  10. cmd/batch-replicate_gen.go

    Anis Eleuch <******@****.***> 1700679106 -0800
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 40.6K bytes
    - Viewed (0)
Back to top