Documentation ¶
Index ¶
- func CloneDeduplicatorDescriptor(datum *data.DeduplicatorDescriptor) *data.DeduplicatorDescriptor
- func CloneSelector(datum *data.Selector) *data.Selector
- func CloneSelectorOrigin(datum *data.SelectorOrigin) *data.SelectorOrigin
- func CloneSelectors(datum *data.Selectors) *data.Selectors
- func NewDeviceID() string
- func NewObjectFromDeduplicatorDescriptor(datum *data.DeduplicatorDescriptor, objectFormat test.ObjectFormat) map[string]interface{}
- func NewSessionToken() string
- func RandomDataSetUpdate() *data.DataSetUpdate
- func RandomDeduplicatorDescriptor() *data.DeduplicatorDescriptor
- func RandomID() string
- func RandomSelector() *data.Selector
- func RandomSelectorOrigin() *data.SelectorOrigin
- func RandomSelectors() *data.Selectors
- func RandomSetID() string
- func RandomSetIDs() []string
- func RandomTimeZoneOffset() int
- type Datum
- func (d *Datum) DeduplicatorDescriptor() *data.DeduplicatorDescriptor
- func (d *Datum) Expectations()
- func (d *Datum) GetOrigin() *origin.Origin
- func (d *Datum) GetPayload() *metadata.Metadata
- func (d *Datum) IdentityFields() ([]string, error)
- func (d *Datum) Meta() interface{}
- func (d *Datum) Normalize(normalizer data.Normalizer)
- func (d *Datum) Parse(parser structure.ObjectParser)
- func (d *Datum) SetActive(active bool)
- func (d *Datum) SetCreatedTime(createdTime *string)
- func (d *Datum) SetCreatedUserID(createdUserID *string)
- func (d *Datum) SetDataSetID(dataSetID *string)
- func (d *Datum) SetDeduplicatorDescriptor(deduplicatorDescriptor *data.DeduplicatorDescriptor)
- func (d *Datum) SetDeletedTime(deletedTime *string)
- func (d *Datum) SetDeletedUserID(deletedUserID *string)
- func (d *Datum) SetDeviceID(deviceID *string)
- func (d *Datum) SetModifiedTime(modifiedTime *string)
- func (d *Datum) SetModifiedUserID(modifiedUserID *string)
- func (d *Datum) SetUserID(userID *string)
- func (d *Datum) Validate(validator structure.Validator)
- type IdentityFieldsOutput
- type Normalizable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneDeduplicatorDescriptor ¶ added in v1.24.0
func CloneDeduplicatorDescriptor(datum *data.DeduplicatorDescriptor) *data.DeduplicatorDescriptor
func CloneSelectorOrigin ¶ added in v1.29.0
func CloneSelectorOrigin(datum *data.SelectorOrigin) *data.SelectorOrigin
func NewDeviceID ¶ added in v1.27.0
func NewDeviceID() string
func NewObjectFromDeduplicatorDescriptor ¶ added in v1.29.0
func NewObjectFromDeduplicatorDescriptor(datum *data.DeduplicatorDescriptor, objectFormat test.ObjectFormat) map[string]interface{}
func NewSessionToken ¶ added in v1.27.0
func NewSessionToken() string
func RandomDataSetUpdate ¶ added in v1.29.0
func RandomDataSetUpdate() *data.DataSetUpdate
func RandomDeduplicatorDescriptor ¶ added in v1.29.0
func RandomDeduplicatorDescriptor() *data.DeduplicatorDescriptor
func RandomSelector ¶ added in v1.29.0
func RandomSelectorOrigin ¶ added in v1.29.0
func RandomSelectorOrigin() *data.SelectorOrigin
func RandomSelectors ¶ added in v1.29.0
func RandomSetID ¶ added in v1.29.0
func RandomSetID() string
func RandomSetIDs ¶ added in v1.29.0
func RandomSetIDs() []string
func RandomTimeZoneOffset ¶ added in v1.29.0
func RandomTimeZoneOffset() int
Types ¶
type Datum ¶
type Datum struct { MetaInvocations int MetaOutputs []interface{} ParseInvocations int ParseInputs []structure.ObjectParser ValidateInvocations int ValidateInputs []structure.Validator NormalizeInvocations int NormalizeInputs []data.Normalizer IdentityFieldsInvocations int IdentityFieldsOutputs []IdentityFieldsOutput GetPayloadInvocations int GetPayloadOutputs []*metadata.Metadata GetOriginInvocations int GetOriginOutputs []*origin.Origin SetUserIDInvocations int SetUserIDInputs []*string SetDataSetIDInvocations int SetDataSetIDInputs []*string SetActiveInvocations int SetActiveInputs []bool SetDeviceIDInvocations int SetDeviceIDInputs []*string SetCreatedTimeInvocations int SetCreatedTimeInputs []*string SetCreatedUserIDInvocations int SetCreatedUserIDInputs []*string SetModifiedTimeInvocations int SetModifiedTimeInputs []*string SetModifiedUserIDInvocations int SetModifiedUserIDInputs []*string SetDeletedTimeInvocations int SetDeletedTimeInputs []*string SetDeletedUserIDInvocations int SetDeletedUserIDInputs []*string DeduplicatorDescriptorValue *data.DeduplicatorDescriptor DeduplicatorDescriptorInvocations int SetDeduplicatorDescriptorInvocations int }
func (*Datum) DeduplicatorDescriptor ¶
func (d *Datum) DeduplicatorDescriptor() *data.DeduplicatorDescriptor
func (*Datum) Expectations ¶ added in v1.20.0
func (d *Datum) Expectations()
func (*Datum) GetPayload ¶ added in v1.20.0
func (*Datum) IdentityFields ¶
func (*Datum) Normalize ¶
func (d *Datum) Normalize(normalizer data.Normalizer)
func (*Datum) Parse ¶
func (d *Datum) Parse(parser structure.ObjectParser)
func (*Datum) SetCreatedTime ¶
func (*Datum) SetCreatedUserID ¶
func (*Datum) SetDataSetID ¶ added in v1.28.0
func (*Datum) SetDeduplicatorDescriptor ¶
func (d *Datum) SetDeduplicatorDescriptor(deduplicatorDescriptor *data.DeduplicatorDescriptor)
func (*Datum) SetDeletedTime ¶
func (*Datum) SetDeletedUserID ¶
func (*Datum) SetDeviceID ¶ added in v1.20.0
func (*Datum) SetModifiedTime ¶
func (*Datum) SetModifiedUserID ¶
type IdentityFieldsOutput ¶
type Normalizable ¶ added in v1.24.0
type Normalizable struct { NormalizeInvocations int NormalizeInputs []data.Normalizer NormalizeStub func(normalizer data.Normalizer) }
func NewNormalizable ¶ added in v1.24.0
func NewNormalizable() *Normalizable
func (*Normalizable) Expectations ¶ added in v1.24.0
func (n *Normalizable) Expectations()
func (*Normalizable) Normalize ¶ added in v1.24.0
func (n *Normalizable) Normalize(normalizer data.Normalizer)
Click to show internal directories.
Click to hide internal directories.