Documentation ¶
Index ¶
Constants ¶
View Source
const ( AwsPrefixEnv = "AWS_PREFIX" GCloudProjectIdEnv = "PROJECT_ID" GCloudLocationEnv = "LOCATION" GCloudZoneEnv = "ZONE" )
Variables ¶
View Source
var Logger = prodLogger
Functions ¶
func ChooseLogger ¶
func ChooseLogger(loggingLvl LoggingLevel)
func PrintError ¶
func PrintError(err error)
func PrintVersion ¶
func PrintVersion()
func PrintWarning ¶
func PrintWarning(message string)
Types ¶
type DeleteFlags ¶
type Flags ¶
type LoggingLevel ¶
type LoggingLevel int
const ( DevLoggingLvl LoggingLevel = iota ProdLoggingLvl )
func ConvStrToLoggingLvl ¶
func ConvStrToLoggingLvl(str string) LoggingLevel
type PrefixedError ¶
type PrefixedError struct {
Reason error
}
func (*PrefixedError) Error ¶
func (pe *PrefixedError) Error() string
Click to show internal directories.
Click to hide internal directories.