Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for notifyEndpoint (0.04 sec)

  1. cmd/batch-rotate.go

    }
    
    // Notify notifies notification endpoint if configured regarding job failure or success.
    func (r BatchJobKeyRotateV1) Notify(ctx context.Context, ri *batchJobInfo) error {
    	return notifyEndpoint(ctx, ri, r.Flags.Notify.Endpoint, r.Flags.Notify.Token)
    }
    
    // KeyRotate rotates encryption key of an object
    func (r *BatchJobKeyRotateV1) KeyRotate(ctx context.Context, api ObjectLayer, objInfo ObjectInfo) error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    		r.Target.Creds.SessionToken = redactedText
    	}
    }
    
    // RedactSensitive will redact any sensitive information in b.
    func (r *BatchJobKeyRotateV1) RedactSensitive() {}
    
    func notifyEndpoint(ctx context.Context, ri *batchJobInfo, endpoint, token string) error {
    	if endpoint == "" {
    		return nil
    	}
    
    	buf, err := json.Marshal(ri)
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
Back to top