Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdRoot ¶
func SetupLogger ¶
func SetupLogger(debug bool)
Types ¶
type RootOptions ¶
type RootOptions struct { Debug bool ConfigFileOrDirPath string NodeletConfig config.Config LoopInterval time.Duration }
func (*RootOptions) Complete ¶
func (o *RootOptions) Complete(cmd *cobra.Command, args []string) error
func (*RootOptions) Flags ¶
func (o *RootOptions) Flags() *pflag.FlagSet
func (*RootOptions) Validate ¶
func (o *RootOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.