Documentation ¶
Overview ¶
Package mock_resources is a generated GoMock package.
Index ¶
- type MockResourceManager
- func (m *MockResourceManager) ComputeExpectedResources(client client.Client, ...) ([]*unstructured.Unstructured, error)
- func (m *MockResourceManager) ComputeStatus(client client.Client, ...) (*properties.Status, error)
- func (m *MockResourceManager) DeleteSubResources(client client.Client, subResources []v1alpha1.Source) ([]v1alpha1.Source, error)
- func (m *MockResourceManager) EXPECT() *MockResourceManagerMockRecorder
- func (m *MockResourceManager) ReconcileResources(client client.Client, expectedResources []*unstructured.Unstructured, ...) ([]v1alpha1.Source, error)
- func (m *MockResourceManager) SetOwnerReference(owner v1.Object, resources []*unstructured.Unstructured, ...) error
- type MockResourceManagerMockRecorder
- func (mr *MockResourceManagerMockRecorder) ComputeExpectedResources(...) *gomock.Call
- func (mr *MockResourceManagerMockRecorder) ComputeStatus(...) *gomock.Call
- func (mr *MockResourceManagerMockRecorder) DeleteSubResources(client, subResources interface{}) *gomock.Call
- func (mr *MockResourceManagerMockRecorder) ReconcileResources(client, expectedResources, lastResources, force interface{}) *gomock.Call
- func (mr *MockResourceManagerMockRecorder) SetOwnerReference(owner, resources, scheme interface{}) *gomock.Call
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 ¶
func (m *MockResourceManager) EXPECT() *MockResourceManagerMockRecorder
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.