Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultConfigFileName = "config" DefaultConfigDir = "deploy" EnvWatchNameSpace = "X_CSI_REPLICATION_WATCH_NAMESPACE" EnvConfigFileName = "X_CSI_REPLICATION_CONFIG_FILE_NAME" EnvConfigDirName = "X_CSI_REPLICATION_CONFIG_DIR" EnvInClusterConfig = "X_CSI_REPLICATION_IN_CLUSTER" EnvUseConfFileFormat = "X_CSI_USE_CONF_FILE_FORMAT" DefaultNameSpace = "dell-replication-controller" DefaultDomain = "replication.storage.dell.com" DefaultMigrationDomain = "migration.storage.dell.com" DellReplicationController = "dell-replication-controller" // DellCSIReplicator - Name of the sidecar controller manager DellCSIReplicator = "dell-csi-replicator" // DellCSIMigrator - Name of the sidecar controller manager DellCSIMigrator = "dell-csi-migrator" Monitoring = "rg-monitoring" // DellCSINodeReScanner - Name of the node sidecar manager DellCSINodeReScanner = "dell-csi-node-rescanner" EnvNodeName = "X_CSI_NODE_NAME" )
Constants
View Source
const ( // PanicLevel represents logrus panic log level PanicLevel = int(logrus.PanicLevel) - 4 // FatalLevel represents logrus fatal log level FatalLevel = int(logrus.FatalLevel) - 4 // ErrorLevel represents logrus error log level ErrorLevel = int(logrus.ErrorLevel) - 4 // WarnLevel represents logrus warning log level WarnLevel = int(logrus.WarnLevel) - 4 // InfoLevel represents logrus info log level InfoLevel = int(logrus.InfoLevel) - 4 // DebugLevel represents logrus debug log level DebugLevel = int(logrus.DebugLevel) - 4 // TraceLevel represents logrus trace log level TraceLevel = int(logrus.TraceLevel) - 4 )
View Source
const ( // LoggerContextKey defines key which we use to store log in the context LoggerContextKey key = iota )
Variables ¶
This section is empty.
Functions ¶
func GetLoggerFromContext ¶ added in v1.1.0
GetLoggerFromContext serves to pass the logger instance to the context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.