autodetect

package
v3.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindGCLogLocation

func FindGCLogLocation(hook shutdown.Hook) (gcLogLoc string, err error)

findGCLogLocation retrieves the gc log location with a search string to greedily retrieve everything by prefix

func GetDremioPID

func GetDremioPID(hook shutdown.Hook) (int, error)

func GetDremioPIDFromText

func GetDremioPIDFromText(jpsOutput string) (int, error)

func IsAWSE

func IsAWSE(hook shutdown.Hook) (bool, error)

func IsAWSECoordinator

func IsAWSECoordinator() (bool, string, error)

func IsAWSEExecutor

func IsAWSEExecutor(nodeName string) (bool, error)

func IsAWSEExecutorUsingDir

func IsAWSEExecutorUsingDir(efsFolder, nodeName string) (bool, error)

func IsAWSEFromJPSOutput

func IsAWSEFromJPSOutput(jpsText string) (bool, error)

func IsAWSEfromLogDirs

func IsAWSEfromLogDirs() (bool, error)

func ParseGCLogFromFlags

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

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

func ParseGCLogFromFlagsPost25

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

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

func ParseGCLogFromFlagsPre25

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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