mock

package
v0.9.0-beta.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockResourceController

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

MockResourceController is a mock of ResourceController interface.

func NewMockResourceController

func NewMockResourceController(ctrl *gomock.Controller) *MockResourceController

NewMockResourceController creates a new mock instance.

func (*MockResourceController) CreateResourceInstance

CreateResourceInstance mocks base method.

func (*MockResourceController) CreateResourceKey

CreateResourceKey mocks base method.

func (*MockResourceController) DeleteResourceInstance

DeleteResourceInstance mocks base method.

func (*MockResourceController) EXPECT

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

func (*MockResourceController) GetInstanceByName

func (m *MockResourceController) GetInstanceByName(arg0, arg1, arg2 string) (*resourcecontrollerv2.ResourceInstance, error)

GetInstanceByName mocks base method.

func (*MockResourceController) GetResourceInstance

GetResourceInstance mocks base method.

func (*MockResourceController) GetServiceInstance

func (m *MockResourceController) GetServiceInstance(arg0, arg1 string, arg2 *string) (*resourcecontrollerv2.ResourceInstance, error)

GetServiceInstance mocks base method.

func (*MockResourceController) GetServiceURL

func (m *MockResourceController) GetServiceURL() string

GetServiceURL mocks base method.

func (*MockResourceController) ListResourceInstances

ListResourceInstances mocks base method.

func (*MockResourceController) SetServiceURL

func (m *MockResourceController) SetServiceURL(arg0 string) error

SetServiceURL mocks base method.

type MockResourceControllerMockRecorder

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

MockResourceControllerMockRecorder is the mock recorder for MockResourceController.

func (*MockResourceControllerMockRecorder) CreateResourceInstance

func (mr *MockResourceControllerMockRecorder) CreateResourceInstance(arg0 any) *gomock.Call

CreateResourceInstance indicates an expected call of CreateResourceInstance.

func (*MockResourceControllerMockRecorder) CreateResourceKey

func (mr *MockResourceControllerMockRecorder) CreateResourceKey(arg0 any) *gomock.Call

CreateResourceKey indicates an expected call of CreateResourceKey.

func (*MockResourceControllerMockRecorder) DeleteResourceInstance

func (mr *MockResourceControllerMockRecorder) DeleteResourceInstance(arg0 any) *gomock.Call

DeleteResourceInstance indicates an expected call of DeleteResourceInstance.

func (*MockResourceControllerMockRecorder) GetInstanceByName

func (mr *MockResourceControllerMockRecorder) GetInstanceByName(arg0, arg1, arg2 any) *gomock.Call

GetInstanceByName indicates an expected call of GetInstanceByName.

func (*MockResourceControllerMockRecorder) GetResourceInstance

func (mr *MockResourceControllerMockRecorder) GetResourceInstance(arg0 any) *gomock.Call

GetResourceInstance indicates an expected call of GetResourceInstance.

func (*MockResourceControllerMockRecorder) GetServiceInstance

func (mr *MockResourceControllerMockRecorder) GetServiceInstance(arg0, arg1, arg2 any) *gomock.Call

GetServiceInstance indicates an expected call of GetServiceInstance.

func (*MockResourceControllerMockRecorder) GetServiceURL

func (mr *MockResourceControllerMockRecorder) GetServiceURL() *gomock.Call

GetServiceURL indicates an expected call of GetServiceURL.

func (*MockResourceControllerMockRecorder) ListResourceInstances

func (mr *MockResourceControllerMockRecorder) ListResourceInstances(listResourceInstancesOptions any) *gomock.Call

ListResourceInstances indicates an expected call of ListResourceInstances.

func (*MockResourceControllerMockRecorder) SetServiceURL

func (mr *MockResourceControllerMockRecorder) SetServiceURL(arg0 any) *gomock.Call

SetServiceURL indicates an expected call of SetServiceURL.

Jump to

Keyboard shortcuts

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