package
0.0.0-20210630084214-6eec0fdf877d
Repository: https://github.com/aerospike-community/amc.git
Documentation: pkg.go.dev

# Functions

AggregateInfo - Value should be an float64 or a convertible string; otherwise defValue is returned this function never panics.
AMCIsEnterprise was originally for knowing if this is the EE version of AMC.
AMCIsProd - check if prod.
Comma - convert integer into comma string.
DeleteEmpty - remove empty item from slice.
InitConfig - init the config struct.
MaxInt64 - Max function for Int64.
NewAlertBucket - new alert bucket.
NewBackupRestore - Create new backup/restore.
NewInfoParser - new info parser.
NewSinglePointValue - create new PointValue for graphs.
NewSyncInfo - return sync info.
NewSyncStats - create new SyncStats.
NewSyncValue - new sync value.
ParseTimeStrict parses a formatted string and returns the time value it represents.
PublicKeyFile - return Public Key.
Round - convert float to rounded int.
SetupDatabase - create memsql tables.
SortStrings - sort slice (?).
SplitHostPort - convert aerospike host string to basic parts.
SSHAgent - get agent.
StrDiff - compare slices into added and remove slices.
StrUniq is checking for uniqe strings.
SuccessfulBackups - return list of successful backups.
ToNullString - convert string into sql.NullString.

# Constants

Alert colors.
Alert colors.
Alert colors.
Alert Types.
Alert Types.
Alert Types.
Alert Types.
Alert Types.
Alert Types.
Alert Types.
Alert Types.
Alert Types.
Alert Types.
Alert Types.
BackupRestoreType.
BackupRestoreType.
BackupRestoreStatus.
BackupRestoreStatus.
BackupRestoreStatus.
No description provided by the author
No description provided by the author

# Variables

AMCBuild - AMC Build.
AMCEdition - AMC Edition (EE).
AMCEnv - AMC Environment (dev/prod).
AMCVersion - AMC Version.
ByFloatField - sort by float field.
ByIntField - sort by int field.
ByStringField - sort by string field.

# Structs

Alert structure.
AlertBucket structure.
BackupRestore struct.
Config struct.
InfoParser struct.
NullTime to store time and nullibility.
SinglePointValue struct.
SSHClient struct.
SSHCommand struct.
SyncInfo struct.
SyncStats strunct.
SyncValue struct.

# Type aliases

AlertsByID implements sort.Interface for []*Alert based on the Age field.
AlertStatus - type.
AlertType - type.
BackupRestoreStatus type.
BackupRestoreType type.
IndexType - Value should be a string.
Info - map type.
JSONRawString - Value should be a string.
Stats - map type.
StatsBy is the type of a "less" function that defines the ordering of its Stats arguments.