ctl

package
v0.0.0-...-ba6db07 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cfg *common.Config) error

Init initializes dm-control.

func MainStart

func MainStart(args []string)

MainStart starts running a command.

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd generates a new rootCmd.

func Start

func Start(args []string) (cmd *cobra.Command, err error)

Start starts running a command.

Types

type CommandMasterFlags

type CommandMasterFlags struct {
	// contains filtered or unexported fields
}

CommandMasterFlags are flags that used in all commands for dm-master.

func (CommandMasterFlags) Reset

func (c CommandMasterFlags) Reset()

Reset clears cache of CommandMasterFlags.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL