mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks holds the generated doubles of the file group's dependencies, for the methods' tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockObjects

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

MockObjects is a mock of Objects interface.

func NewMockObjects

func NewMockObjects(ctrl *gomock.Controller) *MockObjects

NewMockObjects creates a new mock instance.

func (*MockObjects) Delete

func (m *MockObjects) Delete(ctx context.Context, name string) error

Delete mocks base method.

func (*MockObjects) EXPECT

func (m *MockObjects) EXPECT() *MockObjectsMockRecorder

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

func (*MockObjects) GetBytes

func (m *MockObjects) GetBytes(ctx context.Context, name string) ([]byte, error)

GetBytes mocks base method.

func (*MockObjects) Info

func (m *MockObjects) Info(ctx context.Context, name string) (*jetstream.ObjectInfo, error)

Info mocks base method.

func (*MockObjects) List

func (m *MockObjects) List(ctx context.Context) ([]*jetstream.ObjectInfo, error)

List mocks base method.

func (*MockObjects) Put

Put mocks base method.

type MockObjectsMockRecorder

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

MockObjectsMockRecorder is the mock recorder for MockObjects.

func (*MockObjectsMockRecorder) Delete

func (mr *MockObjectsMockRecorder) Delete(ctx, name any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockObjectsMockRecorder) GetBytes

func (mr *MockObjectsMockRecorder) GetBytes(ctx, name any) *gomock.Call

GetBytes indicates an expected call of GetBytes.

func (*MockObjectsMockRecorder) Info

func (mr *MockObjectsMockRecorder) Info(ctx, name any) *gomock.Call

Info indicates an expected call of Info.

func (*MockObjectsMockRecorder) List

func (mr *MockObjectsMockRecorder) List(ctx any) *gomock.Call

List indicates an expected call of List.

func (*MockObjectsMockRecorder) Put

func (mr *MockObjectsMockRecorder) Put(ctx, meta, r any) *gomock.Call

Put indicates an expected call of Put.

type MockStates

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

MockStates is a mock of States interface.

func NewMockStates

func NewMockStates(ctrl *gomock.Controller) *MockStates

NewMockStates creates a new mock instance.

func (*MockStates) EXPECT

func (m *MockStates) EXPECT() *MockStatesMockRecorder

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

func (*MockStates) Get

Get mocks base method.

func (*MockStates) Keys

func (m *MockStates) Keys(ctx context.Context) ([]string, error)

Keys mocks base method.

type MockStatesMockRecorder

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

MockStatesMockRecorder is the mock recorder for MockStates.

func (*MockStatesMockRecorder) Get

func (mr *MockStatesMockRecorder) Get(ctx, key any) *gomock.Call

Get indicates an expected call of Get.

func (*MockStatesMockRecorder) Keys

func (mr *MockStatesMockRecorder) Keys(ctx any) *gomock.Call

Keys indicates an expected call of Keys.

Jump to

Keyboard shortcuts

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