mocks

package
v0.4.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComposedProtobufStore

type ComposedProtobufStore struct {
	mock.Mock
}

ComposedProtobufStore is an autogenerated mock type for the ComposedProtobufStore type

func (*ComposedProtobufStore) CopyRaw

CopyRaw provides a mock function with given fields: ctx, source, destination, opts

func (*ComposedProtobufStore) GetBaseContainerFQN

func (_m *ComposedProtobufStore) GetBaseContainerFQN(ctx context.Context) storage.DataReference

GetBaseContainerFQN provides a mock function with given fields: ctx

func (*ComposedProtobufStore) Head

Head provides a mock function with given fields: ctx, reference

func (*ComposedProtobufStore) OnCopyRaw

func (*ComposedProtobufStore) OnCopyRawMatch

func (_m *ComposedProtobufStore) OnCopyRawMatch(matchers ...interface{}) *ComposedProtobufStore_CopyRaw

func (*ComposedProtobufStore) OnGetBaseContainerFQN

func (*ComposedProtobufStore) OnGetBaseContainerFQNMatch

func (_m *ComposedProtobufStore) OnGetBaseContainerFQNMatch(matchers ...interface{}) *ComposedProtobufStore_GetBaseContainerFQN

func (*ComposedProtobufStore) OnHead

func (*ComposedProtobufStore) OnHeadMatch

func (_m *ComposedProtobufStore) OnHeadMatch(matchers ...interface{}) *ComposedProtobufStore_Head

func (*ComposedProtobufStore) OnReadProtobuf

func (*ComposedProtobufStore) OnReadProtobufMatch

func (_m *ComposedProtobufStore) OnReadProtobufMatch(matchers ...interface{}) *ComposedProtobufStore_ReadProtobuf

func (*ComposedProtobufStore) OnReadRaw

func (*ComposedProtobufStore) OnReadRawMatch

func (_m *ComposedProtobufStore) OnReadRawMatch(matchers ...interface{}) *ComposedProtobufStore_ReadRaw

func (*ComposedProtobufStore) OnWriteProtobuf

func (*ComposedProtobufStore) OnWriteProtobufMatch

func (_m *ComposedProtobufStore) OnWriteProtobufMatch(matchers ...interface{}) *ComposedProtobufStore_WriteProtobuf

func (*ComposedProtobufStore) OnWriteRaw

func (*ComposedProtobufStore) OnWriteRawMatch

func (_m *ComposedProtobufStore) OnWriteRawMatch(matchers ...interface{}) *ComposedProtobufStore_WriteRaw

func (*ComposedProtobufStore) ReadProtobuf

func (_m *ComposedProtobufStore) ReadProtobuf(ctx context.Context, reference storage.DataReference, msg protoiface.MessageV1) error

ReadProtobuf provides a mock function with given fields: ctx, reference, msg

func (*ComposedProtobufStore) ReadRaw

ReadRaw provides a mock function with given fields: ctx, reference

func (*ComposedProtobufStore) WriteProtobuf

func (_m *ComposedProtobufStore) WriteProtobuf(ctx context.Context, reference storage.DataReference, opts storage.Options, msg protoiface.MessageV1) error

WriteProtobuf provides a mock function with given fields: ctx, reference, opts, msg

func (*ComposedProtobufStore) WriteRaw

func (_m *ComposedProtobufStore) WriteRaw(ctx context.Context, reference storage.DataReference, size int64, opts storage.Options, raw io.Reader) error

WriteRaw provides a mock function with given fields: ctx, reference, size, opts, raw

type ComposedProtobufStore_CopyRaw

type ComposedProtobufStore_CopyRaw struct {
	*mock.Call
}

func (ComposedProtobufStore_CopyRaw) Return

type ComposedProtobufStore_GetBaseContainerFQN

type ComposedProtobufStore_GetBaseContainerFQN struct {
	*mock.Call
}

func (ComposedProtobufStore_GetBaseContainerFQN) Return

type ComposedProtobufStore_Head

type ComposedProtobufStore_Head struct {
	*mock.Call
}

func (ComposedProtobufStore_Head) Return

type ComposedProtobufStore_ReadProtobuf

type ComposedProtobufStore_ReadProtobuf struct {
	*mock.Call
}

func (ComposedProtobufStore_ReadProtobuf) Return

type ComposedProtobufStore_ReadRaw

type ComposedProtobufStore_ReadRaw struct {
	*mock.Call
}

func (ComposedProtobufStore_ReadRaw) Return

type ComposedProtobufStore_WriteProtobuf

type ComposedProtobufStore_WriteProtobuf struct {
	*mock.Call
}

func (ComposedProtobufStore_WriteProtobuf) Return

type ComposedProtobufStore_WriteRaw

type ComposedProtobufStore_WriteRaw struct {
	*mock.Call
}

func (ComposedProtobufStore_WriteRaw) Return

type RawStore

type RawStore struct {
	mock.Mock
}

RawStore is an autogenerated mock type for the RawStore type

func (*RawStore) CopyRaw

