Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // Emit is used to create Kubernetes events. Emit(ctx context.Context, obj pkgruntime.Object, reason, message string, args ...interface{}) }
type K8sEventsRecorder ¶
type K8sEventsRecorder struct {
record.EventRecorder
}
func (*K8sEventsRecorder) Emit ¶
func (r *K8sEventsRecorder) Emit(ctx context.Context, obj pkgruntime.Object, reason, message string, args ...interface{})
Emit writes only informative events like the status of creation or updates. Error events will be handled by operatorkit when using microerror.
Click to show internal directories.
Click to hide internal directories.