logz

package
v0.0.0-...-9632032 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: Apache-2.0 Imports: 11 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelegateGk

func DelegateGk(gk schema.GroupKind) zapcore.Field

DelegateGk is a zap field to identify logs of an object gk that was processed in the ResourceEventHandler, that had a lookup or owner that was queued instead.

func DelegateName

func DelegateName(name string) zapcore.Field

DelegateName is a zap field to identify logs of an object name that was processed in the ResourceEventHandler, that had a lookup or owner that was queued instead.

func Iteration

func Iteration(iteration uint32) zapcore.Field

func LogStructuredPanic

func LogStructuredPanic()

func Namespace

func Namespace(obj meta_v1.Object) zapcore.Field

func NamespaceName

func NamespaceName(namespace string) zapcore.Field

func Object

func Object(obj meta_v1.Object) zapcore.Field

Object returns a zap field used to record ObjectName.

func ObjectGk

func ObjectGk(gk schema.GroupKind) zapcore.Field

ObjectGk is a zap field to identify logs with the object gk of a specific object being processed in the ResourceEventHandler or in the Controller.

func ObjectName

func ObjectName(name string) zapcore.Field

ObjectName is a zap field to identify logs with the object name of a specific object being processed in the ResourceEventHandler or in the Controller.

func Operation

func Operation(operation ctrl.Operation) zapcore.Field

Operation is a zap field used in ResourceEventHandler to identify the operation that the logs are being produced from.

Types

This section is empty.

Jump to

Keyboard shortcuts

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