Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dataset ¶
type Dataset struct { ID string TableConfig []TableConfig }
type DurationThreshold ¶
func (DurationThreshold) MarshalText ¶
func (d DurationThreshold) MarshalText() (text []byte, err error)
func (*DurationThreshold) UnmarshalText ¶
func (d *DurationThreshold) UnmarshalText(text []byte) error
type FreshnessResult ¶
func CheckFreshness ¶
func CheckFreshness(config Config, current time.Time, opts ...option.ClientOption) (oldTables []FreshnessResult, err error)
CheckFreshness returns old tables whose last modified time is oldeer than time threshold on the config file.
type TableConfig ¶
type TableConfig struct { Table string DateForShards string TimeThreshold *TimeThreshold DurationThreshold *DurationThreshold }
type TimeThreshold ¶
func (TimeThreshold) MarshalText ¶
func (t TimeThreshold) MarshalText() (text []byte, err error)
func (*TimeThreshold) UnmarshalText ¶
func (t *TimeThreshold) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.