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 ¶
func (m *MockTemplateStore) EXPECT() *MockTemplateStoreMockRecorder
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.