mock_archive

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_archive is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockArchive

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

MockArchive is a mock of Archive interface.

func NewMockArchive

func NewMockArchive(ctrl *gomock.Controller) *MockArchive

NewMockArchive creates a new mock instance.

func (*MockArchive) Close

func (m *MockArchive) Close(ctx context.Context) error

Close mocks base method.

func (*MockArchive) EXPECT

func (m *MockArchive) EXPECT() *MockArchiveMockRecorder

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

func (*MockArchive) Init

func (m *MockArchive) Init(a *app.App) error

Init mocks base method.

func (*MockArchive) Name

func (m *MockArchive) Name() string

Name mocks base method.

func (*MockArchive) Restore

func (m *MockArchive) Restore(ctx context.Context, spaceId string) error

Restore mocks base method.

func (*MockArchive) Run

func (m *MockArchive) Run(ctx context.Context) error

Run mocks base method.

type MockArchiveMockRecorder

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

MockArchiveMockRecorder is the mock recorder for MockArchive.

func (*MockArchiveMockRecorder) Close

func (mr *MockArchiveMockRecorder) Close(ctx any) *gomock.Call

Close indicates an expected call of Close.

func (*MockArchiveMockRecorder) Init

func (mr *MockArchiveMockRecorder) Init(a any) *gomock.Call

Init indicates an expected call of Init.

func (*MockArchiveMockRecorder) Name

func (mr *MockArchiveMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockArchiveMockRecorder) Restore

func (mr *MockArchiveMockRecorder) Restore(ctx, spaceId any) *gomock.Call

Restore indicates an expected call of Restore.

func (*MockArchiveMockRecorder) Run

func (mr *MockArchiveMockRecorder) Run(ctx any) *gomock.Call

Run indicates an expected call of Run.

Jump to

Keyboard shortcuts

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