func (_m *RawStore) CopyRaw(ctx context.Context, source storage.DataReference, destination storage.DataReference, opts storage.Options) error

CopyRaw provides a mock function with given fields: ctx, source, destination, opts

func (*RawStore) GetBaseContainerFQN

func (_m *RawStore) GetBaseContainerFQN(ctx context.Context) storage.DataReference

GetBaseContainerFQN provides a mock function with given fields: ctx

func (*RawStore) Head

func (_m *RawStore) Head(ctx context.Context, reference storage.DataReference) (storage.Metadata, error)

Head provides a mock function with given fields: ctx, reference

func (*RawStore) OnCopyRaw

func (_m *RawStore) OnCopyRaw(ctx context.Context, source storage.DataReference, destination storage.DataReference, opts storage.Options) *RawStore_CopyRaw

func (*RawStore) OnCopyRawMatch

func (_m *RawStore) OnCopyRawMatch(matchers ...interface{}) *RawStore_CopyRaw

func (*RawStore) OnGetBaseContainerFQN

func (_m *RawStore) OnGetBaseContainerFQN(ctx context.Context) *RawStore_GetBaseContainerFQN

func (*RawStore) OnGetBaseContainerFQNMatch

func (_m *RawStore) OnGetBaseContainerFQNMatch(matchers ...interface{}) *RawStore_GetBaseContainerFQN

func (*RawStore) OnHead

func (_m *RawStore) OnHead(ctx context.Context, reference storage.DataReference) *RawStore_Head

func (*RawStore) OnHeadMatch

func (_m *RawStore) OnHeadMatch(matchers ...interface{}) *RawStore_Head

func (*RawStore) OnReadRaw

func (_m *RawStore) OnReadRaw(ctx context.Context, reference storage.DataReference) *RawStore_ReadRaw

func (*RawStore) OnReadRawMatch

func (_m *RawStore) OnReadRawMatch(matchers ...interface{}) *RawStore_ReadRaw

func (*RawStore) OnWriteRaw

func (_m *RawStore) OnWriteRaw(ctx context.Context, reference storage.DataReference, size int64, opts storage.Options, raw io.Reader) *RawStore_WriteRaw

func (*RawStore) OnWriteRawMatch

func (_m *RawStore) OnWriteRawMatch(matchers ...interface{}) *RawStore_WriteRaw

func (*RawStore) ReadRaw

func (_m *RawStore) ReadRaw(ctx context.Context, reference storage.DataReference) (io.ReadCloser, error)

ReadRaw provides a mock function with given fields: ctx, reference

func (*RawStore) WriteRaw

func (_m *RawStore) WriteRaw(ctx context.Context, reference storage.DataReference, size int64, opts storage.Options, raw io.Reader) error

WriteRaw provides a mock function with given fields: ctx, reference, size, opts, raw

type RawStore_CopyRaw

type RawStore_CopyRaw struct {
	*mock.Call
}

func (RawStore_CopyRaw) Return

func (_m RawStore_CopyRaw) Return(_a0 error) *RawStore_CopyRaw

type RawStore_GetBaseContainerFQN

type RawStore_GetBaseContainerFQN struct {
	*mock.Call
}

func (RawStore_GetBaseContainerFQN) Return

type RawStore_Head

type RawStore_Head struct {
	*mock.Call
}

func (RawStore_Head) Return

func (_m RawStore_Head) Return(_a0 storage.Metadata, _a1 error) *RawStore_Head

type RawStore_ReadRaw

type RawStore_ReadRaw struct {
	*mock.Call
}

func (RawStore_ReadRaw) Return

func (_m RawStore_ReadRaw) Return(_a0 io.ReadCloser, _a1 error) *RawStore_ReadRaw

type RawStore_WriteRaw

type RawStore_WriteRaw struct {
	*mock.Call
}

func (RawStore_WriteRaw) Return

func (_m RawStore_WriteRaw) Return(_a0 error) *RawStore_WriteRaw

type ReferenceConstructor

type ReferenceConstructor struct {
	mock.Mock
}

ReferenceConstructor is an autogenerated mock type for the ReferenceConstructor type

func (*ReferenceConstructor) ConstructReference

func (_m *ReferenceConstructor) ConstructReference(ctx context.Context, reference storage.DataReference, nestedKeys ...string) (storage.DataReference, error)

ConstructReference provides a mock function with given fields: ctx, reference, nestedKeys

func (*ReferenceConstructor) OnConstructReference

func (_m *ReferenceConstructor) OnConstructReference(ctx context.Context, reference storage.DataReference, nestedKeys ...string) *ReferenceConstructor_ConstructReference

func (*ReferenceConstructor) OnConstructReferenceMatch

func (_m *ReferenceConstructor) OnConstructReferenceMatch(matchers ...interface{}) *ReferenceConstructor_ConstructReference

type ReferenceConstructor_ConstructReference

type ReferenceConstructor_ConstructReference struct {
	*mock.Call
}

func (ReferenceConstructor_ConstructReference) Return

Jump to

Keyboard shortcuts

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