Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for notifications (0.18 sec)

  1. cmd/api-errors.go

    		Description:    "The transition storage class was not found",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    
    	// Bucket notification related errors.
    	ErrEventNotification: {
    		Code:           "InvalidArgument",
    		Description:    "A specified event is not supported for notifications.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrARNNotification: {
    		Code:           "InvalidArgument",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/iam.go

    // memberships cache. If the specified group does not exist in
    // storage, it is removed from in-memory maps as well - this
    // simplifies the implementation for group removal. This is called
    // only via IAM notifications.
    func (sys *IAMSys) LoadGroup(ctx context.Context, objAPI ObjectLayer, group string) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	return sys.store.GroupNotificationHandler(ctx, group)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  3. cmd/iam-store.go

    		return v, ok
    	}
    	return cache.iamUserPolicyMap.Load(name)
    }
    
    // GroupNotificationHandler - updates in-memory cache on notification of
    // change (e.g. peer notification for object storage and etcd watch
    // notification).
    func (store *IAMStoreSys) GroupNotificationHandler(ctx context.Context, group string) error {
    	cache := store.lock()
    	defer store.unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  4. cmd/test-utils_test.go

    	return makeTestTargetURL(endPoint, bucketName, objectName, url.Values{})
    }
    
    // return URL for inserting bucket notification.
    func getPutNotificationURL(endPoint, bucketName string) string {
    	queryValue := url.Values{}
    	queryValue.Set("notification", "")
    	return makeTestTargetURL(endPoint, bucketName, "", queryValue)
    }
    
    // return URL for inserting bucket policy.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    	if err != nil {
    		return err
    	}
    
    	xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return errors.New(resp.Status)
    	}
    
    	return nil
    }
    
    // Notify notifies notification endpoint if configured regarding job failure or success.
    func (r BatchJobReplicateV1) Notify(ctx context.Context, ri *batchJobInfo) error {
    	return notifyEndpoint(ctx, ri, r.Flags.Notify.Endpoint, r.Flags.Notify.Token)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top