cmd

package
v0.0.0-...-94e8740 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppTypeCompletionFunc

func AppTypeCompletionFunc(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func Execute

func Execute()

Types

type AppType

type AppType string
const (
	MonitoringSatelliteApp AppType = "monitoring-satellite"
	MonitoringCentralApp   AppType = "monitoring-central"
)

func (*AppType) Set

func (a *AppType) Set(app string) error

Set must have pointer receiver so it doesn't change the value of a copy

func (*AppType) String

func (a *AppType) String() string

String is used both by fmt.Print and by Cobra in help text

func (*AppType) Type

func (a *AppType) Type() string

Type is only used in help text

Jump to

Keyboard shortcuts

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