mock_storage

package
Version: v10.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_storage is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlob

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

MockBlob is a mock of Blob interface

func NewMockBlob

func NewMockBlob(ctrl *gomock.Controller) *MockBlob

NewMockBlob creates a new mock instance

func (*MockBlob) CreateBlockBlob

func (m *MockBlob) CreateBlockBlob(arg0 *storage.PutBlobOptions) error

CreateBlockBlob mocks base method

func (*MockBlob) CreateBlockBlobFromReader

func (m *MockBlob) CreateBlockBlobFromReader(arg0 io.Reader, arg1 *storage.PutBlobOptions) error

CreateBlockBlobFromReader mocks base method

func (*MockBlob) Delete

func (m *MockBlob) Delete(arg0 *storage.DeleteBlobOptions) error

Delete mocks base method

func (*MockBlob) EXPECT

func (m *MockBlob) EXPECT() *MockBlobMockRecorder

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

func (*MockBlob) Exists

func (m *MockBlob) Exists() (bool, error)

Exists mocks base method

func (*MockBlob) Get

func (m *MockBlob) Get(arg0 *storage.GetBlobOptions) (io.ReadCloser, error)

Get mocks base method

func (*MockBlob) GetSASURI

func (m *MockBlob) GetSASURI(arg0 storage.BlobSASOptions) (string, error)

GetSASURI mocks base method

func (*MockBlob) PutBlock

func (m *MockBlob) PutBlock(arg0 string, arg1 []byte, arg2 *storage.PutBlockOptions) error

PutBlock mocks base method

func (*MockBlob) PutBlockList

func (m *MockBlob) PutBlockList(arg0 []storage.Block, arg1 *storage.PutBlockListOptions) error

PutBlockList mocks base method

type MockBlobMockRecorder

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

MockBlobMockRecorder is the mock recorder for MockBlob

func (*MockBlobMockRecorder) CreateBlockBlob

func (mr *MockBlobMockRecorder) CreateBlockBlob(arg0 interface{}) *gomock.Call

CreateBlockBlob indicates an expected call of CreateBlockBlob

func (*MockBlobMockRecorder) CreateBlockBlobFromReader

func (mr *MockBlobMockRecorder) CreateBlockBlobFromReader(arg0, arg1 interface{}) *gomock.Call

CreateBlockBlobFromReader indicates an expected call of CreateBlockBlobFromReader

func (*MockBlobMockRecorder) Delete

func (mr *MockBlobMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockBlobMockRecorder) Exists

func (mr *MockBlobMockRecorder) Exists() *gomock.Call

Exists indicates an expected call of Exists

func (*MockBlobMockRecorder) Get

func (mr *MockBlobMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockBlobMockRecorder) GetSASURI

func (mr *MockBlobMockRecorder) GetSASURI(arg0 interface{}) *gomock.Call

GetSASURI indicates an expected call of GetSASURI

func (*MockBlobMockRecorder) PutBlock

func (mr *MockBlobMockRecorder) PutBlock(arg0, arg1, arg2 interface{}) *gomock.Call

PutBlock indicates an expected call of PutBlock

func (*MockBlobMockRecorder) PutBlockList

func (mr *MockBlobMockRecorder) PutBlockList(arg0, arg1 interface{}) *gomock.Call

PutBlockList indicates an expected call of PutBlockList

type MockBlobStorageClient

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

MockBlobStorageClient is a mock of BlobStorageClient interface

func NewMockBlobStorageClient

func NewMockBlobStorageClient(ctrl *gomock.Controller) *MockBlobStorageClient

NewMockBlobStorageClient creates a new mock instance

func (*MockBlobStorageClient) EXPECT

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

func (*MockBlobStorageClient) GetContainerReference

func (m *MockBlobStorageClient) GetContainerReference(arg0 string) storage0.Container

GetContainerReference mocks base method

type MockBlobStorageClientMockRecorder

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

MockBlobStorageClientMockRecorder is the mock recorder for MockBlobStorageClient

func (*MockBlobStorageClientMockRecorder) GetContainerReference

func (mr *MockBlobStorageClientMockRecorder) GetContainerReference(arg0 interface{}) *gomock.Call

GetContainerReference indicates an expected call of GetContainerReference

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetBlobService

func (m *MockClient) GetBlobService() storage0.BlobStorageClient

GetBlobService mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) GetBlobService

func (mr *MockClientMockRecorder) GetBlobService() *gomock.Call

GetBlobService indicates an expected call of GetBlobService

type MockContainer

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

MockContainer is a mock of Container interface

func NewMockContainer

func NewMockContainer(ctrl *gomock.Controller) *MockContainer

NewMockContainer creates a new mock instance

func (*MockContainer) CreateIfNotExists

func (m *MockContainer) CreateIfNotExists(arg0 *storage.CreateContainerOptions) (bool, error)

CreateIfNotExists mocks base method

func (*MockContainer) EXPECT

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

func (*MockContainer) Exists

func (m *MockContainer) Exists() (bool, error)

Exists mocks base method

func (*MockContainer) GetBlobReference

func (m *MockContainer) GetBlobReference(arg0 string) storage0.Blob

GetBlobReference mocks base method

func (*MockContainer) ListBlobs

ListBlobs mocks base method

type MockContainerMockRecorder

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

MockContainerMockRecorder is the mock recorder for MockContainer

func (*MockContainerMockRecorder) CreateIfNotExists

func (mr *MockContainerMockRecorder) CreateIfNotExists(arg0 interface{}) *gomock.Call

CreateIfNotExists indicates an expected call of CreateIfNotExists

func (*MockContainerMockRecorder) Exists

func (mr *MockContainerMockRecorder) Exists() *gomock.Call

Exists indicates an expected call of Exists

func (*MockContainerMockRecorder) GetBlobReference

func (mr *MockContainerMockRecorder) GetBlobReference(arg0 interface{}) *gomock.Call

GetBlobReference indicates an expected call of GetBlobReference

func (*MockContainerMockRecorder) ListBlobs

func (mr *MockContainerMockRecorder) ListBlobs(arg0 interface{}) *gomock.Call

ListBlobs indicates an expected call of ListBlobs

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL