package
0.0.0-20240927024014-8a6412534070
Repository: https://github.com/oracle/coherence-cli.git
Documentation: pkg.go.dev
# Functions
CombineByteArraysForJSON combines byte arrays for json output.
DirectoryExists returns a bool indicating if a directory exists.
EnsureDirectory ensures a directory exists and if not then will create it.
No description provided by the author
No description provided by the author
GetCoherenceMainClass returns the default startup class for the specified Coherence version.
GetError returns a formatted error and prints to log.
GetErrors return an error containing either the single error or an error indicating there are multiple errors in the log.
GetJSONPathResults returns jsonapth results.
GetSliceIndex returns the index of the matching slice value.
GetStartupDelayInMillis returns the startup delay in millis converted from the following suffixes: ms = millis - eg.
GetStorageMap returns a map by node Id indicating if the node is storage enabled.
GetUniqueValues returns the slice of unique values.
IsDistributedCache returns true if the service type is distributed.
IsStorageEnabled returns true or false.
IsValidInt returns true or false indicating if a string int is a valid integer.
No description provided by the author
ProcessJSONPath parses json path expression on Json and returns the json.
SanitizeSnapshotName sanitizes a snapshot name by replacing any unwanted characters with '-'.
SliceContains returns true of the slice contains the value.
ValidatePort validates that a port is valid.
ValidateStartClass validates that the server start class is and empty string, and therefore use the default, or a valid option.
# Variables
DebugEnabled defines if debugging is enabled.
ErrPort indicates an invalid port value.
Logger is the logger to use for writing logs.