mirror of https://github.com/docker/cli.git
24 lines
322 B
Go
24 lines
322 B
Go
package node
|
|
|
|
import (
|
|
"github.com/docker/cli/opts"
|
|
)
|
|
|
|
type nodeOptions struct {
|
|
annotations
|
|
role string
|
|
availability string
|
|
}
|
|
|
|
type annotations struct {
|
|
labels opts.ListOpts
|
|
}
|
|
|
|
func newNodeOptions() *nodeOptions {
|
|
return &nodeOptions{
|
|
annotations: annotations{
|
|
labels: opts.NewListOpts(nil),
|
|
},
|
|
}
|
|
}
|