Discover Packages
github.com/onexstack/onex
pkg
record
package
Version:
v0.2.0-alpha.12
Opens a new window with list of versions in this module.
Published: Jan 9, 2025
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 1 module, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Jump to ...
Documentation
Overview
Index
Constants
Variables
Functions
Event(object, reason, message)
Eventf(object, reason, message, args)
InitFromRecorder(recorder)
Warn(object, reason, message)
Warnf(object, reason, message, args)
Types
Source Files
Documentation
Documentation
¶
Package record implements recording functionality.
func Event(object runtime.Object, reason, message string)
func Eventf(object runtime.Object, reason, message string, args ...any)
func InitFromRecorder(recorder record.EventRecorder)
func Warn(object runtime.Object, reason, message string)
func Warnf(object runtime.Object, reason, message string, args ...any)
Event constructs an event from the given information and puts it in the queue for sending.
Eventf is just like Event, but with Sprintf for the message field.
InitFromRecorder initializes the global default recorder. It can only be called once.
Subsequent calls are considered noops.
Warn constructs a warning event from the given information and puts it in the queue for sending.
Warnf is just like Warn, but with Sprintf for the message field.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.