package
0.15.2-rc
Repository: https://github.com/ingrammicro/cio.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CheckStandardStatus return error if status is not OK.
Contains evaluates whether s contains x.
ConvertFlagParamsJsonFromFileOrStdin returns the json representation of parameters taken from the input file or STDIN.
ConvertFlagParamsJsonStringFromFileOrStdin returns the json string representation of parameters taken from the input file or STDIN.
No description provided by the author
FileExists checks file existence.
FlagConvertParams converts cli parameters in API callable params.
FlagConvertParamsJSON converts cli parameters in API callable params, and encodes JSON parameters.
GetConcertoConfig returns concerto configuration.
GetDefaultCaCertFilePath returns default concerto configuration path file.
GetDefaultCertFilePath returns default concerto configuration path file.
GetDefaultKeyFilePath returns default concerto configuration path file.
GetDefaultLogFilePath returns default concerto configuration path file.
GetProcessIdFromFile reads the process id previously stored in the file.
InitializeConcertoConfig creates the concerto configuration structure.
ItemConvertParams converts API items into map of interface.
NewHTTPConcertoService creates new http Concerto client based on config.
NewHTTPConcertoServiceWithBrownfieldToken creates new http Concerto client based on config.
NewHTTPConcertoServiceWithCommandPolling creates new http Concerto client based on config.
RandomString generates a random string from lowercase letters and numbers.
ReloadConcertoConfig checks if the config file was modified and if so, attempts to reload it.
RemoveDuplicates returns the slice removing duplicates if exist.
No description provided by the author
No description provided by the author
thresholdTime > 0 continuous report thresholdLines > 0 bootstrapping.
No description provided by the author
RunTracedCmd executes the received command and manages two output pipes (output and error) It shouldn't throw any exception/error or stop the process.
SetProcessIdToFile obtains the process id and save it inside a file.
StopProcess reads the process id from given file and stops the process.
StopProcessId stops the process by the given id.
Untar decompresses the source file to target file.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VERSION sets the current CLI version.
VERSION_API_USER_MODE sets the current IMCO API version for user mode.
No description provided by the author

# Structs

BootstrapConfig stores configuration specific to the bootstrap command.
Cert stores cert files location.
Config stores configuration file contents.
HTTPConcertoservice web service manager.
MockConcertoService service manager.

# Interfaces

ConcertoService defines actions to be performed by web service manager.