autodetect

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 10 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() (gcLogLoc string, err error)

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

func GetDremioPID

func GetDremioPID() (int, error)

func GetDremioPIDFromText

func GetDremioPIDFromText(jpsOutput string) (int, error)

func IsAWSE

func IsAWSE() (bool, error)

func IsAWSECoordinator added in v0.7.4

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 added in v0.7.4

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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