Documentation
¶
Overview ¶
Package storage is a generated GoMock package.
Index ¶
- type MockInstance
- func (m *MockInstance) BaseURL(catalog string) string
- func (m *MockInstance) ContentExists(catalog string) bool
- func (m *MockInstance) Delete(catalog string) error
- func (m *MockInstance) EXPECT() *MockInstanceMockRecorder
- func (m *MockInstance) StorageServerHandler() http.Handler
- func (m *MockInstance) Store(ctx context.Context, catalog string, fsys fs.FS) error
- type MockInstanceMockRecorder
- func (mr *MockInstanceMockRecorder) BaseURL(catalog any) *gomock.Call
- func (mr *MockInstanceMockRecorder) ContentExists(catalog any) *gomock.Call
- func (mr *MockInstanceMockRecorder) Delete(catalog any) *gomock.Call
- func (mr *MockInstanceMockRecorder) StorageServerHandler() *gomock.Call
- func (mr *MockInstanceMockRecorder) Store(ctx, catalog, fsys any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInstance ¶
type MockInstance struct {
// contains filtered or unexported fields
}
MockInstance is a mock of Instance interface.
func NewMockInstance ¶
func NewMockInstance(ctrl *gomock.Controller) *MockInstance
NewMockInstance creates a new mock instance.
func (*MockInstance) BaseURL ¶
func (m *MockInstance) BaseURL(catalog string) string
BaseURL mocks base method.
func (*MockInstance) ContentExists ¶
func (m *MockInstance) ContentExists(catalog string) bool
ContentExists mocks base method.
func (*MockInstance) Delete ¶
func (m *MockInstance) Delete(catalog string) error
Delete mocks base method.
func (*MockInstance) EXPECT ¶
func (m *MockInstance) EXPECT() *MockInstanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstance) StorageServerHandler ¶
func (m *MockInstance) StorageServerHandler() http.Handler
StorageServerHandler mocks base method.
type MockInstanceMockRecorder ¶
type MockInstanceMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceMockRecorder is the mock recorder for MockInstance.
func (*MockInstanceMockRecorder) BaseURL ¶
func (mr *MockInstanceMockRecorder) BaseURL(catalog any) *gomock.Call
BaseURL indicates an expected call of BaseURL.
func (*MockInstanceMockRecorder) ContentExists ¶
func (mr *MockInstanceMockRecorder) ContentExists(catalog any) *gomock.Call
ContentExists indicates an expected call of ContentExists.
func (*MockInstanceMockRecorder) Delete ¶
func (mr *MockInstanceMockRecorder) Delete(catalog any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockInstanceMockRecorder) StorageServerHandler ¶
func (mr *MockInstanceMockRecorder) StorageServerHandler() *gomock.Call
StorageServerHandler indicates an expected call of StorageServerHandler.
Click to show internal directories.
Click to hide internal directories.