logging

package
v3.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Process               = "process"
	Details               = "details"
	EventType             = "event_type"
	TemplateName          = "template_name"
	ConstraintNamespace   = "constraint_namespace"
	ConstraintName        = "constraint_name"
	ConstraintGroup       = "constraint_group"
	ConstraintKind        = "constraint_kind"
	ConstraintAPIVersion  = "constraint_api_version"
	ConstraintStatus      = "constraint_status"
	ConstraintAction      = "constraint_action"
	ConstraintAnnotations = "constraint_annotations"
	AuditID               = "audit_id"
	ConstraintViolations  = "constraint_violations"
	ResourceGroup         = "resource_group"
	ResourceKind          = "resource_kind"
	ResourceLabels        = "resource_labels"
	ResourceAPIVersion    = "resource_api_version"
	ResourceNamespace     = "resource_namespace"
	ResourceName          = "resource_name"
	ResourceSourceType    = "resource_source_type"
	RequestUsername       = "request_username"
	MutationApplied       = "mutation_applied"
	Mutator               = "mutator"
	DebugLevel            = 1 // r.log.Debug(foo) == r.log.V(logging.DebugLevel).Info(foo)
	ExecutionStats        = "execution_stats"
)

Log keys.

Variables

This section is empty.

Functions

func LogStatsEntries

func LogStatsEntries(client *constraintclient.Client, logger logr.Logger, entries []*instrumentation.StatsEntry, msg string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL