Documentation
¶
Overview ¶
Package mock_blobclient is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) AcquireLease(arg0 context.Context, arg1, arg2, arg3 string, arg4 uint) (string, error)
- func (m *MockInterface) BlobExists(arg0 context.Context, arg1, arg2, arg3 string) (bool, error)
- func (m *MockInterface) BreakLease(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
- func (m *MockInterface) ContainerExists(arg0 context.Context, arg1, arg2 string) (bool, error)
- func (m *MockInterface) CreateContainer(arg0 context.Context, arg1, arg2 string) error
- func (m *MockInterface) CreateContainerWithACL(arg0 context.Context, arg1, arg2 string, arg3 blobclient.BlobPublicAccessLevel) error
- func (m *MockInterface) DeleteContainer(arg0 context.Context, arg1, arg2 string) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetBlobData(arg0 context.Context, arg1 string) ([]byte, error)
- func (m *MockInterface) GetBlobDataV1(arg0 context.Context, arg1, arg2, arg3 string) ([]byte, int, error)
- func (m *MockInterface) ListBlobsWithPrefix(arg0 context.Context, arg1, arg2 string) (storage.BlobListResponse, error)
- func (m *MockInterface) PutBlobData(arg0 context.Context, arg1 string, arg2 []byte) error
- func (m *MockInterface) PutBlobDataV1(arg0 context.Context, arg1, arg2, arg3 string, arg4 []byte, ...) error
- func (m *MockInterface) ReleaseLease(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) AcquireLease(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) BlobExists(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) BreakLease(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ContainerExists(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateContainerWithACL(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetBlobData(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetBlobDataV1(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListBlobsWithPrefix(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) PutBlobData(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) PutBlobDataV1(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ReleaseLease(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
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) AcquireLease ¶
func (m *MockInterface) AcquireLease(arg0 context.Context, arg1, arg2, arg3 string, arg4 uint) (string, error)
AcquireLease mocks base method.
func (*MockInterface) BlobExists ¶
BlobExists mocks base method.
func (*MockInterface) BreakLease ¶
func (m *MockInterface) BreakLease(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
BreakLease mocks base method.
func (*MockInterface) ContainerExists ¶
ContainerExists mocks base method.
func (*MockInterface) CreateContainer ¶
func (m *MockInterface) CreateContainer(arg0 context.Context, arg1, arg2 string) error
CreateContainer mocks base method.
func (*MockInterface) CreateContainerWithACL ¶
func (m *MockInterface) CreateContainerWithACL(arg0 context.Context, arg1, arg2 string, arg3 blobclient.BlobPublicAccessLevel) error
CreateContainerWithACL mocks base method.
func (*MockInterface) DeleteContainer ¶
func (m *MockInterface) DeleteContainer(arg0 context.Context, arg1, arg2 string) error
DeleteContainer mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetBlobData ¶
GetBlobData mocks base method.
func (*MockInterface) GetBlobDataV1 ¶
func (m *MockInterface) GetBlobDataV1(arg0 context.Context, arg1, arg2, arg3 string) ([]byte, int, error)
GetBlobDataV1 mocks base method.
func (*MockInterface) ListBlobsWithPrefix ¶
func (m *MockInterface) ListBlobsWithPrefix(arg0 context.Context, arg1, arg2 string) (storage.BlobListResponse, error)
ListBlobsWithPrefix mocks base method.
func (*MockInterface) PutBlobData ¶
PutBlobData mocks base method.
func (*MockInterface) PutBlobDataV1 ¶
func (m *MockInterface) PutBlobDataV1(arg0 context.Context, arg1, arg2, arg3 string, arg4 []byte, arg5 map[string]interface{}) error
PutBlobDataV1 mocks base method.
func (*MockInterface) ReleaseLease ¶
func (m *MockInterface) ReleaseLease(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
ReleaseLease mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) AcquireLease ¶
func (mr *MockInterfaceMockRecorder) AcquireLease(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AcquireLease indicates an expected call of AcquireLease.
func (*MockInterfaceMockRecorder) BlobExists ¶
func (mr *MockInterfaceMockRecorder) BlobExists(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BlobExists indicates an expected call of BlobExists.
func (*MockInterfaceMockRecorder) BreakLease ¶
func (mr *MockInterfaceMockRecorder) BreakLease(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
BreakLease indicates an expected call of BreakLease.
func (*MockInterfaceMockRecorder) ContainerExists ¶
func (mr *MockInterfaceMockRecorder) ContainerExists(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerExists indicates an expected call of ContainerExists.
func (*MockInterfaceMockRecorder) CreateContainer ¶
func (mr *MockInterfaceMockRecorder) CreateContainer(arg0, arg1, arg2 interface{}) *gomock.Call
CreateContainer indicates an expected call of CreateContainer.
func (*MockInterfaceMockRecorder) CreateContainerWithACL ¶
func (mr *MockInterfaceMockRecorder) CreateContainerWithACL(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateContainerWithACL indicates an expected call of CreateContainerWithACL.
func (*MockInterfaceMockRecorder) DeleteContainer ¶
func (mr *MockInterfaceMockRecorder) DeleteContainer(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteContainer indicates an expected call of DeleteContainer.
func (*MockInterfaceMockRecorder) GetBlobData ¶
func (mr *MockInterfaceMockRecorder) GetBlobData(arg0, arg1 interface{}) *gomock.Call
GetBlobData indicates an expected call of GetBlobData.
func (*MockInterfaceMockRecorder) GetBlobDataV1 ¶
func (mr *MockInterfaceMockRecorder) GetBlobDataV1(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetBlobDataV1 indicates an expected call of GetBlobDataV1.
func (*MockInterfaceMockRecorder) ListBlobsWithPrefix ¶
func (mr *MockInterfaceMockRecorder) ListBlobsWithPrefix(arg0, arg1, arg2 interface{}) *gomock.Call
ListBlobsWithPrefix indicates an expected call of ListBlobsWithPrefix.
func (*MockInterfaceMockRecorder) PutBlobData ¶
func (mr *MockInterfaceMockRecorder) PutBlobData(arg0, arg1, arg2 interface{}) *gomock.Call
PutBlobData indicates an expected call of PutBlobData.
func (*MockInterfaceMockRecorder) PutBlobDataV1 ¶
func (mr *MockInterfaceMockRecorder) PutBlobDataV1(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
PutBlobDataV1 indicates an expected call of PutBlobDataV1.
func (*MockInterfaceMockRecorder) ReleaseLease ¶
func (mr *MockInterfaceMockRecorder) ReleaseLease(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ReleaseLease indicates an expected call of ReleaseLease.