package
0.0.0-20250304205905-b47799d07ddf
Repository: https://github.com/aws/amazon-ssm-agent.git
Documentation: pkg.go.dev

# Functions

AddSingleQuotesToStringArray put single quote around each string in array - add escape if value has single quote in it.
Deletes file if it exists.
CleanupJSONField converts a text to a json friendly text as follows: - converts multi-line fields to single line by removing all but the first line - escapes special characters - truncates remaining line to length no more than maxSummaryLength.
CleanupNewLines removes all newlines from the given input.
CreateScriptFile creates a script containing the given commands.
DownloadFileFromSource downloads file from source.
GetProxySetting returns proxy setting from registry entries.
No description provided by the author
No description provided by the author
GetStatus returns a ResultStatus variable based on the received exitCode.
LoadParametersAsList returns properties as a list and appropriate PluginResult if error is encountered.
LoadParametersAsMap returns properties as a map and appropriate PluginResult if error is encountered.
No description provided by the author
ParseRunCommand checks the command type and convert it to the string array.
ReadAll returns all data from a given Reader.
ReadPrefix returns the beginning data from a given Reader, truncated to the given limit.
ReplaceMarkedFields finds substrings delimited by the start and end markers, removes the markers, and replaces the text between the markers with the result of calling the fieldReplacer function on that text substring.
StringPrefix returns the beginning part of a string, truncated to the given limit.
ValidateExecutionTimeout validates the supplied input interface and converts it into a valid int value.

# Variables

No description provided by the author
No description provided by the author