test

package
v1.28.0-mobile-data-set.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2018 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CanDeduplicateDataSetOutput added in v1.28.0

type CanDeduplicateDataSetOutput struct {
	Can   bool
	Error error
}

type Factory

type Factory struct {
	*test.Mock
	CanDeduplicateDataSetInvocations               int
	CanDeduplicateDataSetInputs                    []*upload.Upload
	CanDeduplicateDataSetOutputs                   []CanDeduplicateDataSetOutput
	NewDeduplicatorForDataSetInvocations           int
	NewDeduplicatorForDataSetInputs                []NewDeduplicatorForDataSetInput
	NewDeduplicatorForDataSetOutputs               []NewDeduplicatorForDataSetOutput
	IsRegisteredWithDataSetInvocations             int
	IsRegisteredWithDataSetInputs                  []*upload.Upload
	IsRegisteredWithDataSetOutputs                 []IsRegisteredWithDataSetOutput
	NewRegisteredDeduplicatorForDataSetInvocations int
	NewRegisteredDeduplicatorForDataSetInputs      []NewRegisteredDeduplicatorForDataSetInput
	NewRegisteredDeduplicatorForDataSetOutputs     []NewRegisteredDeduplicatorForDataSetOutput
}

func NewFactory

func NewFactory() *Factory

func (*Factory) CanDeduplicateDataSet added in v1.28.0

func (f *Factory) CanDeduplicateDataSet(dataSet *upload.Upload) (bool, error)

func (*Factory) IsRegisteredWithDataSet added in v1.28.0

func (f *Factory) IsRegisteredWithDataSet(dataSet *upload.Upload) (bool, error)

func (*Factory) NewDeduplicatorForDataSet added in v1.28.0

func (f *Factory) NewDeduplicatorForDataSet(logger log.Logger, dataSession storeDEPRECATED.DataSession, dataSet *upload.Upload) (data.Deduplicator, error)

func (*Factory) NewRegisteredDeduplicatorForDataSet added in v1.28.0

func (f *Factory) NewRegisteredDeduplicatorForDataSet(logger log.Logger, dataSession storeDEPRECATED.DataSession, dataSet *upload.Upload) (data.Deduplicator, error)

func (*Factory) UnusedOutputsCount

func (f *Factory) UnusedOutputsCount() int

type IsRegisteredWithDataSetOutput added in v1.28.0

type IsRegisteredWithDataSetOutput struct {
	Is    bool
	Error error
}

type NewDeduplicatorForDataSetInput added in v1.28.0

type NewDeduplicatorForDataSetInput struct {
	Logger      log.Logger
	DataSession storeDEPRECATED.DataSession
	DataSet     *upload.Upload
}

type NewDeduplicatorForDataSetOutput added in v1.28.0

type NewDeduplicatorForDataSetOutput struct {
	Deduplicator data.Deduplicator
	Error        error
}

type NewRegisteredDeduplicatorForDataSetInput added in v1.28.0

type NewRegisteredDeduplicatorForDataSetInput struct {
	Logger      log.Logger
	DataSession storeDEPRECATED.DataSession
	DataSet     *upload.Upload
}

type NewRegisteredDeduplicatorForDataSetOutput added in v1.28.0

type NewRegisteredDeduplicatorForDataSetOutput struct {
	Deduplicator data.Deduplicator
	Error        error
}

Jump to

Keyboard shortcuts

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