mockarmclient

package
v1.28.12 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mockarmclient implements the mock client for ARM.

Package mockarmclient 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) CloseResponse

func (m *MockInterface) CloseResponse(ctx context.Context, response *http.Response)

CloseResponse mocks base method.

func (*MockInterface) DeleteResource

func (m *MockInterface) DeleteResource(ctx context.Context, resourceID string, decorators ...autorest.PrepareDecorator) *retry.Error

DeleteResource mocks base method.

func (*MockInterface) DeleteResourceAsync

func (m *MockInterface) DeleteResourceAsync(ctx context.Context, resourceID string, decorators ...autorest.PrepareDecorator) (*azure.Future, *retry.Error)

DeleteResourceAsync mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) GetResource

func (m *MockInterface) GetResource(ctx context.Context, resourceID string, decorators ...autorest.PrepareDecorator) (*http.Response, *retry.Error)

GetResource mocks base method.

func (*MockInterface) GetResourceWithExpandAPIVersionQuery added in v1.0.22

func (m *MockInterface) GetResourceWithExpandAPIVersionQuery(ctx context.Context, resourceID, expand, apiVersion string) (*http.Response, *retry.Error)

GetResourceWithExpandAPIVersionQuery mocks base method.

func (*MockInterface) GetResourceWithExpandQuery added in v1.0.18

func (m *MockInterface) GetResourceWithExpandQuery(ctx context.Context, resourceID, expand string) (*http.Response, *retry.Error)

GetResourceWithExpandQuery mocks base method.

func (*MockInterface) GetResourceWithQueries added in v1.25.0

func (m *MockInterface) GetResourceWithQueries(ctx context.Context, resourceID string, queries map[string]interface{}) (*http.Response, *retry.Error)

GetResourceWithQueries mocks base method.

func (*MockInterface) HeadResource

func (m *MockInterface) HeadResource(ctx context.Context, resourceID string) (*http.Response, *retry.Error)

HeadResource mocks base method.

func (*MockInterface) PatchResource

func (m *MockInterface) PatchResource(ctx context.Context, resourceID string, parameters interface{}, decorators ...autorest.PrepareDecorator) (*http.Response, *retry.Error)

PatchResource mocks base method.

func (*MockInterface) PatchResourceAsync added in v1.0.16

func (m *MockInterface) PatchResourceAsync(ctx context.Context, resourceID string, parameters interface{}, decorators ...autorest.PrepareDecorator) (*azure.Future, *retry.Error)

PatchResourceAsync mocks base method.

func (*MockInterface) PostResource

func (m *MockInterface) PostResource(ctx context.Context, resourceID, action string, parameters interface{}, queryParameters map[string]interface{}) (*http.Response, *retry.Error)

PostResource mocks base method.

func (*MockInterface) PrepareDeleteRequest

func (m *MockInterface) PrepareDeleteRequest(ctx context.Context, decorators ...autorest.PrepareDecorator) (*http.Request, error)

PrepareDeleteRequest mocks base method.

func (*MockInterface) PrepareGetRequest

func (m *MockInterface) PrepareGetRequest(ctx context.Context, decorators ...autorest.PrepareDecorator) (*http.Request, error)

PrepareGetRequest mocks base method.

func (*MockInterface) PrepareHeadRequest

func (m *MockInterface) PrepareHeadRequest(ctx context.Context, decorators ...autorest.PrepareDecorator) (*http.Request, error)

PrepareHeadRequest mocks base method.

func (*MockInterface) PreparePostRequest

func (m *MockInterface) PreparePostRequest(ctx context.Context, decorators ...autorest.PrepareDecorator) (*http.Request, error)

PreparePostRequest mocks base method.

func (*MockInterface) PreparePutRequest

func (m *MockInterface) PreparePutRequest(ctx context.Context, decorators ...autorest.PrepareDecorator) (*http.Request, error)

PreparePutRequest mocks base method.

func (*MockInterface) PutResource

