Skip to content

Add DockerPullImageCallback to API #2140

Closed
@MarkRx

Description

@MarkRx

The PushImageCmd uses an anonymous class for the default callback implementation which includes error handling. Since this is the case users of the library cannot reuse this code like they can for PullImageResultCallback and BuildImageResultCallback and hence must resort to recreating the error handling logic should exec(resultCallback) be called directly.

This can be remedied by adding a DockerPullImageCallback class to the API allowing users to extend it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions