mockblobclient

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mockblobclient implements the mock client for blob container.

Package mockblobclient 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) CreateContainer

func (m *MockInterface) CreateContainer(ctx context.Context, subsID, resourceGroupName, accountName, containerName string, parameters storage.BlobContainer) *retry.Error

CreateContainer mocks base method.

func (*MockInterface) DeleteContainer

func (m *MockInterface) DeleteContainer(ctx context.Context, subsID, resourceGroupName, accountName, containerName string) *retry.Error

DeleteContainer mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) GetContainer

func (m *MockInterface) GetContainer(ctx context.Context, subsID, resourceGroupName, accountName, containerName string) (storage.BlobContainer, *retry.Error)

GetContainer mocks base method.

func (*MockInterface) GetServiceProperties added in v1.27.0

func (m *MockInterface) GetServiceProperties(ctx context.Context, subsID, resourceGroupName, accountName string) (storage.BlobServiceProperties, error)

GetServiceProperties mocks base method.

func (*MockInterface) SetServiceProperties added in v1.27.0

func (m *MockInterface) SetServiceProperties(ctx context.Context, subsID, resourceGroupName, accountName string, parameters storage.BlobServiceProperties) (storage.BlobServiceProperties, error)

SetServiceProperties mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) CreateContainer

func (mr *MockInterfaceMockRecorder) CreateContainer(ctx, subsID, resourceGroupName, accountName, containerName, parameters any) *gomock.Call

CreateContainer indicates an expected call of CreateContainer.

func (*MockInterfaceMockRecorder) DeleteContainer

func (mr *MockInterfaceMockRecorder) DeleteContainer(ctx, subsID, resourceGroupName, accountName, containerName any) *gomock.Call

DeleteContainer indicates an expected call of DeleteContainer.

func (*MockInterfaceMockRecorder) GetContainer

func (mr *MockInterfaceMockRecorder) GetContainer(ctx, subsID, resourceGroupName, accountName, containerName any) *gomock.Call

GetContainer indicates an expected call of GetContainer.

func (*MockInterfaceMockRecorder) GetServiceProperties added in v1.27.0

func (mr *MockInterfaceMockRecorder) GetServiceProperties(ctx, subsID, resourceGroupName, accountName any) *gomock.Call

GetServiceProperties indicates an expected call of GetServiceProperties.

func (*MockInterfaceMockRecorder) SetServiceProperties added in v1.27.0

func (mr *MockInterfaceMockRecorder) SetServiceProperties(ctx, subsID, resourceGroupName, accountName, parameters any) *gomock.Call

SetServiceProperties indicates an expected call of SetServiceProperties.

Jump to

Keyboard shortcuts

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