Documentation ¶
Index ¶
- Constants
- Variables
- func CreateEventRules(ers []eventRules.EventRule) error
- func DoQuery(ti int, appName, searchTerm, procId string, lastSeen int64)
- func FindApps(hasApp *bool, hasMultipleApps *bool, hasProc *bool, ...)
- func GetApplicationByName(application string) (*applications.ApplicationV2, error)
- func GetApplicationsV2(all bool)
- func GetEventRuleGroups(args []string) error
- func GetEventRules(args, groupNames []string) error
- func GetEvents(applicationName, process string) error
- func GetLicense() error
- func GetNamespaceSansHost(namespace string) string
- func GetNamespacesAsStrings() ([]string, error)
- func GetProcessByApplicationAndProc(application, procId string) (*processes.Process, error)
- func GetTemplateForType(tType templateType) *promptui.SelectTemplates
- func ListNamespaces()
- func ListProcesses()
- func ParallelExec(applicationV2s *[]*applications.ApplicationV2, appName string, args0 string, ...)
- func ParallelSearch(cmdusage string, args0 string, hasApp *bool, hasMultipleApps *bool, ...)
- func Ping() error
- func PrintSyslogMessageForType(log *query.SysLogMessage, output string)
- func RunSelectApplicationForNamespacePrompt(all bool) (*applications.ApplicationV2, error)
- func RunSelectNamespacePrompt(all bool) (string, error)
- func RunSelectProcessesForNamespaceAndAppPrompt(application string, all bool) (*processes.Process, error)
- func SearchWorker(i int, appname string)
- func SerialSearch(cmdusage string, args0 string, hasApp *bool, hasMultipleApps *bool, ...)
- func SetLicense() error
- func SetupCloseHandler()
- func Tail(appName, procId string, tL []string) error
- func WriteFile()
- type SelectDisplay
Constants ¶
View Source
const ( OUTPUT_COLUMNS = "column" OUTPUT_RAW = "raw" OUTPUT_JSON = "json" )
View Source
const (
FMT = "%-24s | %-9s | %-9s | %-16s | %-16s | %-16s | %s\n"
)
Variables ¶
View Source
var ParMaxCopies int
Functions ¶
func CreateEventRules ¶
func CreateEventRules(ers []eventRules.EventRule) error
func FindApps ¶
func FindApps(hasApp *bool, hasMultipleApps *bool, hasProc *bool, applicationV2s *[]*applications.ApplicationV2)
func GetApplicationByName ¶
func GetApplicationByName(application string) (*applications.ApplicationV2, error)
func GetApplicationsV2 ¶
func GetApplicationsV2(all bool)
func GetEventRuleGroups ¶
func GetEventRules ¶
func GetLicense ¶
func GetLicense() error
func GetNamespaceSansHost ¶
func GetNamespacesAsStrings ¶
func GetTemplateForType ¶
func GetTemplateForType(tType templateType) *promptui.SelectTemplates
func ListNamespaces ¶
func ListNamespaces()
func ListProcesses ¶
func ListProcesses()
func ParallelExec ¶
func ParallelExec(applicationV2s *[]*applications.ApplicationV2, appName string, args0 string, procId string, lastseen int64)
func ParallelSearch ¶
func ParallelSearch(cmdusage string, args0 string, hasApp *bool, hasMultipleApps *bool, hasProc *bool, applicationV2s *[]*applications.ApplicationV2)
func PrintSyslogMessageForType ¶
func PrintSyslogMessageForType(log *query.SysLogMessage, output string)
func RunSelectApplicationForNamespacePrompt ¶
func RunSelectApplicationForNamespacePrompt(all bool) (*applications.ApplicationV2, error)
func SerialSearch ¶
func SerialSearch(cmdusage string, args0 string, hasApp *bool, hasMultipleApps *bool, hasProc *bool, applicationV2s *[]*applications.ApplicationV2)
func SetLicense ¶
func SetLicense() error
func SetupCloseHandler ¶
func SetupCloseHandler()
Types ¶
type SelectDisplay ¶
Click to show internal directories.
Click to hide internal directories.