Documentation ¶
Index ¶
Constants ¶
View Source
const ( UnknownCycleValidationStr = "unknown" ConsistentMetadataValidationStr = "consistent-metadata" UniqueTransactionIDValidationStr = "unique-transaction-id" SessionOnlineValidationStr = "session-online" SessionOfflineValidationStr = "session-offline" EventOrderValidationStr = "event-order" )
View Source
const ( UnknownEventValidationStr = "unknown" BootTimeValidationStr = "boot-time-validation" BirthdateValidationStr = "birthdate-validation" MinBootDurationValidationStr = "min-boot-duration" BirthdateAlignmentValidationStr = "birthdate-alignment" ValidEventTypeValidationStr = "valid-event-type" ConsistentDeviceIDValidationStr = "consistent-device-id" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CycleType ¶
type CycleType int
func ParseCycleType ¶
ParseCycleType returns the CycleType enum when given a string.
type CycleValidationType ¶
type CycleValidationType int
const ( UnknownCycleValidation CycleValidationType = iota ConsistentMetadataValidation UniqueTransactionIDValidation SessionOnlineValidation SessionOfflineValidation EventOrderValidation )
func (CycleValidationType) String ¶
func (v CycleValidationType) String() string
func (*CycleValidationType) UnmarshalText ¶
func (v *CycleValidationType) UnmarshalText(text []byte) error
type EventValidationType ¶
type EventValidationType int
const ( UnknownEventValidation EventValidationType = iota BootTimeValidation BirthdateValidation MinBootDurationValidation BirthdateAlignmentValidation ValidEventTypeValidation ConsistentDeviceIDValidation )
func (EventValidationType) String ¶
func (v EventValidationType) String() string
func (*EventValidationType) UnmarshalText ¶
func (v *EventValidationType) UnmarshalText(text []byte) error
type SessionType ¶
type SessionType int
SessionType is an enum to determine which session an event should be searched from
const ( Previous SessionType = iota Current )
func ParseSessionType ¶
func ParseSessionType(session string) SessionType
ParseSessionType returns the SessionType enum when given a string.
Click to show internal directories.
Click to hide internal directories.