Help us shape the future of Go! Take the 2026 Go Developer Survey

storage

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package storage is a generated GoMock package.

Index

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

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.

func (*MockInstance) Store

func (m *MockInstance) Store(ctx context.Context, catalog string, fsys fs.FS) error

Store 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.

func (*MockInstanceMockRecorder) Store

func (mr *MockInstanceMockRecorder) Store(ctx, catalog, fsys any) *gomock.Call

Store indicates an expected call of Store.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL