ownerhandlingmocks

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OwnerStrategyMock

type OwnerStrategyMock struct {
	mock.Mock
}

func (*OwnerStrategyMock) EnqueueRequestForOwner

func (m *OwnerStrategyMock) EnqueueRequestForOwner(
	ownerType client.Object, mapper meta.RESTMapper, isController bool,
) handler.EventHandler

func (*OwnerStrategyMock) HasController added in v1.11.0

func (m *OwnerStrategyMock) HasController(obj metav1.Object) bool

func (*OwnerStrategyMock) IsController

func (m *OwnerStrategyMock) IsController(owner, obj metav1.Object) bool

func (*OwnerStrategyMock) IsOwner added in v1.9.1

func (m *OwnerStrategyMock) IsOwner(owner, obj metav1.Object) bool

func (*OwnerStrategyMock) OwnerPatch

func (m *OwnerStrategyMock) OwnerPatch(obj metav1.Object) ([]byte, error)

func (*OwnerStrategyMock) ReleaseController

func (m *OwnerStrategyMock) ReleaseController(obj metav1.Object)

func (*OwnerStrategyMock) RemoveOwner

func (m *OwnerStrategyMock) RemoveOwner(owner, obj metav1.Object)

func (*OwnerStrategyMock) SetControllerReference

func (m *OwnerStrategyMock) SetControllerReference(owner, obj metav1.Object) error

func (*OwnerStrategyMock) SetOwnerReference

func (m *OwnerStrategyMock) SetOwnerReference(owner, obj metav1.Object) error

Jump to

Keyboard shortcuts

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