Documentation
¶
Index ¶
Constants ¶
View Source
const ( LogKeyHook = "hook" LogKeyQueue = "queue" LogKeyQueueName = "queueName" LogKeyQueueLength = "queue_length" LogKeyQueueLengthBefore = "queue_length_before" LogKeyQueueLengthAfter = "queue_length_after" LogKeyQueueIsDirty = "queue_is_dirty" LogKeyCompactionThreshold = "compaction_threshold" LogKeyTaskID = "task_id" LogKeyTaskType = "task_type" LogKeyTaskDescription = "task_description" LogKeyTasksCount = "tasksCount" LogKeyTasks = "tasks" LogKeyAfterTaskCount = "after_task_count" LogKeyHeadTaskCount = "head_task_count" LogKeyTailTaskCount = "tail_task_count" LogKeySleepDelay = "sleep_delay" LogKeyName = "name" LogKeyDescription = "description" LogKeyCommand = "command" LogKeyDir = "dir" LogKeyLine = "line" LogKeyPath = "path" LogKeyFile = "file" LogKeyAddress = "address" LogKeyPort = "port" LogKeyFormat = "format" LogKeyComponent = "component" LogKeyParameter = "parameter" LogKeyOldValue = "old_value" LogKeyNewValue = "new_value" LogKeyCrontab = "crontab" LogKeyOperatorComponent = "operator.component" LogKeyHTTPMethod = "http_method" LogKeyURI = "uri" LogKeyRespStatus = "resp_status" LogKeyRespBytesLength = "resp_bytes_length" LogKeyRespElapsedMs = "resp_elapsed_ms" LogKeyStack = "stack" LogKeyPanic = "panic" LogKeyValue = "value" LogKeyConfig = "config" LogKeyType = "type" LogKeyWorkingDir = "workingDir" LogKeyPaths = "paths" LogKeyPhase = "phase" LogKeyCmd = "cmd" LogKeyOutput = "output" LogKeyConfigId = "configId" LogKeyWebhookId = "webhookId" LogKeyConfigurationId = "configurationId" LogKeyConfigurationID = "configurationID" LogKeyWebhookID = "webhookID" LogKeyConfID = "confID" LogKeyKind = "kind" LogKeyNamespace = "namespace" LogKeyDebugName = "debugName" LogKeyAPIVersion = "apiVersion" LogKeyGVR = "gvr" LogKeyCount = "count" LogKeyResourceId = "resourceId" LogKeyChecksum = "checksum" LogKeyEventType = "eventType" LogKeyCRD = "crd" LogKeyRequest = "request" LogKeyConfigurationName = "configurationName" LogKeyMessage = "message" LogKeyDropped = "dropped" LogKeyFilteredCount = "filteredCount" LogKeyTask = "task" LogKeyBinding = "binding" LogKeyEvent = "event" LogKeyEventID = "event.id" LogKeyTaskDotID = "task.id" LogKeyInfo = "info" LogKeyVersions = "versions" LogKeyLen = "len" LogKeyFailedCount = "failedCount" LogKeyBindingName = "bindingName" LogKeyMonitorID = "monitorID" LogKeyRule = "rule" LogKeyError = "error" LogKeyJqFilter = "jqFilter" )
Log attribute key constants for use with log/slog.
View Source
const ( MetricKeyHook = "hook" MetricKeyKind = "kind" MetricKeyBinding = "binding" MetricKeyQueue = "queue" MetricKeyQueueName = "queue_name" MetricKeyQueueAction = "queue_action" MetricKeyErrorType = "error_type" MetricKeyComponent = "component" )
Metric label key constants for Prometheus metrics.
Variables ¶
This section is empty.
Functions ¶
func DefaultCreateOptions ¶
func DefaultCreateOptions() metav1.CreateOptions
func DefaultPatchOptions ¶
func DefaultPatchOptions() metav1.PatchOptions
func DefaultUpdateOptions ¶
func DefaultUpdateOptions() metav1.UpdateOptions
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
kube
|
|
|
Package metrics provides centralized metric names and registration functions for shell-operator.
|
Package metrics provides centralized metric names and registration functions for shell-operator. |
|
utils
|
|
|
webhook
|
|
Click to show internal directories.
Click to hide internal directories.