Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContextKeyRequestID ContextKey = "requestID" ContextKeyRequestSource ContextKey = "requestSource" CRDControllerEvent ContextKey = "crdControllerEvent" ContextSourceCRD = "CRD" ContextSourceREST = "REST" ContextSourceK8S = "Kubernetes" ContextSourceDocker = "Docker" ContextSourceCSI = "CSI" ContextSourceInternal = "Internal" ContextSourcePeriodic = "Periodic" LogSource = "logSource" )
Variables ¶
This section is empty.
Functions ¶
func GenerateRequestContext ¶
Types ¶
type ContextKey ¶
type ContextKey string // ContextKeyRequestID is the ContextKey for RequestID
ContextKey is used for context.Context value. The value requires a key that is not primitive type.
Click to show internal directories.
Click to hide internal directories.