github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/cli/command/node/opts.go (about)

     1  package node
     2  
     3  import (
     4  	"github.com/khulnasoft/cli/opts"
     5  )
     6  
     7  type nodeOptions struct {
     8  	annotations
     9  	role         string
    10  	availability string
    11  }
    12  
    13  type annotations struct {
    14  	labels opts.ListOpts
    15  }
    16  
    17  func newNodeOptions() *nodeOptions {
    18  	return &nodeOptions{
    19  		annotations: annotations{
    20  			labels: opts.NewListOpts(nil),
    21  		},
    22  	}
    23  }