Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectRef ¶
ObjectRef references a Kubernetes object
func (ObjectRef) MarshalLog ¶
func (ref ObjectRef) MarshalLog() interface{}
MarshalLog ensures that loggers with structured output ignore the String method.
We implement fmt.Stringer for non-structured logging, but we want the raw struct when using structured logs. Some logr implementations call String if it is present, so we want to convert this struct to something that doesn't have that method.
Click to show internal directories.
Click to hide internal directories.