command

package
v0.0.0-...-6ac6f58 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0, BSD-3-Clause, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagLog       = "log"
	FlagLogDir    = "log_dir"
	FlagArgs      = "args"
	FlagRulesFile = "rules_file"
)

define const vars

View Source
const (
	ClientBKDistMonitorUsage = "BlueKing dist monitor"
)

const vars

Variables

This section is empty.

Functions

func GetApp

func GetApp(ct ClientType) *commandCli.App

GetApp get app by type

func Run

func Run(ct ClientType)

Run main entrance

Types

type ClientType

type ClientType string

ClientType define client type

var (
	ClientBKDistMonitor ClientType = "bk-dist-monitor"
)

define vars

func (ClientType) Name

func (ct ClientType) Name() string

Name return client name

func (ClientType) Usage

func (ct ClientType) Usage() string

Usage return client usage

Jump to

Keyboard shortcuts

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