mock_resources

package
v0.0.0-...-1aaef2a Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0, BSD-3-Clause, CC-BY-3.0, + 1 more Imports: 8 Imported by: 0

Documentation

Overview

Package mock_resources is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockResourceManager

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

MockResourceManager is a mock of ResourceManager interface.

func NewMockResourceManager

func NewMockResourceManager(ctrl *gomock.Controller) *MockResourceManager

NewMockResourceManager creates a new mock instance.

func (*MockResourceManager) ComputeExpectedResources

func (m *MockResourceManager) ComputeExpectedResources(client client.Client, instanceID, bindingID, serviceID, planID, action, namespace string) ([]*unstructured.Unstructured, error)

ComputeExpectedResources mocks base method.

func (*MockResourceManager) ComputeStatus

func (m *MockResourceManager) ComputeStatus(client client.Client, instanceID, bindingID, serviceID, planID, action, namespace string) (*properties.Status, error)

ComputeStatus mocks base method.

func (*MockResourceManager) DeleteSubResources

func (m *MockResourceManager) DeleteSubResources(client client.Client, subResources []v1alpha1.Source) ([]v1alpha1.Source, error)

DeleteSubResources mocks base method.

func (*MockResourceManager) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockResourceManager) ReconcileResources

func (m *MockResourceManager) ReconcileResources(client client.Client, expectedResources []*unstructured.Unstructured, lastResources []v1alpha1.Source, force bool) ([]v1alpha1.Source, error)

ReconcileResources mocks base method.

func (*MockResourceManager) SetOwnerReference

func (m *MockResourceManager) SetOwnerReference(owner v1.Object, resources []*unstructured.Unstructured, scheme *runtime.Scheme) error

SetOwnerReference mocks base method.

type MockResourceManagerMockRecorder

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

MockResourceManagerMockRecorder is the mock recorder for MockResourceManager.

func (*MockResourceManagerMockRecorder) ComputeExpectedResources

func (mr *MockResourceManagerMockRecorder) ComputeExpectedResources(client, instanceID, bindingID, serviceID, planID, action, namespace interface{}) *gomock.Call

ComputeExpectedResources indicates an expected call of ComputeExpectedResources.

func (*MockResourceManagerMockRecorder) ComputeStatus

func (mr *MockResourceManagerMockRecorder) ComputeStatus(client, instanceID, bindingID, serviceID, planID, action, namespace interface{}) *gomock.Call

ComputeStatus indicates an expected call of ComputeStatus.

func (*MockResourceManagerMockRecorder) DeleteSubResources

func (mr *MockResourceManagerMockRecorder) DeleteSubResources(client, subResources interface{}) *gomock.Call

DeleteSubResources indicates an expected call of DeleteSubResources.

func (*MockResourceManagerMockRecorder) ReconcileResources

func (mr *MockResourceManagerMockRecorder) ReconcileResources(client, expectedResources, lastResources, force interface{}) *gomock.Call

ReconcileResources indicates an expected call of ReconcileResources.

func (*MockResourceManagerMockRecorder) SetOwnerReference

func (mr *MockResourceManagerMockRecorder) SetOwnerReference(owner, resources, scheme interface{}) *gomock.Call

SetOwnerReference indicates an expected call of SetOwnerReference.

Jump to

Keyboard shortcuts

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