mock_azblob

package
v0.0.0-...-0b3dc3b Latest Latest
Warning

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

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

Documentation

Overview

Package mock_azblob is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlobsClient

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

MockBlobsClient is a mock of BlobsClient interface.

func NewMockBlobsClient

func NewMockBlobsClient(ctrl *gomock.Controller) *MockBlobsClient

NewMockBlobsClient creates a new mock instance.

func (*MockBlobsClient) BlobExists

func (m *MockBlobsClient) BlobExists(ctx context.Context, container, blobPath string) (bool, error)

BlobExists mocks base method.

func (*MockBlobsClient) DeleteBlob

func (m *MockBlobsClient) DeleteBlob(ctx context.Context, containerName, blobName string, o *azblob.DeleteBlobOptions) (azblob.DeleteBlobResponse, error)

DeleteBlob mocks base method.

func (*MockBlobsClient) DeleteContainer

func (m *MockBlobsClient) DeleteContainer(ctx context.Context, container string) error

DeleteContainer mocks base method.

func (*MockBlobsClient) DownloadStream

func (m *MockBlobsClient) DownloadStream(ctx context.Context, containerName, blobName string, o *azblob.DownloadStreamOptions) (azblob.DownloadStreamResponse, error)

DownloadStream mocks base method.

func (*MockBlobsClient) EXPECT

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

func (*MockBlobsClient) UploadBuffer

func (m *MockBlobsClient) UploadBuffer(ctx context.Context, containerName, blobName string, buffer []byte, o *azblob.UploadBufferOptions) (azblob.UploadBufferResponse, error)

UploadBuffer mocks base method.

type MockBlobsClientMockRecorder

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

MockBlobsClientMockRecorder is the mock recorder for MockBlobsClient.

func (*MockBlobsClientMockRecorder) BlobExists

func (mr *MockBlobsClientMockRecorder) BlobExists(ctx, container, blobPath any) *gomock.Call

BlobExists indicates an expected call of BlobExists.

func (*MockBlobsClientMockRecorder) DeleteBlob

func (mr *MockBlobsClientMockRecorder) DeleteBlob(ctx, containerName, blobName, o any) *gomock.Call

DeleteBlob indicates an expected call of DeleteBlob.

func (*MockBlobsClientMockRecorder) DeleteContainer

func (mr *MockBlobsClientMockRecorder) DeleteContainer(ctx, container any) *gomock.Call

DeleteContainer indicates an expected call of DeleteContainer.

func (*MockBlobsClientMockRecorder) DownloadStream

func (mr *MockBlobsClientMockRecorder) DownloadStream(ctx, containerName, blobName, o any) *gomock.Call

DownloadStream indicates an expected call of DownloadStream.

func (*MockBlobsClientMockRecorder) UploadBuffer

func (mr *MockBlobsClientMockRecorder) UploadBuffer(ctx, containerName, blobName, buffer, o any) *gomock.Call

UploadBuffer indicates an expected call of UploadBuffer.

Jump to

Keyboard shortcuts

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