mocks

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientAPI

type ClientAPI struct {
	mock.Mock
}

ClientAPI is an autogenerated mock type for the ClientAPI type

func (*ClientAPI) CheckExistence

func (_m *ClientAPI) CheckExistence(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (autorest.Response, error)

CheckExistence provides a mock function with given fields: ctx, resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName

func (*ClientAPI) CheckExistenceByID

func (_m *ClientAPI) CheckExistenceByID(ctx context.Context, resourceID string) (autorest.Response, error)

CheckExistenceByID provides a mock function with given fields: ctx, resourceID

func (*ClientAPI) CreateOrUpdate

func (_m *ClientAPI) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters resources.GenericResource) (resources.CreateOrUpdateFuture, error)

CreateOrUpdate provides a mock function with given fields: ctx, resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, parameters

func (*ClientAPI) CreateOrUpdateByID

func (_m *ClientAPI) CreateOrUpdateByID(ctx context.Context, resourceID string, parameters resources.GenericResource) (resources.CreateOrUpdateByIDFuture, error)

CreateOrUpdateByID provides a mock function with given fields: ctx, resourceID, parameters

func (*ClientAPI) Delete

func (_m *ClientAPI) Delete(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (resources.DeleteFuture, error)

Delete provides a mock function with given fields: ctx, resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName

func (*ClientAPI) DeleteByID

func (_m *ClientAPI) DeleteByID(ctx context.Context, resourceID string) (resources.DeleteByIDFuture, error)

DeleteByID provides a mock function with given fields: ctx, resourceID

func (*ClientAPI) Get

func (_m *ClientAPI) Get(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (resources.GenericResource, error)

Get provides a mock function with given fields: ctx, resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName

func (*ClientAPI) GetByID

func (_m *ClientAPI) GetByID(ctx context.Context, resourceID string) (resources.GenericResource, error)

GetByID provides a mock function with given fields: ctx, resourceID

func (*ClientAPI) List

func (_m *ClientAPI) List(ctx context.Context, filter string, expand string, top *int32) (resources.ListResultPage, error)

List provides a mock function with given fields: ctx, filter, expand, top

func (*ClientAPI) ListByResourceGroup

func (_m *ClientAPI) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, expand string, top *int32) (resources.ListResultPage, error)

ListByResourceGroup provides a mock function with given fields: ctx, resourceGroupName, filter, expand, top

func (*ClientAPI) MoveResources

func (_m *ClientAPI) MoveResources(ctx context.Context, sourceResourceGroupName string, parameters resources.MoveInfo) (resources.MoveResourcesFuture, error)

MoveResources provides a mock function with given fields: ctx, sourceResourceGroupName, parameters

func (*ClientAPI) Update

func (_m *ClientAPI) Update(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters resources.GenericResource) (resources.UpdateFuture, error)

Update provides a mock function with given fields: ctx, resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, parameters

func (*ClientAPI) UpdateByID

func (_m *ClientAPI) UpdateByID(ctx context.Context, resourceID string, parameters resources.GenericResource) (resources.UpdateByIDFuture, error)

UpdateByID provides a mock function with given fields: ctx, resourceID, parameters

func (*ClientAPI) ValidateMoveResources

func (_m *ClientAPI) ValidateMoveResources(ctx context.Context, sourceResourceGroupName string, parameters resources.MoveInfo) (resources.ValidateMoveResourcesFuture, error)

ValidateMoveResources provides a mock function with given fields: ctx, sourceResourceGroupName, parameters

Jump to

Keyboard shortcuts

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