Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for InitBucketTargets (0.12 sec)

  1. cmd/event-notification.go

    }
    
    // Targets returns all the registered targets
    func (evnot *EventNotifier) Targets() []event.Target {
    	return evnot.targetList.Targets()
    }
    
    // InitBucketTargets - initializes event notification system from notification.xml of all buckets.
    func (evnot *EventNotifier) InitBucketTargets(ctx context.Context, objAPI ObjectLayer) error {
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. cmd/server-main.go

    					bootLogIf(GlobalContext, err)
    				}
    			})
    		}()
    
    		// Initialize bucket notification system.
    		bootstrapTrace("initBucketTargets", func() {
    			bootLogIf(GlobalContext, globalEventNotifier.InitBucketTargets(GlobalContext, newObject))
    		})
    
    		var buckets []string
    		// List buckets to initialize bucket metadata sub-sys.
    		bootstrapTrace("listBuckets", func() {
    			for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  3. cmd/test-utils_test.go

    	initAllSubsystems(ctx)
    
    	globalEtcdClient = nil
    
    	initConfigSubsystem(ctx, objLayer)
    
    	globalIAMSys.Init(ctx, objLayer, globalEtcdClient, 2*time.Second)
    
    	globalEventNotifier.InitBucketTargets(ctx, objLayer)
    
    	return testServer
    }
    
    // testServerCertPEM and testServerKeyPEM are generated by
    //  https://golang.org/src/crypto/tls/generate_cert.go
    //    $ go run generate_cert.go -ca --host 127.0.0.1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top