github.com/cilium/cilium@v1.16.2/pkg/logging/logfields/logfields.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright Authors of Cilium
     3  
     4  // Package logfields defines common logging fields which are used across packages
     5  package logfields
     6  
     7  const (
     8  	// Annotations are any annotations for Pods
     9  	Annotations = "annotations"
    10  
    11  	// LogSubsys is the field denoting the subsystem when logging
    12  	LogSubsys = "subsys"
    13  
    14  	// Signal is the field to print os signals on exit etc.
    15  	Signal = "signal"
    16  
    17  	// Node is a host machine in the cluster, running cilium
    18  	Node = "node"
    19  
    20  	// NodeID is the node-scoped ID of the node as allocated by the agent
    21  	NodeID = "nodeID"
    22  
    23  	// NodeName is a human readable name for the node
    24  	NodeName = "nodeName"
    25  
    26  	// Endpoint is the endpoint name (e.g. wireguard)
    27  	Endpoint = "endpoint"
    28  
    29  	// EndpointID is the numeric endpoint identifier
    30  	EndpointID = "endpointID"
    31  
    32  	// EndpointState is the current endpoint state
    33  	EndpointState = "endpointState"
    34  
    35  	// Error is the Go error
    36  	Error = "error"
    37  
    38  	// EventUUID is an event unique identifier
    39  	EventUUID = "eventID"
    40  
    41  	// CNIAttachmentID uniquely identifies an endpoint
    42  	CNIAttachmentID = "cniAttachmentID"
    43  
    44  	// ContainerID is the container identifier
    45  	ContainerID = "containerID"
    46  
    47  	// ContainerInterface is the name of the interface in the container namespace
    48  	ContainerInterface = "containerInterface"
    49  
    50  	// IdentityLabels are the labels relevant for the security identity
    51  	IdentityLabels = "identityLabels"
    52  
    53  	// InfoLabels are the labels relevant for the security identity
    54  	InfoLabels = "infoLabels"
    55  
    56  	// Labels are any label, they may not be relevant to the security identity.
    57  	Labels = "labels"
    58  
    59  	// Label is a singular label, where relevant
    60  	Label = "label"
    61  
    62  	// SourceFilter is the label or node information source
    63  	SourceFilter = "sourceFilter"
    64  
    65  	// Controller is the name of the controller to log it.
    66  	Controller = "controller"
    67  
    68  	// Identity is the identifier of a security identity
    69  	Identity = "identity"
    70  
    71  	// ConflictingIdentity is the identifier of a security identity that conflicts
    72  	// with 'Identity'
    73  	ConflictingIdentity = "conflictingIdentity"
    74  
    75  	// Ingress is the identifier of an ingress object
    76  	Ingress = "ingress"
    77  
    78  	// IngressClass is the identifier of an ingress class object
    79  	IngressClass = "ingressClass"
    80  
    81  	// OldIdentity is a previously used security identity
    82  	OldIdentity = "oldIdentity"
    83  
    84  	// PolicyKey is a policy map key
    85  	PolicyKey = "policyKey"
    86  
    87  	// PolicyEntry is a policy map value
    88  	PolicyEntry = "policyEntry"
    89  
    90  	// PolicyRevision is the revision of the policy in the repository or of
    91  	// the object in question
    92  	PolicyRevision = "policyRevision"
    93  
    94  	// PolicyKeysAdded is a set of added policy map keys
    95  	PolicyKeysAdded = "policyKeysAdded"
    96  
    97  	// PolicyKeysDeleted is a set of deleted policy map keys
    98  	PolicyKeysDeleted = "policyKeysDeleted"
    99  
   100  	// PolicyEntriesOld is a set of old policy map keys and values
   101  	PolicyEntriesOld = "policyEntriesOld"
   102  
   103  	// DatapathPolicyRevision is the policy revision currently running in
   104  	// the datapath
   105  	DatapathPolicyRevision = "datapathPolicyRevision"
   106  
   107  	// DesiredPolicyRevision is the latest policy revision as evaluated for
   108  	// an endpoint. It is the desired policy revision to be implemented
   109  	// into the datapath.
   110  	DesiredPolicyRevision = "desiredPolicyRevision"
   111  
   112  	// PolicyID is the identifier of a L3, L4 or L7 Policy. Ideally the .NumericIdentity
   113  	PolicyID = "policyID"
   114  
   115  	// AddedPolicyID is the .NumericIdentity, or set or them
   116  	AddedPolicyID = "policyID.Added"
   117  
   118  	// DeletedPolicyID is the .NumericIdentity, or set or them
   119  	DeletedPolicyID = "policyID.Deleted"
   120  
   121  	// AddedPolicyDenyID is the .NumericIdentity, or set or them
   122  	AddedPolicyDenyID = "policyID.Deny.Added"
   123  
   124  	// DeletedPolicyDenyID is the .NumericIdentity, or set or them
   125  	DeletedPolicyDenyID = "policyID.Deny.Deleted"
   126  
   127  	// L3PolicyID is the identifier of a L3 Policy
   128  	L3PolicyID = "policyID.L3"
   129  
   130  	// L4PolicyID is the identifier of a L4 Policy
   131  	L4PolicyID = "PolicyID.L4"
   132  
   133  	// AuthType is an enum for the type of authentication required, if any.
   134  	AuthType = "AuthType"
   135  
   136  	// IsRedirect is a boolean for if the entry is a redirect or not
   137  	IsRedirect = "IsRedirect"
   138  
   139  	// DNSName is a FQDN or not fully qualified name intended for DNS lookups
   140  	DNSName = "dnsName"
   141  
   142  	// DNSRequestID is the DNS request id used by dns-proxy
   143  	DNSRequestID = "DNSRequestID"
   144  
   145  	// MACAddr is a MAC address
   146  	MACAddr = "macAddr"
   147  
   148  	// NextHop is an IPV4 or IPv6 address for the next hop
   149  	NextHop = "nextHop"
   150  
   151  	// Address is an IPV4, IPv6 or FQDN address
   152  	Address = "address"
   153  
   154  	// IPAddr is an IPV4 or IPv6 address
   155  	IPAddr = "ipAddr"
   156  
   157  	// IPMask is an IPV4 or IPv6 address mask
   158  	IPMask = "ipMask"
   159  
   160  	// IPv4 is an IPv4 address
   161  	IPv4 = "ipv4"
   162  
   163  	// IPv6 is an IPv6 address
   164  	IPv6 = "ipv6"
   165  
   166  	// BPFCompilationTime is the time elapsed to build a BPF endpoint program
   167  	BPFCompilationTime = "BPFCompilationTime"
   168  
   169  	// StartTime is the start time of an event
   170  	StartTime = "startTime"
   171  
   172  	// EndTime is the end time of an event
   173  	EndTime = "endTime"
   174  
   175  	// Interval is the duration for periodic execution of an operation.
   176  	Interval = "interval"
   177  
   178  	// Duration is the duration of a measured operation
   179  	Duration = "duration"
   180  
   181  	// V4HealthIP is an address used to contact the cilium-health endpoint
   182  	V4HealthIP = "v4healthIP.IPv4"
   183  
   184  	// V6HealthIP is an address used to contact the cilium-health endpoint
   185  	V6HealthIP = "v6healthIP.IPv6"
   186  
   187  	// V4IngressIP is an address used to contact the cilium-Ingress endpoint
   188  	V4IngressIP = "v4IngressIP.IPv4"
   189  
   190  	// V6IngressIP is an address used to contact the cilium-Ingress endpoint
   191  	V6IngressIP = "v6IngressIP.IPv6"
   192  
   193  	// V4CiliumHostIP is an address used for the cilium_host interface.
   194  	V4CiliumHostIP = "v4CiliumHostIP.IPv4"
   195  
   196  	// V6CiliumHostIP is an address used for the cilium_host interface.
   197  	V6CiliumHostIP = "v6CiliumHostIP.IPv6"
   198  
   199  	// L3n4Addr is a L3 (IP) + L4 (port and protocol) address object.
   200  	L3n4Addr = "l3n4Addr"
   201  
   202  	// L3n4AddrID is the allocated ID for a L3n4Addr object
   203  	L3n4AddrID = "l3n4AddrID"
   204  
   205  	// Port is a L4 port
   206  	Port = "port"
   207  
   208  	// Ports is a list of L4 ports
   209  	Ports = "ports"
   210  
   211  	// PortName is a k8s ContainerPort Name
   212  	PortName = "portName"
   213  
   214  	// NamedPorts is a set of named ports
   215  	NamedPorts = "namedPorts"
   216  
   217  	// Family is the L3 protocol family
   218  	Family = "family"
   219  
   220  	// Protocol is the L4 protocol
   221  	Protocol = "protocol"
   222  
   223  	// V4Prefix is a IPv4 subnet/CIDR prefix
   224  	V4Prefix = "v4Prefix"
   225  
   226  	// V6Prefix is a IPv6 subnet/CIDR prefix
   227  	V6Prefix = "v6Prefix"
   228  
   229  	// IPv4CIDRs is a list of IPv4 CIDRs
   230  	IPv4CIDRs = "ipv4CIDRs"
   231  
   232  	// IPv6CIDRs is a list of IPv6 CIDRs
   233  	IPv6CIDRs = "ipv6CIDRs"
   234  
   235  	// CIDR is a IPv4/IPv6 subnet/CIDR
   236  	CIDR = "cidr"
   237  
   238  	// CIDRS is a list of IPv4/IPv6 CIDRs
   239  	CIDRS = "cidrs"
   240  
   241  	// OldCIDR is the previous subnet/CIDR
   242  	OldCIDR = "oldCIDR"
   243  
   244  	// NewCIDR is the new subnet/CIDR
   245  	NewCIDR = "newCIDR"
   246  
   247  	// IPAddrs is a list of IP addrs
   248  	IPAddrs = "ipAddrs"
   249  
   250  	// MTU is the maximum transmission unit of one interface
   251  	MTU = "mtu"
   252  
   253  	// Interface is an interface id/name on the system
   254  	Interface = "interface"
   255  
   256  	// Veth is a veth object or ID
   257  	Veth = "veth"
   258  
   259  	// VethPair is a tuple of Veth that are paired
   260  	VethPair = "vethPair"
   261  
   262  	// Netkit is a netkit object or ID
   263  	Netkit = "netkit"
   264  
   265  	// NetkitPair is a tuple of Netkit that are paired
   266  	NetkitPair = "netkitPair"
   267  
   268  	// NetNSName is a name of a network namespace
   269  	NetNSName = "netNSName"
   270  
   271  	// HardwareAddr is L2 addr of a network iface
   272  	HardwareAddr = "hardwareAddr"
   273  
   274  	// Hash is a hash of something
   275  	Hash = "hash"
   276  
   277  	// ServerNames is the list of TLS SNIs
   278  	ServerNames = "serverNames"
   279  
   280  	// ServiceName is the orchestration framework name for a service
   281  	ServiceName = "serviceName"
   282  
   283  	// ServiceNamespace is the orchestration framework namespace of a service name
   284  	ServiceNamespace = "serviceNamespace"
   285  
   286  	// SessionAffinity indicates whether the ClientIP session affinity is enabled
   287  	// for the service
   288  	SessionAffinity = "sessionAffinity"
   289  
   290  	// SessionAffinityTimeout is a timeout for the session affinity
   291  	SessionAffinityTimeout = "sessionAffinityTimeout"
   292  
   293  	// LoadBalancerSourceRanges is the LB SVC source ranges
   294  	LoadBalancerSourceRanges = "loadBalancerSourceRanges"
   295  
   296  	// ClusterName is the name of the cluster
   297  	ClusterName = "clusterName"
   298  
   299  	// ClusterID is the ID of the cluster
   300  	ClusterID = "clusterID"
   301  
   302  	// AddrCluster is a pair of IP address and ClusterID
   303  	AddrCluster = "addrCluster"
   304  
   305  	// ServiceID is the orchestration unique ID of a service
   306  	ServiceID = "serviceID"
   307  
   308  	// ServiceIP is the IP of the service
   309  	ServiceIP = "serviceIP"
   310  
   311  	// ServiceKey is the key of the service in a BPF map
   312  	ServiceKey = "svcKey"
   313  
   314  	// ServiceValue is the value of the service in a BPF map
   315  	ServiceValue = "svcVal"
   316  
   317  	// ServiceType is the type of the service
   318  	ServiceType = "svcType"
   319  
   320  	// ServiceHealthCheckNodePort is the port on which we serve health checks
   321  	ServiceHealthCheckNodePort = "svcHealthCheckNodePort"
   322  
   323  	// ServiceExtTrafficPolicy is the external traffic policy of the service
   324  	ServiceExtTrafficPolicy = "svcExtTrafficPolicy"
   325  
   326  	// ServiceIntTrafficPolicy is the internal traffic policy of the service
   327  	ServiceIntTrafficPolicy = "svcIntTrafficPolicy"
   328  
   329  	// BackendIDs is the map of backend IDs (lbmap) indexed by backend address
   330  	BackendIDs = "backendIDs"
   331  
   332  	// BackendID is the ID of the backend
   333  	BackendID = "backendID"
   334  
   335  	// BackendWeight is a weight of service backend.
   336  	BackendWeight = "backendWeight"
   337  
   338  	// Backends is the list of the service backends
   339  	Backends = "backends"
   340  
   341  	// BackendName is the name of the backend
   342  	BackendName = "backendName"
   343  
   344  	// BackendSlot is the backend slot number in a service BPF map
   345  	BackendSlot = "backendSlot"
   346  
   347  	// ProxyName is the name of a proxy (e.g., "Envoy")
   348  	ProxyName = "proxyName"
   349  
   350  	// L7LBProxyPort is the port number of the Envoy listener a L7 LB service redirects traffic to for load balancing.
   351  	L7LBProxyPort = "l7LBProxyPort"
   352  
   353  	// L7LBFrontendPorts is the list of frontend ports for load balancing.
   354  	L7LBFrontendPorts = "l7LBFrontendPorts"
   355  
   356  	// BackendState is the state of the backend
   357  	BackendState = "backendState"
   358  
   359  	// BackendPreferred is the indicator if this backend is preferred if active.
   360  	BackendPreferred = "backendPreferred"
   361  
   362  	// CiliumNetworkPolicy is a cilium specific NetworkPolicy
   363  	CiliumNetworkPolicy = "ciliumNetworkPolicy"
   364  
   365  	// CiliumNetworkPolicyName is the name of a CiliumNetworkPolicy
   366  	CiliumNetworkPolicyName = "ciliumNetworkPolicyName"
   367  
   368  	// CiliumClusterwideNetworkPolicyName is the name of the CiliumClusterWideNetworkPolicy
   369  	CiliumClusterwideNetworkPolicyName = "ciliumClusterwideNetworkPolicyName"
   370  
   371  	// BPFClockSource denotes the internal clock source (ktime vs jiffies)
   372  	BPFClockSource = "bpfClockSource"
   373  
   374  	// CiliumLocalRedirectPolicyName is the name of a CiliumLocalRedirectPolicy
   375  	CiliumLocalRedirectName = "ciliumLocalRedirectPolicyName"
   376  
   377  	// CiliumEgressGatewayPolicyName is the name of a CiliumEgressGatewayPolicy
   378  	CiliumEgressGatewayPolicyName = "ciliumEgressGatewayPolicyName"
   379  
   380  	// CiliumClusterwideEnvoyConfigName is the name of a CiliumClusterwideEnvoyConfig
   381  	CiliumClusterwideEnvoyConfigName = "ciliumClusterwideEnvoyConfigName"
   382  
   383  	// CiliumEnvoyConfigName is the name of a CiliumEnvoyConfig
   384  	CiliumEnvoyConfigName = "ciliumEnvoyConfigName"
   385  
   386  	// Listener is the name of an Envoy Listener defined in CEC or CCEC
   387  	Listener = "listener"
   388  
   389  	// ListenerPriority is the priority of an Envoy Listener defined in CEC or CCEC
   390  	ListenerPriority = "listenerPriority"
   391  
   392  	// BPFMapKey is a key from a BPF map
   393  	BPFMapKey = "bpfMapKey"
   394  
   395  	// BPFMapValue is a value from a BPF map
   396  	BPFMapValue = "bpfMapValue"
   397  
   398  	// Device is the device name
   399  	Device = "device"
   400  
   401  	// Devices is the devices name
   402  	Devices = "devices"
   403  
   404  	// DirectRoutingDevice is the name of the direct routing device
   405  	DirectRoutingDevice = "directRoutingDevice"
   406  
   407  	// DatapathMode is the datapath mode name
   408  	DatapathMode = "datapathMode"
   409  
   410  	// Tunnel is the tunnel name
   411  	Tunnel = "tunnel"
   412  
   413  	// TunnelPeer is the tunnel peer address
   414  	TunnelPeer = "tunnelPeer"
   415  
   416  	// ConflictingTunnelPeer is the address of a tunnel peer which conflicts
   417  	// with TunnelPeer
   418  	ConflictingTunnelPeer = "conflictingTunnelPeer"
   419  
   420  	// Type is the address type
   421  	Type = "type"
   422  
   423  	// Selector is a selector of any sort: endpoint, CIDR, toFQDNs
   424  	Selector = "Selector"
   425  
   426  	// EndpointLabelSelector is a selector for Endpoints by label
   427  	EndpointLabelSelector = "EndpointLabelSelector"
   428  
   429  	// EndpointSelector is a selector for Endpoints
   430  	EndpointSelector = "EndpointSelector"
   431  
   432  	// Path is a filesystem path. It can be a file or directory.
   433  	// Note: pkg/proxy/accesslog points to this variable so be careful when
   434  	// changing the value
   435  	Path = "file-path"
   436  
   437  	// Line is a line number within a file
   438  	Line = "line"
   439  
   440  	// LinkIndex is a network iface index
   441  	LinkIndex = "linkIndex"
   442  
   443  	// Object is used when "%+v" printing Go objects for debug or error handling.
   444  	// It is often paired with logfields.Repr to render the object.
   445  	Object = "obj"
   446  
   447  	// Request is a request object received by us, reported in debug or error.
   448  	// It is often paired with logfields.Repr to render the object.
   449  	Request = "req"
   450  
   451  	// Params are the parameters of a request, reported in debug or error.
   452  	Params = "params"
   453  
   454  	// Response is a response object received by us, reported in debug or error.
   455  	// It is often paired with logfields.Repr to render the object.
   456  	Response = "resp"
   457  
   458  	// Resource is a resource
   459  	Resource = "resource"
   460  
   461  	// ConflictingResource is a resource that conflicts with 'Resource'
   462  	ConflictingResource = "conflictingResource"
   463  
   464  	// Route is a L2 or L3 Linux route
   465  	Route = "route"
   466  
   467  	// RetryUUID is an UUID identical for all retries of a set
   468  	RetryUUID = "retryUUID"
   469  
   470  	// Rule is an ip rule
   471  	Rule = "rule"
   472  
   473  	// Envoy xDS-protocol-specific
   474  
   475  	// XDSStreamID is the ID of an xDS request stream.
   476  	XDSStreamID = "xdsStreamID"
   477  
   478  	// XDSAckedVersion is the version of an xDS resource acked by Envoy.
   479  	XDSAckedVersion = "xdsAckedVersion"
   480  
   481  	// XDSCachedVersion is the version of an xDS resource currently in cache.
   482  	XDSCachedVersion = "xdsCachedVersion"
   483  
   484  	// XDSTypeURL is the URL that identifies an xDS resource type.
   485  	XDSTypeURL = "xdsTypeURL"
   486  
   487  	// XDSNonce is a nonce sent in xDS requests and responses.
   488  	XDSNonce = "xdsNonce"
   489  
   490  	// XDSCanary is a boolean indicating whether a response is a dry run.
   491  	XDSCanary = "xdsCanary"
   492  
   493  	// XDSResourceName is the name of an xDS resource.
   494  	XDSResourceName = "xdsResourceName"
   495  
   496  	// XDSClientNode is the ID of an XDS client, e.g. an Envoy node.
   497  	XDSClientNode = "xdsClientNode"
   498  
   499  	// XDSResource is an xDS resource message.
   500  	XDSResource = "xdsResource"
   501  
   502  	// XDSDetail is detail string included in XDS NACKs.
   503  	XDSDetail = "xdsDetail"
   504  
   505  	// K8s-specific
   506  
   507  	// K8sNodeID is the k8s ID of a K8sNode
   508  	K8sNodeID = "k8sNodeID"
   509  
   510  	// K8sPodName is the name of a k8s pod
   511  	K8sPodName = "k8sPodName"
   512  
   513  	// K8sSvcName is the name of a K8s service
   514  	K8sSvcName = "k8sSvcName"
   515  
   516  	// K8sSvcID is the K8s service name and namespace
   517  	K8sSvcID = "k8sSvcID"
   518  
   519  	// K8sSvcType is the k8s service type (e.g. NodePort, Loadbalancer etc.)
   520  	K8sSvcType = "k8sSvcType"
   521  
   522  	// K8sEndpointName is the k8s name for a k8s Endpoint (not a cilium Endpoint)
   523  	K8sEndpointName = "k8sEndpointName"
   524  
   525  	// K8sNamespace is the namespace something belongs to
   526  	K8sNamespace = "k8sNamespace"
   527  
   528  	// K8sIdentityAnnotation is a k8s non-identifying annotations on k8s objects
   529  	K8sIdentityAnnotation = "k8sIdentityAnnotation"
   530  
   531  	// K8sNetworkPolicy is a k8s NetworkPolicy object (not a CiliumNetworkObject, above).
   532  	K8sNetworkPolicy = "k8sNetworkPolicy"
   533  
   534  	// K8sNetworkPolicyName is the name of a K8sPolicyObject
   535  	K8sNetworkPolicyName = "k8sNetworkPolicyName"
   536  
   537  	// K8sIngress is a k8s Ingress service object
   538  	K8sIngress = "k8sIngress"
   539  
   540  	// K8sIngressName is the name of a K8sIngress
   541  	K8sIngressName = "k8sIngressName"
   542  
   543  	// K8sAPIVersion is the version of the k8s API an object has
   544  	K8sAPIVersion = "k8sApiVersion"
   545  
   546  	// K8sNodeIP is the k8s Node IP (either InternalIP or ExternalIP)
   547  	K8sNodeIP = "k8sNodeIP"
   548  
   549  	// K8sUID is the UID of a K8s object
   550  	K8sUID = "k8sUID"
   551  
   552  	// Attempt is the attempt number if an operation is attempted multiple times
   553  	Attempt = "attempt"
   554  
   555  	// TrafficDirection represents the directionality of traffic with respect
   556  	// to an endpoint.
   557  	TrafficDirection = "trafficDirection"
   558  
   559  	// Modification represents a type of state change operation (insert, delete,
   560  	// upsert, etc.).
   561  	Modification = "modification"
   562  
   563  	// BPFMapName is the name of a BPF map.
   564  	BPFMapName = "bpfMapName"
   565  
   566  	// BPFHeaderHash is the hash of the BPF header.
   567  	BPFHeaderfileHash = "bpfHeaderfileHash"
   568  
   569  	// BPFMapPath is the path of a BPF map in the filesystem.
   570  	BPFMapPath = "bpfMapPath"
   571  
   572  	// BPFMapFD is the file descriptor for a BPF map.
   573  	BPFMapFD = "bpfMapFileDescriptor"
   574  
   575  	// ThreadID is the Envoy thread ID.
   576  	ThreadID = "threadID"
   577  
   578  	// Reason is a human readable string describing why an operation was
   579  	// performed
   580  	Reason = "reason"
   581  
   582  	// Limit is a numerical limit that has been exceeded
   583  	Limit = "limit"
   584  
   585  	// Count is a measure being compared to the Limit
   586  	Count = "count"
   587  
   588  	// Debug is a boolean value for whether debug is set or not.
   589  	Debug = "debug"
   590  
   591  	// PID is an integer value for the process identifier of a process.
   592  	PID = "pid"
   593  
   594  	// PIDFile is a string value for the path to a file containing a PID.
   595  	PIDFile = "pidfile"
   596  
   597  	// Probe is the name of a status probe.
   598  	Probe = "probe"
   599  
   600  	// Key is the identity of the encryption key
   601  	Key = "key"
   602  
   603  	// ConflictingKey is the identity of the encryption key which conflicts with
   604  	// Key
   605  	ConflictingKey = "conflictingKey"
   606  
   607  	// URL represents a Uniform Resource Locator.
   608  	URL = "url"
   609  
   610  	// SysParamName is the name of the kernel parameter (sysctl)
   611  	SysParamName = "sysParamName"
   612  
   613  	// SysParamValue is the value of the kernel parameter (sysctl)
   614  	SysParamValue = "sysParamValue"
   615  
   616  	// HashSeed is the seed value for the hashing algorithm
   617  	HashSeed = "hashSeed"
   618  
   619  	// HelpMessage is the help message corresponding to a log message.
   620  	// This is to make sure we keep separate contexts for logs and help messages.
   621  	HelpMessage = "helpMessage"
   622  
   623  	// LRPName is the parsed name of the Local Redirect Policy.
   624  	LRPName = "lrpName"
   625  
   626  	// LRPFrontend is the parsed frontend mappings of the Local Redirect Policy.
   627  	LRPFrontends = "lrpFrontends"
   628  
   629  	// LRPLocalEndpointSelector is the local endpoint selector of the Local Redirect Policy.
   630  	LRPLocalEndpointSelector = "lrpLocalEndpointSelector"
   631  
   632  	// LRPBackendPorts are the parsed backend ports of the Local Redirect Policy.
   633  	LRPBackendPorts = "lrpBackendPorts"
   634  
   635  	// LRPType is the type of the Local Redirect Policy.
   636  	LRPType = "lrpType"
   637  
   638  	// LRPFrontendType is the parsed frontend type of the Local Redirect Policy.
   639  	LRPFrontendType = "lrpFrontendType"
   640  
   641  	// ENPName is the name of the egress nat policy
   642  	ENPName = "enpName"
   643  
   644  	// Mode describes an operations mode
   645  	Mode = "mode"
   646  
   647  	// PubKey is the public key
   648  	PubKey = "pubKey"
   649  
   650  	// NodeIPv4 is the node IPv4 addr
   651  	NodeIPv4 = "nodeIPv4"
   652  
   653  	// NodeIPv6 is the node IPv4 addr
   654  	NodeIPv6 = "nodeIPv6"
   655  
   656  	// OldNode refers to the node before the update
   657  	OldNode = "oldNode"
   658  
   659  	// NewNode refers to the node after the update
   660  	NewNode = "newNode"
   661  
   662  	// AttachedENIs are the ENIs which have been attached to the node
   663  	AttachedENIs = "attachedENIs"
   664  
   665  	// ExpectedENIs are the ENIs which are expected to be available
   666  	ExpectedENIs = "expectedENIs"
   667  
   668  	// Hint helps nudge the user in the right direction when troubleshooting.
   669  	Hint = "hint"
   670  
   671  	// CEPName is the name of the CiliumEndpoint.
   672  	CEPName = "ciliumEndpointName"
   673  
   674  	// CEPCount is the count of the CiliumEndpoint.
   675  	CEPCount = "ciliumEndpointCount"
   676  
   677  	// CEPUID is the UID of the CiliumEndpoint.
   678  	CEPUID = "ciliumEndpointUID"
   679  
   680  	// CESName is the name of the CiliumEndpointSlice.
   681  	CESName = "ciliumEndpointSliceName"
   682  
   683  	// WorkQueueQPSLimit is the QPS limit for WorkQueues.
   684  	WorkQueueQPSLimit = "workQueueQPSLimit"
   685  
   686  	// WorkQueueBurstLimit is the burst limit for WorkQueues.
   687  	WorkQueueBurstLimit = "workQueueBurstLimit"
   688  
   689  	// WorkQueueSyncBackoff is the backoff time used by workqueues before an attempt to retry sync with k8s-apiserver.
   690  	WorkQueueSyncBackOff = "workQueueSyncBackOff"
   691  
   692  	// SourceIP is a source IP
   693  	SourceIP = "sourceIP"
   694  
   695  	DestinationIP = "destinationIP"
   696  
   697  	LocalIP = "localIP"
   698  
   699  	RemoteIP = "remoteIP"
   700  
   701  	SourceCIDR = "sourceCIDR"
   702  
   703  	// DestinationCIDR is a destination CIDR
   704  	DestinationCIDR = "destinationCIDR"
   705  
   706  	// EgressIP is the egress IP used in a given egress policy
   707  	EgressIP = "egressIP"
   708  
   709  	// GatewayIP is the gateway IP used in a given egress policy
   710  	GatewayIP = "gatewayIP"
   711  
   712  	// Number of Backends failed while restoration.
   713  	RestoredBackends = "restoredBackends"
   714  
   715  	// Number of Backends failed while restoration.
   716  	FailedBackends = "failedBackends"
   717  
   718  	// SkippedBackends is the number of Backends that were skipped during restore
   719  	// as duplicates.
   720  	SkippedBackends = "skippedBackends"
   721  
   722  	// OrphanBackends is the number Backends that are not associated with any services.
   723  	OrphanBackends = "orphanBackends"
   724  
   725  	// Number of Services failed while restoration.
   726  	RestoredSVCs = "restoredServices"
   727  
   728  	// Number of Services failed while restoration.
   729  	FailedSVCs = "failedServices"
   730  
   731  	// Chain is an Iptables chain
   732  	Chain = "chain"
   733  
   734  	// IPSec SPI
   735  	SPI = "spi"
   736  
   737  	// IPSec old SPI
   738  	OldSPI = "oldSPI"
   739  
   740  	// CGroupId is the numerical cgroup id
   741  	CGroupID = "cgroupID"
   742  
   743  	// Expected is an expected value
   744  	Expected = "expected"
   745  
   746  	// ConfigSource is a configuration source (for process options, e.g. agent)
   747  	ConfigSource = "configSource"
   748  
   749  	// ConfigKey is a single key in a configuration source
   750  	ConfigKey = "configKey"
   751  
   752  	// ConfigAnnotation is an annotation on a node
   753  	ConfigAnnotation = "configAnnotation"
   754  
   755  	// User identifies a given user
   756  	User = "user"
   757  
   758  	// CIDRGroupRef is a references to a CiliumCIDRGroup object.
   759  	CIDRGroupRef = "cidrGroupRef"
   760  
   761  	// Workers represents the number of workers.
   762  	Workers = "workers"
   763  
   764  	// Event identifies the type of an event.
   765  	Event = "event"
   766  
   767  	// Prefix identifies a given prefix.
   768  	Prefix = "prefix"
   769  
   770  	// Value identifies a generic value (e.g., of a key/value pair).
   771  	Value = "value"
   772  
   773  	// State is the state of an individual component (apiserver, kvstore etc)
   774  	State = "state"
   775  
   776  	// EtcdQPSLimit is the QPS limit for an etcd client.
   777  	EtcdQPSLimit = "etcdQPSLimit"
   778  
   779  	// LeaseID identifies a KVStore lease
   780  	LeaseID = "leaseID"
   781  
   782  	// EventType identifies the type of KVStore events
   783  	EventType = "eventType"
   784  
   785  	// Entries specifies the number of KVStore entries
   786  	Entries = "entries"
   787  	// Action is the summarized action from a reconciliation.
   788  	Action = "action"
   789  
   790  	// EtcdClusterID is the ID of the etcd cluster
   791  	EtcdClusterID = "etcdClusterID"
   792  
   793  	// NetnsCookie is the Linux kernel netns cookie.
   794  	NetnsCookie = "netnsCookie"
   795  
   796  	// Target identifies a target value
   797  	Target = "target"
   798  
   799  	// StaleIPs represents a set of stale IPs.
   800  	StaleIPs = "staleIPs"
   801  )