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: 4 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 provides mock implementations for testing.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTemplateStore

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

MockTemplateStore is a mock of TemplateStore interface.

func NewMockTemplateStore

func NewMockTemplateStore(ctrl *gomock.Controller) *MockTemplateStore

NewMockTemplateStore creates a new mock instance.

func (*MockTemplateStore) EXPECT

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

func (*MockTemplateStore) ObjectGetBytes

func (m *MockTemplateStore) ObjectGetBytes(ctx context.Context, bucket, name string) ([]byte, error)

ObjectGetBytes mocks base method.

func (*MockTemplateStore) ObjectPutBytes

func (m *MockTemplateStore) ObjectPutBytes(ctx context.Context, bucket, name string, data []byte) (*jetstream.ObjectInfo, error)

ObjectPutBytes mocks base method.

type MockTemplateStoreMockRecorder

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

MockTemplateStoreMockRecorder is the mock recorder for MockTemplateStore.

func (*MockTemplateStoreMockRecorder) ObjectGetBytes

func (mr *MockTemplateStoreMockRecorder) ObjectGetBytes(ctx, bucket, name any) *gomock.Call

ObjectGetBytes indicates an expected call of ObjectGetBytes.

func (*MockTemplateStoreMockRecorder) ObjectPutBytes

func (mr *MockTemplateStoreMockRecorder) ObjectPutBytes(ctx, bucket, name, data any) *gomock.Call

ObjectPutBytes indicates an expected call of ObjectPutBytes.

Jump to

Keyboard shortcuts

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