cmd

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Overview

cmd package contains all the command line flag and initialization logic for commands

cmd package contains all the command line flag and initialization logic for commands

cmd package contains all the command line flag and initialization logic for commands

Index

Constants

This section is empty.

Variables

View Source
var GitSha = "unknown"

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func ParseGCLogFromFlags added in v0.3.0

func ParseGCLogFromFlags(startupFlagsStr string) (gcLogLocation string, err error)

ParseGCLogFromFlags takes a given string with java startup flags and finds the gclog directive

func TarGzDir added in v0.3.0

func TarGzDir(srcDir, dest string) error

Types

type ErrorlessStringBuilder added in v0.3.0

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

func (*ErrorlessStringBuilder) String added in v0.3.0

func (e *ErrorlessStringBuilder) String() string

func (*ErrorlessStringBuilder) WriteString added in v0.3.0

func (e *ErrorlessStringBuilder) WriteString(s string)

Directories

Path Synopsis
local
logcollect
package logcollect contains the logic for log collection in the local-collect sub command
package logcollect contains the logic for log collection in the local-collect sub command
queriesjson
queriesjson package contains the logic for collecting queries.json information
queriesjson package contains the logic for collecting queries.json information
simplelog package provides a simple logger
simplelog package provides a simple logger

Jump to

Keyboard shortcuts

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