Documentation ¶
Overview ¶
Package logging supplies common constants to ensure consistent use of structured logs.
Index ¶
Constants ¶
View Source
const ( // SyncTargetKeyPrefix is the prefix used for all the keys related to a SyncTarget. SyncTargetKeyPrefix = "syncTarget." // SyncTargetWorkspace is used to specify a workspace when a log is related to a SyncTarget. SyncTargetWorkspace = SyncTargetKeyPrefix + "workspace" // SyncTargetNamespace is used to specify a namespace when a log is related to a SyncTarget. SyncTargetNamespace = SyncTargetKeyPrefix + "namespace" // SyncTargetName is used to specify a name when a log is related to a SyncTarget. SyncTargetName = SyncTargetKeyPrefix + "name" // SyncTargetKey is used to specify the obfuscated key of a SyncTarget as used in the Syncer labels and annotations. SyncTargetKey = SyncTargetKeyPrefix + "key" // DownstreamKeyPrefix is the prefix used for all the keys related to a downstream object. DownstreamKeyPrefix = "downstream." // DownstreamNamespace is used to specify a namespace when a log is related to a downstream object. DownstreamNamespace = DownstreamKeyPrefix + "namespace" // DownstreamName is used to specify a name when a log is related to a downstream object. DownstreamName = DownstreamKeyPrefix + "name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.