You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As suggested by @yaojiqunaer it would be nice to have an additional upload(InputStream in) method:
Upload method only support java.nio.file.Path as a local file path, if i use the org.springframework.web.multipart.MultipartFile uploaded files, are unable to get the file(getFile methord is forbit),so i must write multiPartFIle inputStrem to local disk and then read file as Path . Why not support both Path and InputStream?
Describe the solution you'd like
Add upload(InputStream in) method to Pod file upload DSL
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Refactor PodUpload.upload implementation to expose a method which will
recieve InputStream which can be reused by newly added
upload(InputStream) method
Signed-off-by: Rohan Kumar <[email protected]>
Refactor PodUpload.upload implementation to expose a method which will
recieve InputStream which can be reused by newly added
upload(InputStream) method
Signed-off-by: Rohan Kumar <[email protected]>
Refactor PodUpload.upload implementation to expose a method which will
recieve InputStream which can be reused by newly added
upload(InputStream) method
Signed-off-by: Rohan Kumar <[email protected]>
Is your enhancement related to a problem? Please describe
This was originally requested by @yaojiqunaer in #3568
Right now uploading a file to kubernetes pod requires file Path as an argument:
As suggested by @yaojiqunaer it would be nice to have an additional
upload(InputStream in)
method:Describe the solution you'd like
Add
upload(InputStream in)
method to Pod file upload DSLDescribe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: