Skip to content

Specify resource selectors #206

@stevvooe

Description

@stevvooe

Several features require selecting sets of resources through selectors. See #199 for one example. We may want to use this for networking, volume selection and even load balancing. We need a common Selector type for use across the API to express this.

A few common requirements:

  1. Match over attributes, types, names, and labels, fully or partially.
  2. Additive selectors describe an intersection.

Whatever we choose should be compatible with docker's system.

  1. Docker's engine filters: https://godoc.org/github.com/docker/engine-api/types/filters
  2. Swarm's constraint filters: https://docs.docker.com/swarm/scheduler/filter/

@aluzzardi @vieux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions