mock_providerclient

package
v0.2.8 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_providerclient is a generated GoMock package.

Index

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

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

type MockInterfaceGetProviderCall struct {
	*gomock.Call
}

MockInterfaceGetProviderCall wrap *gomock.Call

func (*MockInterfaceGetProviderCall) Do added in v0.2.2

Do rewrite *gomock.Call.Do

func (*MockInterfaceGetProviderCall) DoAndReturn added in v0.2.2

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceGetProviderCall) Return added in v0.2.2

Return rewrite *gomock.Call.Return

type MockInterfaceGetVirtualMachineSupportedZonesCall added in v0.2.2

type MockInterfaceGetVirtualMachineSupportedZonesCall struct {
	*gomock.Call
}

MockInterfaceGetVirtualMachineSupportedZonesCall wrap *gomock.Call

func (*MockInterfaceGetVirtualMachineSupportedZonesCall) Do added in v0.2.2

Do rewrite *gomock.Call.Do

func (*MockInterfaceGetVirtualMachineSupportedZonesCall) DoAndReturn added in v0.2.2

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceGetVirtualMachineSupportedZonesCall) Return added in v0.2.2

Return rewrite *gomock.Call.Return

type MockInterfaceListProvidersCall added in v0.2.2

type MockInterfaceListProvidersCall struct {
	*gomock.Call
}

MockInterfaceListProvidersCall wrap *gomock.Call

func (*MockInterfaceListProvidersCall) Do added in v0.2.2

Do rewrite *gomock.Call.Do

func (*MockInterfaceListProvidersCall) DoAndReturn added in v0.2.2

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceListProvidersCall) Return added in v0.2.2

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

ListProviders indicates an expected call of ListProviders.

Jump to

Keyboard shortcuts

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