Documentation ¶
Index ¶
- type ComposedProtobufStore
- func (_m *ComposedProtobufStore) CopyRaw(ctx context.Context, source storage.DataReference, ...) error
- func (_m *ComposedProtobufStore) GetBaseContainerFQN(ctx context.Context) storage.DataReference
- func (_m *ComposedProtobufStore) Head(ctx context.Context, reference storage.DataReference) (storage.Metadata, error)
- func (_m *ComposedProtobufStore) OnCopyRaw(ctx context.Context, source storage.DataReference, ...) *ComposedProtobufStore_CopyRaw
- func (_m *ComposedProtobufStore) OnCopyRawMatch(matchers ...interface{}) *ComposedProtobufStore_CopyRaw
- func (_m *ComposedProtobufStore) OnGetBaseContainerFQN(ctx context.Context) *ComposedProtobufStore_GetBaseContainerFQN
- func (_m *ComposedProtobufStore) OnGetBaseContainerFQNMatch(matchers ...interface{}) *ComposedProtobufStore_GetBaseContainerFQN
- func (_m *ComposedProtobufStore) OnHead(ctx context.Context, reference storage.DataReference) *ComposedProtobufStore_Head
- func (_m *ComposedProtobufStore) OnHeadMatch(matchers ...interface{}) *ComposedProtobufStore_Head
- func (_m *ComposedProtobufStore) OnReadProtobuf(ctx context.Context, reference storage.DataReference, msg protoiface.MessageV1) *ComposedProtobufStore_ReadProtobuf
- func (_m *ComposedProtobufStore) OnReadProtobufMatch(matchers ...interface{}) *ComposedProtobufStore_ReadProtobuf
- func (_m *ComposedProtobufStore) OnReadRaw(ctx context.Context, reference storage.DataReference) *ComposedProtobufStore_ReadRaw
- func (_m *ComposedProtobufStore) OnReadRawMatch(matchers ...interface{}) *ComposedProtobufStore_ReadRaw
- func (_m *ComposedProtobufStore) OnWriteProtobuf(ctx context.Context, reference storage.DataReference, opts storage.Options, ...) *ComposedProtobufStore_WriteProtobuf
- func (_m *ComposedProtobufStore) OnWriteProtobufMatch(matchers ...interface{}) *ComposedProtobufStore_WriteProtobuf
- func (_m *ComposedProtobufStore) OnWriteRaw(ctx context.Context, reference storage.DataReference, size int64, ...) *ComposedProtobufStore_WriteRaw
- func (_m *ComposedProtobufStore) OnWriteRawMatch(matchers ...interface{}) *ComposedProtobufStore_WriteRaw
- func (_m *ComposedProtobufStore) ReadProtobuf(ctx context.Context, reference storage.DataReference, msg protoiface.MessageV1) error
- func (_m *ComposedProtobufStore) ReadRaw(ctx context.Context, reference storage.DataReference) (io.ReadCloser, error)
- func (_m *ComposedProtobufStore) WriteProtobuf(ctx context.Context, reference storage.DataReference, opts storage.Options, ...) error
- func (_m *ComposedProtobufStore) WriteRaw(ctx context.Context, reference storage.DataReference, size int64, ...) error
- type ComposedProtobufStore_CopyRaw
- type ComposedProtobufStore_GetBaseContainerFQN
- type ComposedProtobufStore_Head
- type ComposedProtobufStore_ReadProtobuf
- type ComposedProtobufStore_ReadRaw
- type ComposedProtobufStore_WriteProtobuf
- type ComposedProtobufStore_WriteRaw
- type RawStore
- func (_m *RawStore) CopyRaw(ctx context.Context, source storage.DataReference, ...) error
- func (_m *RawStore) GetBaseContainerFQN(ctx context.Context) storage.DataReference
- func (_m *RawStore) Head(ctx context.Context, reference storage.DataReference) (storage.Metadata, error)
- func (_m *RawStore) OnCopyRaw(ctx context.Context, source storage.DataReference, ...) *RawStore_CopyRaw
- func (_m *RawStore) OnCopyRawMatch(matchers ...interface{}) *RawStore_CopyRaw
- func (_m *RawStore) OnGetBaseContainerFQN(ctx context.Context) *RawStore_GetBaseContainerFQN
- func (_m *RawStore) OnGetBaseContainerFQNMatch(matchers ...interface{}) *RawStore_GetBaseContainerFQN
- func (_m *RawStore) OnHead(ctx context.Context, reference storage.DataReference) *RawStore_Head
- func (_m *RawStore) OnHeadMatch(matchers ...interface{}) *RawStore_Head
- func (_m *RawStore) OnReadRaw(ctx context.Context, reference storage.DataReference) *RawStore_ReadRaw
- func (_m *RawStore) OnReadRawMatch(matchers ...interface{}) *RawStore_ReadRaw
- func (_m *RawStore) OnWriteRaw(ctx context.Context, reference storage.DataReference, size int64, ...) *RawStore_WriteRaw
- func (_m *RawStore) OnWriteRawMatch(matchers ...interface{}) *RawStore_WriteRaw
- func (_m *RawStore) ReadRaw(ctx context.Context, reference storage.DataReference) (io.ReadCloser, error)
- func (_m *RawStore) WriteRaw(ctx context.Context, reference storage.DataReference, size int64, ...) error
- type RawStore_CopyRaw
- type RawStore_GetBaseContainerFQN
- type RawStore_Head
- type RawStore_ReadRaw
- type RawStore_WriteRaw
- type ReferenceConstructor
- func (_m *ReferenceConstructor) ConstructReference(ctx context.Context, reference storage.DataReference, nestedKeys ...string) (storage.DataReference, error)
- func (_m *ReferenceConstructor) OnConstructReference(ctx context.Context, reference storage.DataReference, nestedKeys ...string) *ReferenceConstructor_ConstructReference
- func (_m *ReferenceConstructor) OnConstructReferenceMatch(matchers ...interface{}) *ReferenceConstructor_ConstructReference
- type ReferenceConstructor_ConstructReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComposedProtobufStore ¶
ComposedProtobufStore is an autogenerated mock type for the ComposedProtobufStore type
func (*ComposedProtobufStore) CopyRaw ¶
func (_m *ComposedProtobufStore) 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 (*ComposedProtobufStore) GetBaseContainerFQN ¶
func (_m *ComposedProtobufStore) GetBaseContainerFQN(ctx context.Context) storage.DataReference
GetBaseContainerFQN provides a mock function with given fields: ctx
func (*ComposedProtobufStore) Head ¶
func (_m *ComposedProtobufStore) Head(ctx context.Context, reference storage.DataReference) (storage.Metadata, error)
Head provides a mock function with given fields: ctx, reference
func (*ComposedProtobufStore) OnCopyRaw ¶
func (_m *ComposedProtobufStore) OnCopyRaw(ctx context.Context, source storage.DataReference, destination storage.DataReference, opts storage.Options) *ComposedProtobufStore_CopyRaw
func (*ComposedProtobufStore) OnCopyRawMatch ¶
func (_m *ComposedProtobufStore) OnCopyRawMatch(matchers ...interface{}) *ComposedProtobufStore_CopyRaw
func (*ComposedProtobufStore) OnGetBaseContainerFQN ¶
func (_m *ComposedProtobufStore) OnGetBaseContainerFQN(ctx context.Context) *ComposedProtobufStore_GetBaseContainerFQN
func (*ComposedProtobufStore) OnGetBaseContainerFQNMatch ¶
func (_m *ComposedProtobufStore) OnGetBaseContainerFQNMatch(matchers ...interface{}) *ComposedProtobufStore_GetBaseContainerFQN
func (*ComposedProtobufStore) OnHead ¶
func (_m *ComposedProtobufStore) OnHead(ctx context.Context, reference storage.DataReference) *ComposedProtobufStore_Head
func (*ComposedProtobufStore) OnHeadMatch ¶
func (_m *ComposedProtobufStore) OnHeadMatch(matchers ...interface{}) *ComposedProtobufStore_Head
func (*ComposedProtobufStore) OnReadProtobuf ¶
func (_m *ComposedProtobufStore) OnReadProtobuf(ctx context.Context, reference storage.DataReference, msg protoiface.MessageV1) *ComposedProtobufStore_ReadProtobuf
func (*ComposedProtobufStore) OnReadProtobufMatch ¶
func (_m *ComposedProtobufStore) OnReadProtobufMatch(matchers ...interface{}) *ComposedProtobufStore_ReadProtobuf
func (*ComposedProtobufStore) OnReadRaw ¶
func (_m *ComposedProtobufStore) OnReadRaw(ctx context.Context, reference storage.DataReference) *ComposedProtobufStore_ReadRaw
func (*ComposedProtobufStore) OnReadRawMatch ¶
func (_m *ComposedProtobufStore) OnReadRawMatch(matchers ...interface{}) *ComposedProtobufStore_ReadRaw
func (*ComposedProtobufStore) OnWriteProtobuf ¶
func (_m *ComposedProtobufStore) OnWriteProtobuf(ctx context.Context, reference storage.DataReference, opts storage.Options, msg protoiface.MessageV1) *ComposedProtobufStore_WriteProtobuf
func (*ComposedProtobufStore) OnWriteProtobufMatch ¶
func (_m *ComposedProtobufStore) OnWriteProtobufMatch(matchers ...interface{}) *ComposedProtobufStore_WriteProtobuf
func (*ComposedProtobufStore) OnWriteRaw ¶
func (_m *ComposedProtobufStore) OnWriteRaw(ctx context.Context, reference storage.DataReference, size int64, opts storage.Options, raw io.Reader) *ComposedProtobufStore_WriteRaw
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 ¶
func (_m *ComposedProtobufStore) ReadRaw(ctx context.Context, reference storage.DataReference) (io.ReadCloser, error)
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
type ComposedProtobufStore_CopyRaw ¶
func (ComposedProtobufStore_CopyRaw) Return ¶
func (_m ComposedProtobufStore_CopyRaw) Return(_a0 error) *ComposedProtobufStore_CopyRaw
type ComposedProtobufStore_GetBaseContainerFQN ¶
func (ComposedProtobufStore_GetBaseContainerFQN) Return ¶
func (_m ComposedProtobufStore_GetBaseContainerFQN) Return(_a0 storage.DataReference) *ComposedProtobufStore_GetBaseContainerFQN
type ComposedProtobufStore_Head ¶
func (ComposedProtobufStore_Head) Return ¶
func (_m ComposedProtobufStore_Head) Return(_a0 storage.Metadata, _a1 error) *ComposedProtobufStore_Head
type ComposedProtobufStore_ReadProtobuf ¶
func (ComposedProtobufStore_ReadProtobuf) Return ¶
func (_m ComposedProtobufStore_ReadProtobuf) Return(_a0 error) *ComposedProtobufStore_ReadProtobuf
type ComposedProtobufStore_ReadRaw ¶
func (ComposedProtobufStore_ReadRaw) Return ¶
func (_m ComposedProtobufStore_ReadRaw) Return(_a0 io.ReadCloser, _a1 error) *ComposedProtobufStore_ReadRaw
type ComposedProtobufStore_WriteProtobuf ¶
func (ComposedProtobufStore_WriteProtobuf) Return ¶
func (_m ComposedProtobufStore_WriteProtobuf) Return(_a0 error) *ComposedProtobufStore_WriteProtobuf
type ComposedProtobufStore_WriteRaw ¶
func (ComposedProtobufStore_WriteRaw) Return ¶
func (_m ComposedProtobufStore_WriteRaw) Return(_a0 error) *ComposedProtobufStore_WriteRaw
type RawStore ¶
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 (*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
type RawStore_CopyRaw ¶
func (RawStore_CopyRaw) Return ¶
func (_m RawStore_CopyRaw) Return(_a0 error) *RawStore_CopyRaw
type RawStore_GetBaseContainerFQN ¶
func (RawStore_GetBaseContainerFQN) Return ¶
func (_m RawStore_GetBaseContainerFQN) Return(_a0 storage.DataReference) *RawStore_GetBaseContainerFQN
type RawStore_Head ¶
func (RawStore_Head) Return ¶
func (_m RawStore_Head) Return(_a0 storage.Metadata, _a1 error) *RawStore_Head
type RawStore_ReadRaw ¶
func (RawStore_ReadRaw) Return ¶
func (_m RawStore_ReadRaw) Return(_a0 io.ReadCloser, _a1 error) *RawStore_ReadRaw
type RawStore_WriteRaw ¶
func (RawStore_WriteRaw) Return ¶
func (_m RawStore_WriteRaw) Return(_a0 error) *RawStore_WriteRaw
type ReferenceConstructor ¶
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 ¶
func (ReferenceConstructor_ConstructReference) Return ¶
func (_m ReferenceConstructor_ConstructReference) Return(_a0 storage.DataReference, _a1 error) *ReferenceConstructor_ConstructReference