mocks

package
v1.116.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEventRecorder

type MockEventRecorder struct {
	// contains filtered or unexported fields
}

func NewMockEventRecorder

func NewMockEventRecorder(t *testing.T, scheme *runtime.Scheme) *MockEventRecorder

func (*MockEventRecorder) AnnotatedEventf

func (r *MockEventRecorder) AnnotatedEventf(object runtime.Object, _ map[string]string, eventtype, reason, messageFmt string, args ...interface{})

func (*MockEventRecorder) AssertEventRecorded

func (r *MockEventRecorder) AssertEventRecorded(kind string, nn types.NamespacedName, eventtype, reason, message string)

func (*MockEventRecorder) Event

func (r *MockEventRecorder) Event(object runtime.Object, eventtype, reason, message string)

func (*MockEventRecorder) Eventf

func (r *MockEventRecorder) Eventf(object runtime.Object, eventtype, reason, messageFmt string, args ...interface{})

func (*MockEventRecorder) PastEventf

func (r *MockEventRecorder) PastEventf(object runtime.Object, _ metav1.Time, eventtype, reason, messageFmt string, args ...interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL