Skip to content

Add filter support for Swarm tasks instance method #4

@hostingnuggets

Description

@hostingnuggets

Right now the tasks instance method (http://www.rubydoc.info/gems/docker-swarm-api/Docker/Swarm/Swarm#tasks-instance_method) of the Swarm class does not take any parameters and as such returns every tasks in a swarm.

It would be a good idea to add a parameter to the tasks method in order to filter by any valid filter criteria (e.g. service=<service name>) as defined in the Docker API here: https://docs.docker.com/engine/api/v1.27/#tag/Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions