Documentation ¶
Overview ¶
package autodetect looks at the system configuration and file names and tries to guess at the correct configuration
package autodetect looks at the system configuration and file names and tries to guess at the correct configuration
package autodetect looks at the system configuration and file names and tries to guess at the correct configuration
Index ¶
- func FindGCLogLocation(hook shutdown.Hook) (gcLogLoc string, err error)
- func GetDremioPID(hook shutdown.Hook) (int, error)
- func GetDremioPIDFromText(jpsOutput string) (int, error)
- func IsAWSE(hook shutdown.Hook) (bool, error)
- func IsAWSECoordinator() (bool, string, error)
- func IsAWSEExecutor(nodeName string) (bool, error)
- func IsAWSEExecutorUsingDir(efsFolder, nodeName string) (bool, error)
- func IsAWSEFromJPSOutput(jpsText string) (bool, error)
- func IsAWSEfromLogDirs() (bool, error)
- func ParseGCLogFromFlags(startupFlagsStr string) (gcLogLocation string, err error)
- func ParseGCLogFromFlagsPost25(startupFlagsStr string) (gcLogLocation string, err error)
- func ParseGCLogFromFlagsPre25(startupFlagsStr string) (gcLogLocation string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindGCLogLocation ¶
findGCLogLocation retrieves the gc log location with a search string to greedily retrieve everything by prefix
func GetDremioPIDFromText ¶
func IsAWSECoordinator ¶
func IsAWSEExecutor ¶
func IsAWSEExecutorUsingDir ¶
func IsAWSEFromJPSOutput ¶
func IsAWSEfromLogDirs ¶
func ParseGCLogFromFlags ¶
ParseGCLogFromFlags takes a given string with java startup flags and finds the gclog directive
func ParseGCLogFromFlagsPost25 ¶
ParseGCLogFromFlags takes a given string with java startup flags and finds the gclog directive
func ParseGCLogFromFlagsPre25 ¶
ParseGCLogFromFlags takes a given string with java startup flags and finds the gclog directive
Types ¶
This section is empty.