Documentation ¶
Index ¶
- type EventInterface
- func (_m *EventInterface) Apply(ctx context.Context, event *v1.EventApplyConfiguration, ...) (*corev1.Event, error)
- func (_m *EventInterface) Create(ctx context.Context, event *corev1.Event, opts metav1.CreateOptions) (*corev1.Event, error)
- func (_m *EventInterface) CreateWithEventNamespace(event *corev1.Event) (*corev1.Event, error)
- func (_m *EventInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *EventInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *EventInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.Event, error)
- func (_m *EventInterface) GetFieldSelector(involvedObjectName *string, involvedObjectNamespace *string, ...) fields.Selector
- func (_m *EventInterface) List(ctx context.Context, opts metav1.ListOptions) (*corev1.EventList, error)
- func (_m *EventInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*corev1.Event, error)
- func (_m *EventInterface) PatchWithEventNamespace(event *corev1.Event, data []byte) (*corev1.Event, error)
- func (_m *EventInterface) Search(scheme *runtime.Scheme, objOrRef runtime.Object) (*corev1.EventList, error)
- func (_m *EventInterface) Update(ctx context.Context, event *corev1.Event, opts metav1.UpdateOptions) (*corev1.Event, error)
- func (_m *EventInterface) UpdateWithEventNamespace(event *corev1.Event) (*corev1.Event, error)
- func (_m *EventInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type EventRecorder
- type EventSink
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventInterface ¶
EventInterface is an autogenerated mock type for the EventInterface type
func (*EventInterface) Apply ¶ added in v1.3.0
func (_m *EventInterface) Apply(ctx context.Context, event *v1.EventApplyConfiguration, opts metav1.ApplyOptions) (*corev1.Event, error)
Apply provides a mock function with given fields: ctx, event, opts
func (*EventInterface) Create ¶
func (_m *EventInterface) Create(ctx context.Context, event *corev1.Event, opts metav1.CreateOptions) (*corev1.Event, error)
Create provides a mock function with given fields: ctx, event, opts
func (*EventInterface) CreateWithEventNamespace ¶
CreateWithEventNamespace provides a mock function with given fields: event
func (*EventInterface) Delete ¶
func (_m *EventInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*EventInterface) DeleteCollection ¶
func (_m *EventInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*EventInterface) Get ¶
func (_m *EventInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.Event, error)
Get provides a mock function with given fields: ctx, name, opts
func (*EventInterface) GetFieldSelector ¶
func (_m *EventInterface) GetFieldSelector(involvedObjectName *string, involvedObjectNamespace *string, involvedObjectKind *string, involvedObjectUID *string) fields.Selector
GetFieldSelector provides a mock function with given fields: involvedObjectName, involvedObjectNamespace, involvedObjectKind, involvedObjectUID
func (*EventInterface) List ¶
func (_m *EventInterface) List(ctx context.Context, opts metav1.ListOptions) (*corev1.EventList, error)
List provides a mock function with given fields: ctx, opts
func (*EventInterface) Patch ¶
func (_m *EventInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*corev1.Event, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*EventInterface) PatchWithEventNamespace ¶
func (_m *EventInterface) PatchWithEventNamespace(event *corev1.Event, data []byte) (*corev1.Event, error)
PatchWithEventNamespace provides a mock function with given fields: event, data
func (*EventInterface) Search ¶
func (_m *EventInterface) Search(scheme *runtime.Scheme, objOrRef runtime.Object) (*corev1.EventList, error)
Search provides a mock function with given fields: scheme, objOrRef
func (*EventInterface) Update ¶
func (_m *EventInterface) Update(ctx context.Context, event *corev1.Event, opts metav1.UpdateOptions) (*corev1.Event, error)
Update provides a mock function with given fields: ctx, event, opts
func (*EventInterface) UpdateWithEventNamespace ¶
UpdateWithEventNamespace provides a mock function with given fields: event
func (*EventInterface) Watch ¶
func (_m *EventInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type EventRecorder ¶
EventRecorder is an autogenerated mock type for the EventRecorder type
func (*EventRecorder) Eventf ¶
func (_m *EventRecorder) Eventf(object runtime.Object, eventtype string, reason string, messageFmt string, args ...interface{})
Eventf provides a mock function with given fields: object, eventtype, reason, messageFmt, args
func (*EventRecorder) LabeledEventf ¶
func (_m *EventRecorder) LabeledEventf(object runtime.Object, labels map[string]string, eventtype string, reason string, messageFmt string, args ...interface{})
LabeledEventf provides a mock function with given fields: object, labels, eventtype, reason, messageFmt, args