Documentation ¶
Overview ¶
Package mockblobclient implements the mock client for blob container.
Package mockblobclient is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) CreateContainer(ctx context.Context, ...) *retry.Error
- func (m *MockInterface) DeleteContainer(ctx context.Context, ...) *retry.Error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetContainer(ctx context.Context, ...) (storage.BlobContainer, *retry.Error)
- func (m *MockInterface) GetServiceProperties(ctx context.Context, subsID, resourceGroupName, accountName string) (storage.BlobServiceProperties, error)
- func (m *MockInterface) SetServiceProperties(ctx context.Context, subsID, resourceGroupName, accountName string, ...) (storage.BlobServiceProperties, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) CreateContainer(ctx, subsID, resourceGroupName, accountName, containerName, parameters any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteContainer(ctx, subsID, resourceGroupName, accountName, containerName any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetContainer(ctx, subsID, resourceGroupName, accountName, containerName any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetServiceProperties(ctx, subsID, resourceGroupName, accountName any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetServiceProperties(ctx, subsID, resourceGroupName, accountName, parameters any) *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) 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 ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
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.