DockerCLI/cli/command/node/opts.go

25 lines
337 B
Go

package node
import (
"github.com/docker/cli/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),
},
}
}