Documentation ¶
Overview ¶
Package mock_azblob is a generated GoMock package.
Index ¶
- type MockBlobsClient
- func (m *MockBlobsClient) BlobExists(ctx context.Context, container, blobPath string) (bool, error)
- func (m *MockBlobsClient) DeleteBlob(ctx context.Context, containerName, blobName string, ...) (azblob.DeleteBlobResponse, error)
- func (m *MockBlobsClient) DeleteContainer(ctx context.Context, container string) error
- func (m *MockBlobsClient) DownloadStream(ctx context.Context, containerName, blobName string, ...) (azblob.DownloadStreamResponse, error)
- func (m *MockBlobsClient) EXPECT() *MockBlobsClientMockRecorder
- func (m *MockBlobsClient) UploadBuffer(ctx context.Context, containerName, blobName string, buffer []byte, ...) (azblob.UploadBufferResponse, error)
- type MockBlobsClientMockRecorder
- func (mr *MockBlobsClientMockRecorder) BlobExists(ctx, container, blobPath any) *gomock.Call
- func (mr *MockBlobsClientMockRecorder) DeleteBlob(ctx, containerName, blobName, o any) *gomock.Call
- func (mr *MockBlobsClientMockRecorder) DeleteContainer(ctx, container any) *gomock.Call
- func (mr *MockBlobsClientMockRecorder) DownloadStream(ctx, containerName, blobName, o any) *gomock.Call
- func (mr *MockBlobsClientMockRecorder) UploadBuffer(ctx, containerName, blobName, buffer, o any) *gomock.Call
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 ¶
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 ¶
func (m *MockBlobsClient) EXPECT() *MockBlobsClientMockRecorder
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.