Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockResourceController
- func (m *MockResourceController) CreateResourceInstance(arg0 *resourcecontrollerv2.CreateResourceInstanceOptions) (*resourcecontrollerv2.ResourceInstance, *core.DetailedResponse, error)
- func (m *MockResourceController) CreateResourceKey(arg0 *resourcecontrollerv2.CreateResourceKeyOptions) (*resourcecontrollerv2.ResourceKey, *core.DetailedResponse, error)
- func (m *MockResourceController) DeleteResourceInstance(arg0 *resourcecontrollerv2.DeleteResourceInstanceOptions) (*core.DetailedResponse, error)
- func (m *MockResourceController) EXPECT() *MockResourceControllerMockRecorder
- func (m *MockResourceController) GetInstanceByName(arg0, arg1, arg2 string) (*resourcecontrollerv2.ResourceInstance, error)
- func (m *MockResourceController) GetResourceInstance(arg0 *resourcecontrollerv2.GetResourceInstanceOptions) (*resourcecontrollerv2.ResourceInstance, *core.DetailedResponse, error)
- func (m *MockResourceController) GetServiceInstance(arg0, arg1 string, arg2 *string) (*resourcecontrollerv2.ResourceInstance, error)
- func (m *MockResourceController) GetServiceURL() string
- func (m *MockResourceController) ListResourceInstances(...) (*resourcecontrollerv2.ResourceInstancesList, *core.DetailedResponse, error)
- func (m *MockResourceController) SetServiceURL(arg0 string) error
- type MockResourceControllerMockRecorder
- func (mr *MockResourceControllerMockRecorder) CreateResourceInstance(arg0 any) *gomock.Call
- func (mr *MockResourceControllerMockRecorder) CreateResourceKey(arg0 any) *gomock.Call
- func (mr *MockResourceControllerMockRecorder) DeleteResourceInstance(arg0 any) *gomock.Call
- func (mr *MockResourceControllerMockRecorder) GetInstanceByName(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockResourceControllerMockRecorder) GetResourceInstance(arg0 any) *gomock.Call
- func (mr *MockResourceControllerMockRecorder) GetServiceInstance(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockResourceControllerMockRecorder) GetServiceURL() *gomock.Call
- func (mr *MockResourceControllerMockRecorder) ListResourceInstances(listResourceInstancesOptions any) *gomock.Call
- func (mr *MockResourceControllerMockRecorder) SetServiceURL(arg0 any) *gomock.Call
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 ¶
func (m *MockResourceController) CreateResourceInstance(arg0 *resourcecontrollerv2.CreateResourceInstanceOptions) (*resourcecontrollerv2.ResourceInstance, *core.DetailedResponse, error)
CreateResourceInstance mocks base method.
func (*MockResourceController) CreateResourceKey ¶
func (m *MockResourceController) CreateResourceKey(arg0 *resourcecontrollerv2.CreateResourceKeyOptions) (*resourcecontrollerv2.ResourceKey, *core.DetailedResponse, error)
CreateResourceKey mocks base method.
func (*MockResourceController) DeleteResourceInstance ¶
func (m *MockResourceController) DeleteResourceInstance(arg0 *resourcecontrollerv2.DeleteResourceInstanceOptions) (*core.DetailedResponse, error)
DeleteResourceInstance mocks base method.
func (*MockResourceController) EXPECT ¶
func (m *MockResourceController) EXPECT() *MockResourceControllerMockRecorder
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 ¶
func (m *MockResourceController) GetResourceInstance(arg0 *resourcecontrollerv2.GetResourceInstanceOptions) (*resourcecontrollerv2.ResourceInstance, *core.DetailedResponse, error)
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 ¶
func (m *MockResourceController) ListResourceInstances(listResourceInstancesOptions *resourcecontrollerv2.ListResourceInstancesOptions) (*resourcecontrollerv2.ResourceInstancesList, *core.DetailedResponse, error)
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.