test

package
v1.20.0-dexcom-api.5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2017 License: BSD-3-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

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

func (f *Factory) CanDeduplicateDataset(dataset *upload.Upload) (bool, error)

func (*Factory) IsRegisteredWithDataset added in v1.5.0

func (f *Factory) IsRegisteredWithDataset(dataset *upload.Upload) (bool, error)

func (*Factory) NewDeduplicatorForDataset added in v1.5.0

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

func (*Factory) NewRegisteredDeduplicatorForDataset added in v1.5.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.5.0

type IsRegisteredWithDatasetOutput struct {
	Is    bool
	Error error
}

type NewDeduplicatorForDatasetInput added in v1.5.0

type NewDeduplicatorForDatasetInput struct {
	Logger      log.Logger
	DataSession storeDEPRECATED.DataSession
	Dataset     *upload.Upload
}

type NewDeduplicatorForDatasetOutput added in v1.5.0

type NewDeduplicatorForDatasetOutput struct {
	Deduplicator data.Deduplicator
	Error        error
}

type NewRegisteredDeduplicatorForDatasetInput added in v1.5.0

type NewRegisteredDeduplicatorForDatasetInput struct {
	Logger      log.Logger
	DataSession storeDEPRECATED.DataSession
	Dataset     *upload.Upload
}

type NewRegisteredDeduplicatorForDatasetOutput added in v1.5.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