123456789101112131415161718192021222324 |
- 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),
- },
- }
- }
|