DockerCLI/cli/command/node/opts.go

25 lines
340 B
Go
Raw Normal View History

package node
import (
"github.com/docker/docker/opts"
)
type nodeOptions struct {
annotations
role string
availability string
}
type annotations struct {
name string
labels opts.ListOpts
}
func newNodeOptions() *nodeOptions {
return &nodeOptions{
annotations: annotations{
labels: opts.NewListOpts(nil),
},
}
}