func (m *MockInterface) PutResource(ctx context.Context, resourceID string, parameters interface{}, decorators ...autorest.PrepareDecorator) (*http.Response, *retry.Error)

PutResource mocks base method.

func (*MockInterface) PutResourceAsync

func (m *MockInterface) PutResourceAsync(ctx context.Context, resourceID string, parameters interface{}, decorators ...autorest.PrepareDecorator) (*azure.Future, *retry.Error)

PutResourceAsync mocks base method.

func (*MockInterface) PutResourcesInBatches added in v1.0.8

func (m *MockInterface) PutResourcesInBatches(ctx context.Context, resources map[string]interface{}, batchSize int) map[string]*armclient.PutResourcesResponse

PutResourcesInBatches mocks base method.

func (*MockInterface) Send

func (m *MockInterface) Send(ctx context.Context, request *http.Request, decorators ...autorest.SendDecorator) (*http.Response, *retry.Error)

Send mocks base method.

func (*MockInterface) SendAsync

func (m *MockInterface) SendAsync(ctx context.Context, request *http.Request) (*azure.Future, *http.Response, *retry.Error)

SendAsync mocks base method.

func (*MockInterface) WaitForAsyncOperationCompletion

func (m *MockInterface) WaitForAsyncOperationCompletion(ctx context.Context, future *azure.Future, asyncOperationName string) error

WaitForAsyncOperationCompletion mocks base method.

func (*MockInterface) WaitForAsyncOperationResult

func (m *MockInterface) WaitForAsyncOperationResult(ctx context.Context, future *azure.Future, asyncOperationName string) (*http.Response, error)

WaitForAsyncOperationResult mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) CloseResponse

func (mr *MockInterfaceMockRecorder) CloseResponse(ctx, response interface{}) *gomock.Call

CloseResponse indicates an expected call of CloseResponse.

func (*MockInterfaceMockRecorder) DeleteResource

func (mr *MockInterfaceMockRecorder) DeleteResource(ctx, resourceID interface{}, decorators ...interface{}) *gomock.Call

DeleteResource indicates an expected call of DeleteResource.

func (*MockInterfaceMockRecorder) DeleteResourceAsync

func (mr *MockInterfaceMockRecorder) DeleteResourceAsync(ctx, resourceID interface{}, decorators ...interface{}) *gomock.Call

DeleteResourceAsync indicates an expected call of DeleteResourceAsync.

func (*MockInterfaceMockRecorder) GetResource

func (mr *MockInterfaceMockRecorder) GetResource(ctx, resourceID interface{}, decorators ...interface{}) *gomock.Call

GetResource indicates an expected call of GetResource.

func (*MockInterfaceMockRecorder) GetResourceWithExpandAPIVersionQuery added in v1.0.22

func (mr *MockInterfaceMockRecorder) GetResourceWithExpandAPIVersionQuery(ctx, resourceID, expand, apiVersion interface{}) *gomock.Call

GetResourceWithExpandAPIVersionQuery indicates an expected call of GetResourceWithExpandAPIVersionQuery.

func (*MockInterfaceMockRecorder) GetResourceWithExpandQuery added in v1.0.18

func (mr *MockInterfaceMockRecorder) GetResourceWithExpandQuery(ctx, resourceID, expand interface{}) *gomock.Call

GetResourceWithExpandQuery indicates an expected call of GetResourceWithExpandQuery.

func (*MockInterfaceMockRecorder) GetResourceWithQueries added in v1.25.0

func (mr *MockInterfaceMockRecorder) GetResourceWithQueries(ctx, resourceID, queries interface{}) *gomock.Call

GetResourceWithQueries indicates an expected call of GetResourceWithQueries.

func (*MockInterfaceMockRecorder) HeadResource

func (mr *MockInterfaceMockRecorder) HeadResource(ctx, resourceID interface{}) *gomock.Call

HeadResource indicates an expected call of HeadResource.

func (*MockInterfaceMockRecorder) PatchResource

