rust-oci-client icon indicating copy to clipboard operation
rust-oci-client copied to clipboard

Add streaming push

Open aviramha opened this issue 1 year ago • 4 comments

New function - push_blob_stream lets users pass a stream to the blob upload function in order for it to iterate. The signature is similar to the one of the pull so those could be chained. Builds upon #109

aviramha avatar Jan 28 '24 21:01 aviramha

I'm not sure about this PR because when I tested it it took infinite time to run opposed to the "one off" functions. I'll finish the re-auth first.

aviramha avatar Feb 02 '24 13:02 aviramha

@aviramha can you rebase this PR against main?

Also, @thomastaylor312 and I would like to tag a new release of this crate once this PR gets merged :)

flavio avatar Feb 07 '24 18:02 flavio

I think it'll take me some time to re-visit, while I tried to use this flow I couldn't manage to get it to work so I fear there needs to be more thinking on the design.

aviramha avatar Feb 08 '24 14:02 aviramha

@aviramha no worries, I don't think we're on a hurry to push out a new version of the crate

flavio avatar Feb 09 '24 11:02 flavio