mockarmclient

package
v1.0.22 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 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, ifMatch string) *retry.Error

DeleteResource mocks base method.

func (*MockInterface) DeleteResourceAsync

func (m *MockInterface) DeleteResourceAsync(ctx context.Context, resourceID, ifMatch string) (*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) 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{}) (*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{}) (*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{}) (*http.Response, *retry.Error)

PutResource mocks base method.

func (*MockInterface) PutResourceAsync

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

PutResourceAsync mocks base method.

func (*MockInterface) PutResourceWithDecorators

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

PutResourceWithDecorators mocks base method.

func (*MockInterface) PutResources

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

PutResources 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, ifMatch interface{}) *gomock.Call

DeleteResource indicates an expected call of DeleteResource.

func (*MockInterfaceMockRecorder) DeleteResourceAsync

func (mr *MockInterfaceMockRecorder) DeleteResourceAsync(ctx, resourceID, ifMatch 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) 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{}) *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{}) *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{}) *gomock.Call

PutResource indicates an expected call of PutResource.

func (*MockInterfaceMockRecorder) PutResourceAsync

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

PutResourceAsync indicates an expected call of PutResourceAsync.

func (*MockInterfaceMockRecorder) PutResourceWithDecorators

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

PutResourceWithDecorators indicates an expected call of PutResourceWithDecorators.

func (*MockInterfaceMockRecorder) PutResources

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

PutResources indicates an expected call of PutResources.

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