func()

in pkg/fake/k8sClient.go [86:96]


func (m *MockClient) Get(ctx context.Context, key types.NamespacedName, obj k8sClient.Object, opts ...k8sClient.GetOption) error {
	//make any necessary changes to the object
	if m.UpdateCb != nil {
		m.UpdateCb(key)
	}

	m.GetObjectFromMap(obj, key)

	args := m.Called(ctx, key, obj, opts)
	return args.Error(0)
}