api/types/swarm: move NodeListOptions to client mod

Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
This commit is contained in:
Austin Vazquez
2025-08-22 10:03:57 -05:00
parent b1260cd493
commit 7d2b87e95f
15 changed files with 36 additions and 27 deletions

View File

@@ -1,7 +1,5 @@
package swarm
import "github.com/moby/moby/api/types/filters"
// Node represents a node.
type Node struct {
ID string
@@ -140,11 +138,6 @@ type Topology struct {
Segments map[string]string `json:",omitempty"`
}
// NodeListOptions holds parameters to list nodes with.
type NodeListOptions struct {
Filters filters.Args
}
// NodeRemoveOptions holds parameters to remove nodes with.
type NodeRemoveOptions struct {
Force bool