cli

package
v0.0.0-...-603edce Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ExitSuccess means nominal status
	ExitSuccess = iota

	// ExitError means general error
	ExitError

	// ExitBadConnection means failed connection to remote service
	ExitBadConnection

	// ExitBadArgs means invalid argument values were given
	ExitBadArgs = 128
)

Variables

This section is empty.

Functions

func CaptureOutput

func CaptureOutput(capture io.Writer)

CaptureOutput allows a test harness to redirect output to an alternate source for testing

func GetBashCompletion

func GetBashCompletion() string

GetBashCompletion returns the bash completion script for topo

func GetCommand

func GetCommand() *cobra.Command

GetCommand returns the root command for the RAN service

func GetOutput

func GetOutput() io.Writer

GetOutput returns the current output writer

func Init

func Init()

Init is a hook called after cobra initialization

func Output

func Output(msg string, args ...interface{})

Output prints the specified format message with arguments to stdout.

Types

type QualSet

type QualSet struct {
	Ue     string
	UeQual []uint32
}

QualSet - used for the Go template/text output

Jump to

Keyboard shortcuts

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