Documentation ¶
Overview ¶
Package mock_providerclient is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetProvider(ctx context.Context, resourceProviderNamespace string) (*armresources.Provider, error)
- func (m *MockInterface) GetVirtualMachineSupportedZones(ctx context.Context) (map[string][]*string, error)
- func (m *MockInterface) ListProviders(ctx context.Context) ([]*armresources.Provider, error)
- type MockInterfaceGetProviderCall
- func (c *MockInterfaceGetProviderCall) Do(f func(context.Context, string) (*armresources.Provider, error)) *MockInterfaceGetProviderCall
- func (c *MockInterfaceGetProviderCall) DoAndReturn(f func(context.Context, string) (*armresources.Provider, error)) *MockInterfaceGetProviderCall
- func (c *MockInterfaceGetProviderCall) Return(arg0 *armresources.Provider, arg1 error) *MockInterfaceGetProviderCall
- type MockInterfaceGetVirtualMachineSupportedZonesCall
- func (c *MockInterfaceGetVirtualMachineSupportedZonesCall) Do(f func(context.Context) (map[string][]*string, error)) *MockInterfaceGetVirtualMachineSupportedZonesCall
- func (c *MockInterfaceGetVirtualMachineSupportedZonesCall) DoAndReturn(f func(context.Context) (map[string][]*string, error)) *MockInterfaceGetVirtualMachineSupportedZonesCall
- func (c *MockInterfaceGetVirtualMachineSupportedZonesCall) Return(arg0 map[string][]*string, arg1 error) *MockInterfaceGetVirtualMachineSupportedZonesCall
- type MockInterfaceListProvidersCall
- func (c *MockInterfaceListProvidersCall) Do(f func(context.Context) ([]*armresources.Provider, error)) *MockInterfaceListProvidersCall
- func (c *MockInterfaceListProvidersCall) DoAndReturn(f func(context.Context) ([]*armresources.Provider, error)) *MockInterfaceListProvidersCall
- func (c *MockInterfaceListProvidersCall) Return(arg0 []*armresources.Provider, arg1 error) *MockInterfaceListProvidersCall
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) GetProvider(ctx, resourceProviderNamespace any) *MockInterfaceGetProviderCall
- func (mr *MockInterfaceMockRecorder) GetVirtualMachineSupportedZones(ctx any) *MockInterfaceGetVirtualMachineSupportedZonesCall
- func (mr *MockInterfaceMockRecorder) ListProviders(ctx any) *MockInterfaceListProvidersCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetProvider ¶
func (m *MockInterface) GetProvider(ctx context.Context, resourceProviderNamespace string) (*armresources.Provider, error)
GetProvider mocks base method.
func (*MockInterface) GetVirtualMachineSupportedZones ¶
func (m *MockInterface) GetVirtualMachineSupportedZones(ctx context.Context) (map[string][]*string, error)
GetVirtualMachineSupportedZones mocks base method.
func (*MockInterface) ListProviders ¶
func (m *MockInterface) ListProviders(ctx context.Context) ([]*armresources.Provider, error)
ListProviders mocks base method.
type MockInterfaceGetProviderCall ¶ added in v0.2.2
MockInterfaceGetProviderCall wrap *gomock.Call
func (*MockInterfaceGetProviderCall) Do ¶ added in v0.2.2
func (c *MockInterfaceGetProviderCall) Do(f func(context.Context, string) (*armresources.Provider, error)) *MockInterfaceGetProviderCall
Do rewrite *gomock.Call.Do
func (*MockInterfaceGetProviderCall) DoAndReturn ¶ added in v0.2.2
func (c *MockInterfaceGetProviderCall) DoAndReturn(f func(context.Context, string) (*armresources.Provider, error)) *MockInterfaceGetProviderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInterfaceGetProviderCall) Return ¶ added in v0.2.2
func (c *MockInterfaceGetProviderCall) Return(arg0 *armresources.Provider, arg1 error) *MockInterfaceGetProviderCall
Return rewrite *gomock.Call.Return
type MockInterfaceGetVirtualMachineSupportedZonesCall ¶ added in v0.2.2
MockInterfaceGetVirtualMachineSupportedZonesCall wrap *gomock.Call
func (*MockInterfaceGetVirtualMachineSupportedZonesCall) Do ¶ added in v0.2.2
func (c *MockInterfaceGetVirtualMachineSupportedZonesCall) Do(f func(context.Context) (map[string][]*string, error)) *MockInterfaceGetVirtualMachineSupportedZonesCall
Do rewrite *gomock.Call.Do
func (*MockInterfaceGetVirtualMachineSupportedZonesCall) DoAndReturn ¶ added in v0.2.2
func (c *MockInterfaceGetVirtualMachineSupportedZonesCall) DoAndReturn(f func(context.Context) (map[string][]*string, error)) *MockInterfaceGetVirtualMachineSupportedZonesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInterfaceGetVirtualMachineSupportedZonesCall) Return ¶ added in v0.2.2
func (c *MockInterfaceGetVirtualMachineSupportedZonesCall) Return(arg0 map[string][]*string, arg1 error) *MockInterfaceGetVirtualMachineSupportedZonesCall
Return rewrite *gomock.Call.Return
type MockInterfaceListProvidersCall ¶ added in v0.2.2
MockInterfaceListProvidersCall wrap *gomock.Call
func (*MockInterfaceListProvidersCall) Do ¶ added in v0.2.2
func (c *MockInterfaceListProvidersCall) Do(f func(context.Context) ([]*armresources.Provider, error)) *MockInterfaceListProvidersCall
Do rewrite *gomock.Call.Do
func (*MockInterfaceListProvidersCall) DoAndReturn ¶ added in v0.2.2
func (c *MockInterfaceListProvidersCall) DoAndReturn(f func(context.Context) ([]*armresources.Provider, error)) *MockInterfaceListProvidersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInterfaceListProvidersCall) Return ¶ added in v0.2.2
func (c *MockInterfaceListProvidersCall) Return(arg0 []*armresources.Provider, arg1 error) *MockInterfaceListProvidersCall
Return rewrite *gomock.Call.Return
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) GetProvider ¶
func (mr *MockInterfaceMockRecorder) GetProvider(ctx, resourceProviderNamespace any) *MockInterfaceGetProviderCall
GetProvider indicates an expected call of GetProvider.
func (*MockInterfaceMockRecorder) GetVirtualMachineSupportedZones ¶
func (mr *MockInterfaceMockRecorder) GetVirtualMachineSupportedZones(ctx any) *MockInterfaceGetVirtualMachineSupportedZonesCall
GetVirtualMachineSupportedZones indicates an expected call of GetVirtualMachineSupportedZones.
func (*MockInterfaceMockRecorder) ListProviders ¶
func (mr *MockInterfaceMockRecorder) ListProviders(ctx any) *MockInterfaceListProvidersCall
ListProviders indicates an expected call of ListProviders.