Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for transformer (0.16 sec)

  1. docs/lambda/README.md

    		original_object = r.content.decode('utf-8')
    
    		# Transform all text in the original object to uppercase
    		# You can replace it with your custom code based on your use case
    		transformed_object = original_object.upper()
    
    		# Write object back to S3 Object Lambda
    		# response sends the transformed data
    		# back to MinIO and then to the user
    		resp = make_response(transformed_object, 200)
    		resp.headers['x-amz-request-route'] = request_route
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 04 19:15:28 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  2. internal/config/errors-utils.go

    		u := Err{
    			msg:    msg,
    			action: action,
    			hint:   hint,
    		}
    		if err != nil {
    			u.detail = err.Error()
    		}
    		return u
    	}
    }
    
    // ErrorToErr inspects the passed error and transforms it
    // to the appropriate UI error.
    func ErrorToErr(err error) Err {
    	if err == nil {
    		return Err{}
    	}
    
    	// If this is already a Err, do nothing
    	if e, ok := err.(Err); ok {
    		return e
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top