Documentation
¶
Index ¶
- Constants
- func Debug(infoMessage string, args ...interface{})
- func EnableDebugMode()
- func EnableSilence()
- func Error(message string, args ...interface{})
- func Info(message string, args ...interface{})
- func RecordedError(errorMessage string, args ...interface{}) error
- func Warn(message string, args ...interface{})
Constants ¶
View Source
const CAIC001D string = "CAIC001D Debug mode is enabled"
DEBUG MESSAGES
View Source
const CAIC001E string = "CAIC001E Error getting the AWS resource type from environment variable '%s' or flag '-%s'"
ERROR MESSAGES
View Source
const CAIC001I string = "CAIC001I Retrieving AWS IAM credential for resource type '%s'"
INFO MESSAGES
View Source
const CAIC002E string = "CAIC002E Error getting the AWS resource type. %s"
View Source
const CAIC002I string = "CAIC002I Successfully retrieved AWS IAM credential"
View Source
const CAIC003E string = "CAIC003E Failed to retrieve the AWS IAM Credential for resource '%s'. %s"
View Source
const CAIC003I string = "CAIC003I Successfully created the Conjur authentication request"
View Source
const CAIC004E string = "CAIC004E Failed to get Conjur authentication request. %s"
View Source
const CAIC004I string = "CAIC004I Attempting to authenticate to conjur: authnUrl=%s, login=%s, account=%s"
View Source
const CAIC005E string = "CAIC005E Failed to initialize Conjur HTTP Client. %s"
View Source
const CAIC005I string = "CAIC005I Attempting to authenticate to conjur '%s'"
View Source
const CAIC006E string = "CAIC006E Error getting Conjur authentication url environment variable '%s' or flag '-%s'"
View Source
const CAIC006I string = "CAIC006I Successfully authenticated to conjur with login '%s'"
View Source
const CAIC007E string = "CAIC007E Failed to authenticate to Conjur. %s"
View Source
const CAIC007I string = "CAIC007I Successfully wrote access token to '%s'"
View Source
const CAIC008E string = "CAIC008E Failure to load Conjur config. %s"
View Source
const CAIC009E string = "CAIC009E Error getting the Conjur login environment variable '%s' or flag '-%s'"
View Source
const CAIC010E string = "CAIC010E Failed to write access token to '%s'. %s"
View Source
const CAIC011E string = "CAIC011E Failed to retrieve secret '%s'. %s"
View Source
const CAIC012E string = "CAIC012E Error getting the Conjur account environment variables '%s' or flag '-%s'"
View Source
const CAIC013E string = "CAIC012E Error getting the Conjur appliance URL environment variables '%s' or flag '-%s'"
Variables ¶
This section is empty.
Functions ¶
func RecordedError ¶
RecordedError write error to logs and return error object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.