Documentation
¶
Index ¶
- type Event
- type Mock
- func (m *Mock) AnnotatedEventf(object runtime.Object, annotations map[string]string, ...)
- func (m *Mock) Event(object runtime.Object, eventtype, reason, message string)
- func (m *Mock) Eventf(object runtime.Object, eventtype, reason, messageFmt string, ...)
- func (m *Mock) List() []string
- func (m *Mock) PastEventf(object runtime.Object, timestamp metav1.Time, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Timestamp metav1.Time
Annotations map[string]string
Object runtime.Object
Type string
Reason string
Message string
}
Event which occurs during an operators reconcile loop.
type Mock ¶
type Mock struct {
// contains filtered or unexported fields
}
Mock which will store events.
func (*Mock) AnnotatedEventf ¶
func (m *Mock) AnnotatedEventf(object runtime.Object, annotations map[string]string, eventtype, reason, messageFmt string, args ...interface{})
AnnotatedEventf satisfies the record.EventRecorder interface.
Click to show internal directories.
Click to hide internal directories.