func (mr *MockInterfaceMockRecorder) PatchResource(ctx, resourceID, parameters interface{}, decorators ...interface{}) *gomock.Call

PatchResource indicates an expected call of PatchResource.

func (*MockInterfaceMockRecorder) PatchResourceAsync added in v1.0.16

func (mr *MockInterfaceMockRecorder) PatchResourceAsync(ctx, resourceID, parameters interface{}, decorators ...interface{}) *gomock.Call

PatchResourceAsync indicates an expected call of PatchResourceAsync.

func (*MockInterfaceMockRecorder) PostResource

func (mr *MockInterfaceMockRecorder) PostResource(ctx, resourceID, action, parameters, queryParameters interface{}) *gomock.Call

PostResource indicates an expected call of PostResource.

func (*MockInterfaceMockRecorder) PrepareDeleteRequest

func (mr *MockInterfaceMockRecorder) PrepareDeleteRequest(ctx interface{}, decorators ...interface{}) *gomock.Call

PrepareDeleteRequest indicates an expected call of PrepareDeleteRequest.

func (*MockInterfaceMockRecorder) PrepareGetRequest

func (mr *MockInterfaceMockRecorder) PrepareGetRequest(ctx interface{}, decorators ...interface{}) *gomock.Call

PrepareGetRequest indicates an expected call of PrepareGetRequest.

func (*MockInterfaceMockRecorder) PrepareHeadRequest

func (mr *MockInterfaceMockRecorder) PrepareHeadRequest(ctx interface{}, decorators ...interface{}) *gomock.Call

PrepareHeadRequest indicates an expected call of PrepareHeadRequest.

func (*MockInterfaceMockRecorder) PreparePostRequest

func (mr *MockInterfaceMockRecorder) PreparePostRequest(ctx interface{}, decorators ...interface{}) *gomock.Call

PreparePostRequest indicates an expected call of PreparePostRequest.

func (*MockInterfaceMockRecorder) PreparePutRequest

func (mr *MockInterfaceMockRecorder) PreparePutRequest(ctx interface{}, decorators ...interface{}) *gomock.Call

PreparePutRequest indicates an expected call of PreparePutRequest.

func (*MockInterfaceMockRecorder) PutResource

func (mr *MockInterfaceMockRecorder) PutResource(ctx, resourceID, parameters interface{}, decorators ...interface{}) *gomock.Call

PutResource indicates an expected call of PutResource.

func (*MockInterfaceMockRecorder) PutResourceAsync

func (mr *MockInterfaceMockRecorder) PutResourceAsync(ctx, resourceID, parameters interface{}, decorators ...interface{}) *gomock.Call

PutResourceAsync indicates an expected call of PutResourceAsync.

func (*MockInterfaceMockRecorder) PutResourcesInBatches added in v1.0.8

func (mr *MockInterfaceMockRecorder) PutResourcesInBatches(ctx, resources, batchSize interface{}) *gomock.Call

PutResourcesInBatches indicates an expected call of PutResourcesInBatches.

func (*MockInterfaceMockRecorder) Send

func (mr *MockInterfaceMockRecorder) Send(ctx, request interface{}, decorators ...interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockInterfaceMockRecorder) SendAsync

func (mr *MockInterfaceMockRecorder) SendAsync(ctx, request interface{}) *gomock.Call

SendAsync indicates an expected call of SendAsync.

func (*MockInterfaceMockRecorder) WaitForAsyncOperationCompletion

func (mr *MockInterfaceMockRecorder) WaitForAsyncOperationCompletion(ctx, future, asyncOperationName interface{}) *gomock.Call

WaitForAsyncOperationCompletion indicates an expected call of WaitForAsyncOperationCompletion.

func (*MockInterfaceMockRecorder) WaitForAsyncOperationResult

func (mr *MockInterfaceMockRecorder) WaitForAsyncOperationResult(ctx, future, asyncOperationName interface{}) *gomock.Call

WaitForAsyncOperationResult indicates an expected call of WaitForAsyncOperationResult.

Jump to

Keyboard shortcuts

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